summaryrefslogtreecommitdiffstats
path: root/modules-available/news/templates
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-04 15:01:59 +0200
committerSimon Rettberg2022-05-04 15:01:59 +0200
commit1426f2722871cb1c08084ee43f6edaeb7028578c (patch)
tree4ac9d657c6839d53393400673bc53a16f3d8105d /modules-available/news/templates
parent[locations/news] Add per-location news/help/loginscreentext (diff)
downloadslx-admin-1426f2722871cb1c08084ee43f6edaeb7028578c.tar.gz
slx-admin-1426f2722871cb1c08084ee43f6edaeb7028578c.tar.xz
slx-admin-1426f2722871cb1c08084ee43f6edaeb7028578c.zip
[news] List locations with overrides when editing global
Diffstat (limited to 'modules-available/news/templates')
-rw-r--r--modules-available/news/templates/page-news.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules-available/news/templates/page-news.html b/modules-available/news/templates/page-news.html
index aa5785da..5ace6e35 100644
--- a/modules-available/news/templates/page-news.html
+++ b/modules-available/news/templates/page-news.html
@@ -2,12 +2,24 @@
<p>{{lang_introText}}</p>
+{{#overridden.0}}
+ <div class="pull-right">
+ <h3>{{lang_overridenLocations}}</h3>
+ <ul>
+ {{#overridden}}
+ <li><a href="?do=news&amp;type={{type}}&amp;locationid={{locationid}}">{{locationname}}</a></li>
+ {{/overridden}}
+ </ul>
+ </div>
+{{/overridden.0}}
+
<h2>{{newsTypeName}}</h2>
{{#locationid}}
<h3>{{location_name}}</h3>
<div class="alert alert-info">{{lang_editingForLocation}}</div>
{{/locationid}}
+<div class="clearfix"></div>
<form action="?do=news" method="post">
<input type="hidden" name="token" value="{{token}}">