summaryrefslogtreecommitdiffstats
path: root/modules-available/locationinfo/templates/page-locations.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/locationinfo/templates/page-locations.html')
-rw-r--r--modules-available/locationinfo/templates/page-locations.html14
1 files changed, 9 insertions, 5 deletions
diff --git a/modules-available/locationinfo/templates/page-locations.html b/modules-available/locationinfo/templates/page-locations.html
index b30ef2ed..c79cdfe8 100644
--- a/modules-available/locationinfo/templates/page-locations.html
+++ b/modules-available/locationinfo/templates/page-locations.html
@@ -8,7 +8,7 @@
<th>{{lang_locationName}}</th>
<th>{{lang_backend}}</th>
<th>{{lang_lastCalendarUpdate}}</th>
- <th>{{lang_openingtimes}}</th>
+ <th class="text-center slx-smallcol">{{lang_openingtimes}}</th>
</tr>
</thead>
@@ -17,20 +17,24 @@
<tr>
<td>
<div style="display:inline-block;width:{{depth}}em"></div>
+ {{#allowed}}
<a href="#" class="loc-name {{^depth}}slx-bold{{/depth}}" data-locationid="{{locationid}}">
+ {{/allowed}}
{{locationname}}
+ {{#allowed}}
<span class="glyphicon glyphicon-edit"></span>
</a>
+ {{/allowed}}
</td>
<td {{#backendMissing}}class="text-danger"{{/backendMissing}}>
{{backend}}
</td>
- <td>
+ <td class="text-center">
{{#backend}}
{{lastCalendarUpdate}}
{{/backend}}
</td>
- <td>
+ <td class="text-center">
<span class="glyphicon glyphicon-{{openingGlyph}}"></span>
</td>
</tr>
@@ -49,8 +53,8 @@
<div class="modal-header"><h2 id="location-modal-header"></h2></div>
<div class="modal-body"></div>
<div class="modal-footer">
+ <a class="btn btn-default" data-dismiss="modal">{{lang_close}}</a>
<button type="submit" class="btn btn-primary">{{lang_save}}</button>
- <a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a>
</div>
</form>
</div>
@@ -103,4 +107,4 @@ document.addEventListener("DOMContentLoaded", function () {
$('#settings-form').submit(submitLocationSettings);
});
-//--></script> \ No newline at end of file
+//--></script>