diff options
author | Simon Rettberg | 2018-02-15 15:06:40 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-15 15:06:40 +0100 |
commit | 77d5885827f123745a0d304019bb6bd0952b45cd (patch) | |
tree | 1649d9d93b7374867bf6511f102d06ea1af9a1bf /modules-available/serversetup-bwlp/templates/ipaddress.html | |
parent | [locations] Update translations (diff) | |
download | slx-admin-77d5885827f123745a0d304019bb6bd0952b45cd.tar.gz slx-admin-77d5885827f123745a0d304019bb6bd0952b45cd.tar.xz slx-admin-77d5885827f123745a0d304019bb6bd0952b45cd.zip |
[serversetup-bwlp] Make use of new permission helpers
Diffstat (limited to 'modules-available/serversetup-bwlp/templates/ipaddress.html')
-rw-r--r-- | modules-available/serversetup-bwlp/templates/ipaddress.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp/templates/ipaddress.html b/modules-available/serversetup-bwlp/templates/ipaddress.html index e82253f5..8d73dfac 100644 --- a/modules-available/serversetup-bwlp/templates/ipaddress.html +++ b/modules-available/serversetup-bwlp/templates/ipaddress.html @@ -1,4 +1,4 @@ -<div class="panel panel-default {{^editAllowed}}disabledPanel{{/editAllowed}}"> +<div class="panel panel-default"> <div class="panel-heading"> {{lang_bootAddress}} </div> @@ -20,7 +20,10 @@ {{/default}} {{^default}} <td> - <button class="btn btn-primary btn-xs" name="ip" value="{{ip}}"><span class="glyphicon glyphicon-flag"></span> {{lang_set}}</button> + <button class="btn btn-primary btn-xs" name="ip" value="{{ip}}" {{perms.edit.address.disabled}}> + <span class="glyphicon glyphicon-flag"></span> + {{lang_set}} + </button> </td> {{/default}} </tr> |