summaryrefslogtreecommitdiffstats
path: root/templates/page-news.html
diff options
context:
space:
mode:
authorraul2014-06-13 21:36:02 +0200
committerraul2014-06-13 21:36:02 +0200
commit3ea6f0a6667122af7ad2980bc00bad841d28af17 (patch)
tree8ccfb2bdc9953a50d4815593ea09d513205629de /templates/page-news.html
parentDump current db scheme (diff)
downloadslx-admin-3ea6f0a6667122af7ad2980bc00bad841d28af17.tar.gz
slx-admin-3ea6f0a6667122af7ad2980bc00bad841d28af17.tar.xz
slx-admin-3ea6f0a6667122af7ad2980bc00bad841d28af17.zip
[i18n] add i18n support, WIP
Diffstat (limited to 'templates/page-news.html')
-rw-r--r--templates/page-news.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/page-news.html b/templates/page-news.html
index 798a9846..130ecf3d 100644
--- a/templates/page-news.html
+++ b/templates/page-news.html
@@ -2,20 +2,20 @@
<p>Hier haben Sie die Möglichkeit, die von bwLehrpool-Clients angezeigten News zu editieren.</p>
<div class="panel panel-default">
<div class="panel-heading">
- Aktive News
+ {{activeNews}}
</div>
<div class="panel-body">
<form action="?do=News&amp;action=save" method="post">
<div class="form-group">
- <label for="news-title-id">Titel</label>
- <input type="text" name="news-title" id ="news-title-id" class="form-control" placeholder="Willkommen!" value="{{latestTitle}}">
+ <label for="news-title-id">{{title}}</label>
+ <input type="text" name="news-title" id ="news-title-id" class="form-control" placeholder="{{welcome}}" value="{{latestTitle}}">
</div>
<div class="form-group">
- <label for="news-content-id">Inhalt</label>
- <textarea name="news-content" id ="news-content-id" class="form-control" rows="5" cols="30" placeholder="Willkommen beim bwLehrpool-System!">{{latestContent}}</textarea>
+ <label for="news-content-id">{{content}}</label>
+ <textarea name="news-content" id ="news-content-id" class="form-control" rows="5" cols="30" placeholder="">{{latestContent}}</textarea>
</div>
- <p>Letzte Aktualisierung: {{latestDate}}</p>
- <button class="btn btn-primary btn-sm" type="submit">Speichern</button>
+ <p>{{latestUpdate}}: {{latestDate}}</p>
+ <button class="btn btn-primary btn-sm" type="submit">{{save}}</button>
<input type="hidden" name="token" value="{{token}}">
</form>
</div>