Skip to content
Snippets Groups Projects
Commit dbde657c authored by Moritz Strohm's avatar Moritz Strohm Committed by Jan-Hendrik Willms
Browse files

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

Closes #3668

Merge request studip/studip!2715
parent 4318cd84
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.
Finish editing this message first!
Please register or to comment