diff options
| author | Moritz Strohm <strohm@data-quest.de> | 2024-03-25 08:40:23 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-03-25 08:40:23 +0000 |
| commit | dbde657cb47ea30cdfe05abfc52a411b54c05643 (patch) | |
| tree | 984c930a4d9e5f51c99eec95fa25b57ddedc70e5 /app/views | |
| parent | 4318cd84f9fb2f82efdf7415987a9a9d10b149bd (diff) | |
wiki page editing: keep save-button always active, fixes #3668
Closes #3668
Merge request studip/studip!2715
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/course/wiki/edit.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/app/views/course/wiki/edit.php b/app/views/course/wiki/edit.php index 7a349bb..df126a4 100644 --- a/app/views/course/wiki/edit.php +++ b/app/views/course/wiki/edit.php @@ -25,11 +25,15 @@ <div></div> <label> <input type="checkbox" v-model="autosave"> - <?= _('Autosave aktiv') ?> + <?= _('Automatisches Speichern aktivieren.') ?> </label> + <div> + <?= _('Zuletzt gespeichert') .': ' ?> + <studip-date-time :timestamp="Math.floor(lastSaveDate / 1000)" :relative="true"></studip-date-time> + </div> <div data-dialog-button=""> - <button class="button" :disabled="!isChanged" :title="isChanged ? '<?= _('Speichern Sie den aktuellen Stand.') ?>' : '<?= _('Der aktuelle Stand ist schon gespeichert.') ?>'"> + <button class="button" :title="isChanged ? '<?= _('Den aktuellen Stand speichern.') ?>' : '<?= _('Der aktuelle Stand wurde bereits gespeichert.') ?>'"> <?= _('Speichern') ?> </button> <?= \Studip\LinkButton::create(_('Verlassen'), $controller->leave_editing($page))?> |
