Intègre le niveau de l'app dans la doc

This commit is contained in:
Maniack Crudelis 2017-01-12 13:09:23 +01:00 committed by GitHub
parent 9a1b2c79e7
commit 45be9db603

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>