Merge pull request #433 from YunoHost/level_app_list_doc

Intègre le niveau de l'app dans la doc
This commit is contained in:
Laurent Peuch 2017-01-31 00:08:47 +01:00 committed by GitHub
commit d2ad4b1215
2 changed files with 6 additions and 2 deletions

View file

@ -28,6 +28,7 @@
<div class="panel-body">
<p><strong>Description</strong>: {app_description}</p>
<p><strong>Last update (UTC)</strong>: {app_update}</p>
<p><strong>Level</strong>: {app_level}</p>
<p><strong>Maintainer</strong>: {app_maintainer} <small class="text-muted">({app_mail})</small></p>
<p><strong>Git repository</strong>: <a href="{app_git}" target="_blank">{app_git}</a> <small class="text-muted">({app_branch})</small></p>
<a href="#/app_{app_id}" target="_blank" class="btn btn-default">Documentation</a>
@ -70,6 +71,7 @@ $(document).ready(function () {
.replace('{app_description}', infos.manifest.description.en)
.replace(/{app_git}/g, infos.git.url)
.replace('{app_branch}', infos.git.branch)
.replace('{app_level}', infos.git.level)
.replace('{app_update}', timeConverter(infos.lastUpdate));
if (infos.manifest.developer) {
@ -89,4 +91,4 @@ $(document).ready(function () {
});
});
});
</script>
</script>

View file

@ -28,6 +28,7 @@
<div class="panel-body">
<p><strong>Description</strong> : {app_description}</p>
<p><strong>Dernière mise à jour (UTC)</strong> : {app_update}</p>
<p><strong>Niveau</strong>: {app_level}</p>
<p><strong>Mainteneur</strong> : {app_maintainer} <small class="text-muted">({app_mail})</small></p>
<p><strong>Dépôt git</strong> : <a href="{app_git}" target="_blank">{app_git}</a> <small class="text-muted">({app_branch})</small></p>
<a href="#/app_{app_id}_fr" target="_blank" class="btn btn-default">Documentation</a>
@ -73,6 +74,7 @@ $(document).ready(function () {
.replace('{app_description}', infos.manifest.description.fr)
.replace(/{app_git}/g, infos.git.url)
.replace('{app_branch}', infos.git.branch)
.replace('{app_level}', infos.git.level)
.replace('{app_update}', timeConverter(infos.lastUpdate));
if (infos.manifest.developer) {
@ -92,4 +94,4 @@ $(document).ready(function () {
});
});
});
</script>
</script>