From 3d0cb99c70dd9714655cf26893504e4bd007b036 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Fri, 24 Jun 2016 17:08:24 +0200 Subject: [locations] Support CIDR notion (start field), tweak templates a bit --- .../locations/templates/location-subnets.html | 34 ++++++++++++---------- 1 file changed, 19 insertions(+), 15 deletions(-) (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 b0353416..23035002 100644 --- a/modules-available/locations/templates/location-subnets.html +++ b/modules-available/locations/templates/location-subnets.html @@ -43,31 +43,35 @@ {{#list}} - + {{subnetid}} - - + + {{/list}} - + - - - +
+
+ +
+
{{lang_locationInfo}}
+ {{#haveDozmod}} +
+ {{lang_referencingLectures}}: {{lectures}} +
+ {{/haveDozmod}} + {{#haveStatistics}} +
+ {{lang_matchingMachines}}: {{machines}} / {{machines_online}} / {{machines_used}} ({{used_percent}}%) +
+ {{/haveStatistics}} -
-
{{lang_locationInfo}}
-
- {{lang_referencingLectures}}: {{lectures}} -
-
- {{lang_matchingMachines}}: {{machines}} / {{machines_online}} / {{machines_used}} ({{used_percent}}%) -
\ No newline at end of file -- cgit v1.2.3-55-g7522