diff options
author | Christian Hofmaier | 2017-11-21 17:28:34 +0100 |
---|---|---|
committer | Christian Hofmaier | 2017-11-21 17:28:34 +0100 |
commit | dfca01bd4444478a9fa5a4f9778ee56b932f0e5c (patch) | |
tree | 2b4335371097901e803d0de6f9d13a446521a20c /modules-available/internetaccess/templates | |
parent | [news] reworked permission system from "click and you get error" to "button i... (diff) | |
download | slx-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.html | 2 |
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> |