mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Intègre le niveau de l'app dans la doc
This commit is contained in:
parent
9a1b2c79e7
commit
45be9db603
1 changed files with 3 additions and 1 deletions
4
apps.md
4
apps.md
|
@ -28,6 +28,7 @@
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<p><strong>Description</strong>: {app_description}</p>
|
<p><strong>Description</strong>: {app_description}</p>
|
||||||
<p><strong>Last update (UTC)</strong>: {app_update}</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>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>
|
<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>
|
<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_description}', infos.manifest.description.en)
|
||||||
.replace(/{app_git}/g, infos.git.url)
|
.replace(/{app_git}/g, infos.git.url)
|
||||||
.replace('{app_branch}', infos.git.branch)
|
.replace('{app_branch}', infos.git.branch)
|
||||||
|
.replace('{app_level}', infos.git.level)
|
||||||
.replace('{app_update}', timeConverter(infos.lastUpdate));
|
.replace('{app_update}', timeConverter(infos.lastUpdate));
|
||||||
|
|
||||||
if (infos.manifest.developer) {
|
if (infos.manifest.developer) {
|
||||||
|
@ -89,4 +91,4 @@ $(document).ready(function () {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue