Skip to content

Commit

Permalink
check for wiki issue
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelfolaron committed Aug 29, 2024
1 parent ef7720d commit 0ad3069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Domain/Wiki/Templates/show.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function createTreeView($array, $currentParent, int $currLevel = 0, int $prevLev
<span class="dropdown dropdownWrapper headerEditDropdown">
<a href="javascript:void(0)" class="dropdown-toggle btn btn-transparent" data-toggle="dropdown"><i class="fa-solid fa-ellipsis-v"></i></a>
<ul class="dropdown-menu editCanvasDropdown">
<?php if ($login::userIsAtLeast($roles::$editor)) { ?>
<?php if ($login::userIsAtLeast($roles::$editor) && $currentWiki) { ?>
<li><a class="inlineEdit" href="#/wiki/wikiModal/<?=$currentWiki->id ?>"><?=$tpl->__("link.edit_wiki") ?></a></li>
<li><a class="delete" href="#/wiki/delWiki/<?php echo $currentWiki->id; ?>" ><i class="fa fa-trash"></i> <?=$tpl->__('links.delete_wiki') ?></a></li>

Expand Down

0 comments on commit 0ad3069

Please sign in to comment.