fix(wiki): Speichern-Button für Betriebsrat-Wiki-Nutzer sichtbar machen
Copy-paste-Fehler: Berechtigung wurde doppelt gegen r-wiki geprüft statt gegen r-wiki-br, wodurch BR-Nutzer den Speichern-Button nie sahen. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
|
||||
<!-- Right column: Sidebar with save button and meta fields -->
|
||||
<div class="edit-sidebar">
|
||||
<?php if (get_permission_state('r-wiki', $GLOBALS['main_contact']['master_mandant_id'], $GLOBALS['main_contact']['id']) == 1 || get_permission_state('r-wiki', $GLOBALS['main_contact']['master_mandant_id'], $GLOBALS['main_contact']['id']) == 1) { ?>
|
||||
<?php if ($canEditPost ?? false) { ?>
|
||||
<span title="<?= $translation->get("save") ?>" id="saveVersionBtn" class="post-action-btn-text green">
|
||||
<?= $translation->get("save") ?>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user