[enh] display service description

This commit is contained in:
Laurent Peuch 2018-05-17 05:08:41 +02:00
parent 3f7117cd60
commit 32b4312078
3 changed files with 3 additions and 2 deletions

View file

@ -110,4 +110,4 @@
); );
}); });
})(); })();

View file

@ -248,6 +248,7 @@
"running": "Running", "running": "Running",
"save": "Save", "save": "Save",
"select_user": "Select user", "select_user": "Select user",
"service_description": "Description:",
"service_log": "%s log", "service_log": "%s log",
"service_start_on_boot": "Start on boot: ", "service_start_on_boot": "Start on boot: ",
"service_status": "Status: ", "service_status": "Status: ",

View file

@ -9,7 +9,7 @@
{{#services}} {{#services}}
<a href="#/services/{{name}}" class="list-group-item slide service-{{name}}"> <a href="#/services/{{name}}" class="list-group-item slide service-{{name}}">
<span class="fa-chevron-right pull-right"></span> <span class="fa-chevron-right pull-right"></span>
<h2 class="list-group-item-heading">{{name}}</h2> <h2 class="list-group-item-heading">{{name}} <small>{{description}}</small></h2>
<div class="list-group-item-text"> <div class="list-group-item-text">
{{t 'service_status'}} {{t 'service_status'}}
<span class="text-{{#is_running}}success{{/is_running}}{{^is_running}}danger{{/is_running}}"> <span class="text-{{#is_running}}success{{/is_running}}{{^is_running}}danger{{/is_running}}">