summaryrefslogtreecommitdiffstats
path: root/modules-available/backup/templates/_page.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-14 15:22:20 +0100
committerSimon Rettberg2017-11-14 15:22:20 +0100
commit0069cd4feef49116af7819fcfc7fbc4aae9628f0 (patch)
treeaa6aabad821afa12cdfe8d32de8f709f0fc3ff0b /modules-available/backup/templates/_page.html
parent[exams/roomplanner] Smarter coordination of run mode (exam mode on/off etc) (diff)
downloadslx-admin-0069cd4feef49116af7819fcfc7fbc4aae9628f0.tar.gz
slx-admin-0069cd4feef49116af7819fcfc7fbc4aae9628f0.tar.xz
slx-admin-0069cd4feef49116af7819fcfc7fbc4aae9628f0.zip
[backup] Show warning on main page when last backup was more than 30 days ago
Diffstat (limited to 'modules-available/backup/templates/_page.html')
-rw-r--r--modules-available/backup/templates/_page.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules-available/backup/templates/_page.html b/modules-available/backup/templates/_page.html
index 47b5a174..0f609f1d 100644
--- a/modules-available/backup/templates/_page.html
+++ b/modules-available/backup/templates/_page.html
@@ -8,6 +8,11 @@
<div class="panel-body">
<p>{{lang_backupDescription}}</p>
<button class="btn btn-primary" type="submit">{{lang_download}}</button>
+ <div class="text-right">
+ {{lang_lastBackup}}:
+ {{^last_backup}}{{lang_unknown}}{{/last_backup}}
+ {{last_backup}}
+ </div>
</div>
</div>
</form>