mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
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:
commit
d2ad4b1215
2 changed files with 6 additions and 2 deletions
4
apps.md
4
apps.md
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue