From afee61496e9fa59d9e024339530b38c6652bba59 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 28 Mar 2018 14:55:54 +0200 Subject: [locations] Handle statistics permissions when showing/linking machine stats --- modules-available/locations/templates/location-subnets.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'modules-available/locations/templates/location-subnets.html') diff --git a/modules-available/locations/templates/location-subnets.html b/modules-available/locations/templates/location-subnets.html index db94be0a..69e369c2 100644 --- a/modules-available/locations/templates/location-subnets.html +++ b/modules-available/locations/templates/location-subnets.html @@ -69,7 +69,14 @@ {{/haveDozmod}} {{#haveStatistics}}
- {{lang_matchingMachines}}: {{machines}} / {{machines_online}} / {{machines_used}} ({{used_percent}}%) + {{lang_matchingMachines}}: + {{#statsLink}} + + {{/statsLink}} + {{machines}} / {{machines_online}} / {{machines_used}} ({{used_percent}}%) + {{#statsLink}} + + {{/statsLink}}
{{/haveStatistics}} -- cgit v1.2.3-55-g7522