diff options
author | Simon Rettberg | 2018-03-04 16:42:05 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-03-04 16:42:05 +0100 |
commit | aadf3feb7b8090796a4dd083c90a5bc4893c8faf (patch) | |
tree | 515e141009a855d76011e315b2f832c51adc0409 /modules-available/statistics/templates/machine-notes.html | |
parent | [sysconfig] Add permissions (diff) | |
download | slx-admin-aadf3feb7b8090796a4dd083c90a5bc4893c8faf.tar.gz slx-admin-aadf3feb7b8090796a4dd083c90a5bc4893c8faf.tar.xz slx-admin-aadf3feb7b8090796a4dd083c90a5bc4893c8faf.zip |
[statistics] Refine permissions, add some new ones
Diffstat (limited to 'modules-available/statistics/templates/machine-notes.html')
-rw-r--r-- | modules-available/statistics/templates/machine-notes.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/machine-notes.html b/modules-available/statistics/templates/machine-notes.html index 66e44da4..c352580f 100644 --- a/modules-available/statistics/templates/machine-notes.html +++ b/modules-available/statistics/templates/machine-notes.html @@ -8,9 +8,12 @@ <input type="hidden" name="token" value="{{token}}"> <input type="hidden" name="action" value="setnotes"> <input type="hidden" name="uuid" value="{{machineuuid}}"> - <textarea name="content" class="form-control" cols="101" rows="10" {{^notesAllowed}}disabled{{/notesAllowed}}>{{notes}}</textarea> + <textarea name="content" class="form-control" cols="101" rows="10" {{perms.machine.note.edit.disabled}}>{{notes}}</textarea> <br/> - <button type="submit" class="btn btn-primary pull-right" {{^notesAllowed}}disabled{{/notesAllowed}}><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button> + <button type="submit" class="btn btn-primary pull-right" {{perms.machine.note.edit.disabled}}> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> </form> </div> </div> |