summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/machine-notes.html
diff options
context:
space:
mode:
authorUdo Walter2017-12-28 21:12:08 +0100
committerUdo Walter2017-12-28 21:12:08 +0100
commitbf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc (patch)
treef189e5299e5be14717c08b9f244100e0a7bc6a4f /modules-available/statistics/templates/machine-notes.html
parent[eventlog] added permission to view the log (diff)
downloadslx-admin-bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc.tar.gz
slx-admin-bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc.tar.xz
slx-admin-bf3ea5f9ffe8c0f34744b858dd0a294bbf091ddc.zip
[statistics] added permissions to view client statistics, delete clients and edit notes of clients
Diffstat (limited to 'modules-available/statistics/templates/machine-notes.html')
-rw-r--r--modules-available/statistics/templates/machine-notes.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics/templates/machine-notes.html b/modules-available/statistics/templates/machine-notes.html
index 22ed96e9..66e44da4 100644
--- a/modules-available/statistics/templates/machine-notes.html
+++ b/modules-available/statistics/templates/machine-notes.html
@@ -8,9 +8,9 @@
<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">{{notes}}</textarea>
+ <textarea name="content" class="form-control" cols="101" rows="10" {{^notesAllowed}}disabled{{/notesAllowed}}>{{notes}}</textarea>
<br/>
- <button type="submit" class="btn btn-primary pull-right"><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
+ <button type="submit" class="btn btn-primary pull-right" {{^notesAllowed}}disabled{{/notesAllowed}}><span class="glyphicon glyphicon-floppy-disk"></span> {{lang_save}}</button>
</form>
</div>
</div>