mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
Update apps.md
This commit is contained in:
parent
ceb7b9d1e6
commit
62fe3e71b1
1 changed files with 7 additions and 1 deletions
8
apps.md
8
apps.md
|
@ -2,6 +2,10 @@
|
|||
|
||||
<a class="btn btn-lg btn-default disabled" href="/apps_en">Official apps</a> <a class="btn btn-lg btn-default" href="/apps_in_progress_en">Apps in progress</a> <a class="btn btn-lg btn-default" href="/apps_wishlist_en">Apps wishlist</a>
|
||||
|
||||
<div class="clearfix" style="margin-bottom: 1em;">
|
||||
<div class="btn btn-default btn-xs pull-right" data-toggle="collapse" data-target="#app-accordion .collapse">View all</div>
|
||||
</div>
|
||||
|
||||
<div class="panel-group" id="app-accordion"></div>
|
||||
|
||||
<script type="text/template" id="app-template">
|
||||
|
@ -17,6 +21,7 @@
|
|||
<p><strong>Last update (UTC)</strong>: {app_update}</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>App license</strong>: {app_license}</p>
|
||||
<a href="#/app_{app_id}" target="_blank" class="btn btn-default">Documentation</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -55,7 +60,8 @@ $(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_update}', timeConverter(infos.lastUpdate));
|
||||
.replace('{app_update}', timeConverter(infos.lastUpdate))
|
||||
.replace('{app_license}', infos.manifest.license);
|
||||
|
||||
if (infos.manifest.developer) {
|
||||
html = html
|
||||
|
|
Loading…
Reference in a new issue