Skip to content
Snippets Groups Projects
Commit 23fd4173 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

wiki page editing: keep save-button always active, fixes #3668

Closes #3668

Merge request studip/studip!2715


(cherry picked from commit dbde657c)

ecf570af wiki page editing: keep save-button always active
aa4df804 show "last saved" information below autosave checkbox
e96e68b7 reverted to the double title state of the "save" button
parent 6bd4cb64
No related branches found
No related tags found
No related merge requests found
......@@ -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))?>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment