diff options
author | Simon Rettberg | 2019-11-06 15:40:53 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-11-06 15:40:53 +0100 |
commit | 9e91718bb5a74cde2d6f95ff01c831eba30d6475 (patch) | |
tree | b59adea33708973c2c4665fac319ea6ad013029a /modules-available/locations/templates/locations.html | |
parent | [baseconfig] Overhaul hook system (diff) | |
download | slx-admin-9e91718bb5a74cde2d6f95ff01c831eba30d6475.tar.gz slx-admin-9e91718bb5a74cde2d6f95ff01c831eba30d6475.tar.xz slx-admin-9e91718bb5a74cde2d6f95ff01c831eba30d6475.zip |
[locations] Show number of machines with configvar overrides
Diffstat (limited to 'modules-available/locations/templates/locations.html')
-rw-r--r-- | modules-available/locations/templates/locations.html | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/modules-available/locations/templates/locations.html b/modules-available/locations/templates/locations.html index a63e3b8c..f30ebcab 100644 --- a/modules-available/locations/templates/locations.html +++ b/modules-available/locations/templates/locations.html @@ -82,8 +82,16 @@ <a class="btn btn-default btn-xs" href="?do=baseconfig&module=locations&locationid={{locationid}}"><span class="glyphicon glyphicon-edit"></span></a> </div> {{#overriddenVars}} - {{lang_overrideCount}}: {{overriddenVars}}   + <span class="badge" title="{{lang_overridenVarsForLocation}}"> + <span class="glyphicon glyphicon-home"></span> {{.}} + </span> {{/overriddenVars}} + {{#machineVarsOverrideCount}} + <span class="badge" title="{{lang_numMachinesWithOverrides}}"> + <span class="glyphicon glyphicon-tasks"></span> {{.}} + </span> + {{/machineVarsOverrideCount}} +    {{/havebaseconfig}} </td> <td class="text-nowrap"> @@ -120,7 +128,13 @@ <td class="text-nowrap" align="right"> {{unassignedLoad}} </td> - <td></td> + <td> + {{#unassignedOverrides}} + <span class="badge" title="{{lang_numMachinesWithOverrides}}"> + <span class="glyphicon glyphicon-tasks"></span> {{.}} + </span> + {{/unassignedOverrides}} + </td> <td>{{defaultConfig}}</td> </tr> {{/unassignedCount}} |