summaryrefslogtreecommitdiffstats
path: root/modules-available/internetaccess/templates
diff options
context:
space:
mode:
authorChristian Hofmaier2017-11-21 17:28:34 +0100
committerChristian Hofmaier2017-11-21 17:28:34 +0100
commitdfca01bd4444478a9fa5a4f9778ee56b932f0e5c (patch)
tree2b4335371097901e803d0de6f9d13a446521a20c /modules-available/internetaccess/templates
parent[news] reworked permission system from "click and you get error" to "button i... (diff)
downloadslx-admin-dfca01bd4444478a9fa5a4f9778ee56b932f0e5c.tar.gz
slx-admin-dfca01bd4444478a9fa5a4f9778ee56b932f0e5c.tar.xz
slx-admin-dfca01bd4444478a9fa5a4f9778ee56b932f0e5c.zip
[internetaccess] reworked permission system from "click and you get error" to "button is disabled due to lack of permission"
Diffstat (limited to 'modules-available/internetaccess/templates')
-rw-r--r--modules-available/internetaccess/templates/_page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/internetaccess/templates/_page.html b/modules-available/internetaccess/templates/_page.html
index d363561e..1413e280 100644
--- a/modules-available/internetaccess/templates/_page.html
+++ b/modules-available/internetaccess/templates/_page.html
@@ -33,6 +33,6 @@
</div>
<br/>
<div class="text-right">
- <button class="btn btn-primary" type="submit"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
+ <button {{^allowedSave}}disabled{{/allowedSave}} class="btn btn-primary" type="submit"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
</div>
</form>