Add a discover widget

Add a small widget linking to the YunoHost website for people who do not
know YunoHost
This commit is contained in:
scith 2017-01-20 14:05:32 +01:00
parent 115b79e025
commit 1a7f88a876
3 changed files with 16 additions and 4 deletions

View file

@ -84,7 +84,7 @@ if(isset($_POST['server']) AND !empty($_POST['server']) AND $app_status == 'offi
</head>
<body>
<h1 id="logo" class="logo">
<img src="logo-ynh-white.svg"/>
<img src="assets/img/logo-ynh-white.svg"/><span class="element-invisible">Yunohost</span>
</h1>
<div class="overlay">
@ -152,8 +152,14 @@ else {
}
?>
<div class="wrapper messages success">
<h3><?php echo $locale['noserver']; ?></h3>
<p><?php echo $locale['yunohost']; ?></p>
<p><a href="https://yunohost.org/#/" title="<?php echo $locale['discover']; ?>" class="btn link-btn"><?php echo $locale['discover']; ?></a></p>
</div>
</div>
<!-- Scripts -->
<script src="assets/js/global.js"></script>
</body>

View file

@ -8,5 +8,8 @@
"app_notfound": "This application is neither officially nor community maintained.",
"working": "working",
"inprogress": "in progress",
"notworking": "not working"
"notworking": "not working",
"noserver": "No YunoHost server yet?",
"yunohost": "YunoHost is a server operating system aiming to make self-hosting accessible to everyone.",
"discover": "Discover YunoHost"
}

View file

@ -8,5 +8,8 @@
"app_notfound": "Cette application n'est maintenue ni officiellemment, ni par la communauté.",
"working": "fonctionnel",
"inprogress": "non fonctionnel",
"notworking": "en cours de développement"
"notworking": "en cours de développement",
"noserver": "Pas encore de serveur YunoHost ?",
"yunohost": "YunoHost est un outil qui vous permet dinstaller et dutiliser facilement votre propre serveur.",
"discover": "Découvrez YunoHost"
}