summaryrefslogtreecommitdiffstats
path: root/modules-available/news/templates
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-03 17:36:29 +0200
committerSimon Rettberg2022-05-03 17:36:29 +0200
commitb155c8167ddd5562f30fcfadd9eeb60d80e2619e (patch)
treecfbb0fda2f4aeadc24a0cbb010f975e3c10ee779 /modules-available/news/templates
parent[eventlog] Add de translations (diff)
downloadslx-admin-b155c8167ddd5562f30fcfadd9eeb60d80e2619e.tar.gz
slx-admin-b155c8167ddd5562f30fcfadd9eeb60d80e2619e.tar.xz
slx-admin-b155c8167ddd5562f30fcfadd9eeb60d80e2619e.zip
[locations/news] Add per-location news/help/loginscreentext
Diffstat (limited to 'modules-available/news/templates')
-rw-r--r--modules-available/news/templates/page-news.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules-available/news/templates/page-news.html b/modules-available/news/templates/page-news.html
index 1c944cb8..aa5785da 100644
--- a/modules-available/news/templates/page-news.html
+++ b/modules-available/news/templates/page-news.html
@@ -4,10 +4,16 @@
<h2>{{newsTypeName}}</h2>
+{{#locationid}}
+ <h3>{{location_name}}</h3>
+ <div class="alert alert-info">{{lang_editingForLocation}}</div>
+{{/locationid}}
+
<form action="?do=news" method="post">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="type" value="{{type}}">
<input type="hidden" name="action" value="save">
+ <input type="hidden" name="locationid" value="{{locationid}}">
{{#withTitle}}
<div class="form-group">
<label for="news-title-id">{{lang_title}}</label>