do not show edit tab in the wiki page unless you can edit it
This commit is contained in:
parent
f228561aa9
commit
241dcf7e8b
5 changed files with 103 additions and 0 deletions
|
|
@ -346,6 +346,7 @@ sub view {
|
|||
editContent => $self->getEditForm,
|
||||
allowsAttachments => $self->getWiki->get("allowAttachments"),
|
||||
comments => $self->getFormattedComments(),
|
||||
canEdit => $self->canEdit,
|
||||
content => $self->getWiki->autolinkHtml(
|
||||
$self->scrubContent,
|
||||
{skipTitles => [$self->get('title')]},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue