Added canEdit template variable for events.
This commit is contained in:
parent
c4384bd8f8
commit
2b84211088
3 changed files with 9 additions and 0 deletions
|
|
@ -1160,6 +1160,7 @@ sub getTemplateVars {
|
|||
my %var;
|
||||
|
||||
# Some miscellaneous stuff
|
||||
$var{'canEdit'} = $self->canEdit;
|
||||
$var{"isPublic"} = 1
|
||||
if $self->get("groupIdView") eq "7";
|
||||
$var{"groupToView"} = $self->get("groupIdView"); # Todo: Remove this?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue