mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Remove 'version' entry in tools list, as 'Diagnosis' already contains it
This commit is contained in:
parent
c6c226aa24
commit
c8ead748ee
3 changed files with 0 additions and 33 deletions
|
@ -208,13 +208,6 @@
|
|||
|
||||
});
|
||||
|
||||
// Packages version
|
||||
app.get('#/tools/versions', function (c) {
|
||||
c.api('/diagnosis', function(diagnosis) {
|
||||
c.view('tools/tools_versions', {'versions' : diagnosis.packages });
|
||||
});
|
||||
});
|
||||
|
||||
// Reboot or shutdown button
|
||||
app.get('#/tools/reboot', function (c) {
|
||||
c.view('tools/tools_reboot');
|
||||
|
|
|
@ -43,8 +43,4 @@
|
|||
<span class="pull-right fa-chevron-right"></span>
|
||||
<h2 class="list-group-item-heading">{{t 'tools_shutdown_reboot'}}</h2>
|
||||
</a>
|
||||
<a href="#/tools/versions" class="list-group-item slide clearfix">
|
||||
<span class="pull-right fa-chevron-right"></span>
|
||||
<h2 class="list-group-item-heading">{{t 'versions'}}</h2>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
@ -1,22 +0,0 @@
|
|||
<div class="btn-breadcrumb">
|
||||
<a href="#/" ><i class="fa-home"></i><span class="sr-only">{{t 'home'}}</span></a>
|
||||
<a href="#/tools">{{t 'tools'}}</a>
|
||||
<a href="#/tools/versions">{{t 'versions'}}</a>
|
||||
</div>
|
||||
|
||||
<div class="separator"></div>
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h2 class="panel-title"><span class="fa-fw fa-cogs"></span> {{t 'versions'}}</h2>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<dl class="dl-horizontal">
|
||||
{{#each versions}}
|
||||
<dt>{{@key}}</dt>
|
||||
<dd>{{version}} ({{repo}})</dd>
|
||||
{{/each}}
|
||||
</dl>
|
||||
<a role="button" href="#/update" class="btn btn-success pull-right">{{t 'system_update'}}</a>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue