summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/location-info.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/templates/location-info.html')
-rw-r--r--modules-available/locationinfo/templates/location-info.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locationinfo/templates/location-info.html b/modules-available/locationinfo/templates/location-info.html
index c7db6c66..65a7a0dc 100644
--- a/modules-available/locationinfo/templates/location-info.html
+++ b/modules-available/locationinfo/templates/location-info.html
@@ -37,7 +37,7 @@
</td>
<td align="center" id="credentials-{{id}}" onclick="event.cancelBubble = true;">
- <button class="btn btn-sm btn-primary" id="credentials-btn-{{id}}" type="button" title="credentials" onclick="loadCredentialModal({{id}},'{{name}}');" id="credentials">{{lang_credentials}}</button>
+ <button {{#auth}}class="btn btn-sm btn-success"{{/auth}}{{^auth}}class="btn btn-sm btn-danger"{{/auth}} id="credentials-btn-{{id}}" type="button" title="credentials" onclick="loadCredentialModal({{id}},'{{name}}');" id="credentials">{{lang_credentials}}</button>
</td>
<td align="center" id="btncell-{{id}}">
<button class="btn btn-sm btn-primary table-edit" title="{{lang_edit}}" onclick="editButtonClick({{id}});" id="edit">&#x270E</button>