summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/templates
diff options
context:
space:
mode:
authorSimon Rettberg2023-12-14 17:55:32 +0100
committerSimon Rettberg2023-12-14 17:55:32 +0100
commit88d87eb34ef69725215df162e245bfb38743bcd0 (patch)
treef47df8fddf64247b8682d2ee7f2a42e185c48b20 /modules-available/rebootcontrol/templates
parent[statistics] Sanitize live values from client (diff)
downloadslx-admin-88d87eb34ef69725215df162e245bfb38743bcd0.tar.gz
slx-admin-88d87eb34ef69725215df162e245bfb38743bcd0.tar.xz
slx-admin-88d87eb34ef69725215df162e245bfb38743bcd0.zip
[rebootcontrol] Hide client2client subnets in details view if disabled
Diffstat (limited to 'modules-available/rebootcontrol/templates')
-rw-r--r--modules-available/rebootcontrol/templates/subnet-edit.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/rebootcontrol/templates/subnet-edit.html b/modules-available/rebootcontrol/templates/subnet-edit.html
index 5a6adf3c..570865c7 100644
--- a/modules-available/rebootcontrol/templates/subnet-edit.html
+++ b/modules-available/rebootcontrol/templates/subnet-edit.html
@@ -39,12 +39,14 @@
</div>
{{/jumpHosts}}
</div>
+ {{#showC2C}}
<div class="list-group-item">
<label>{{lang_reachableFrom}}</label>
{{#sourceNets}}
<div>{{cidr}}</div>
{{/sourceNets}}
</div>
+ {{/showC2C}}
</div>
<div class="panel-footer text-right">
<button type="submit" class="btn btn-danger" name="action" value="delete"