[Rt-commit] rt branch, 5.0/hide-pencil-button-if-no-rights, repushed
Michel Rodriguez
michel at bestpractical.com
Wed Apr 8 09:10:45 EDT 2020
The branch 5.0/hide-pencil-button-if-no-rights was deleted and repushed:
was 17ff02d4b9b1f1db142dc193b5aed7e19a02a262
now eaf5bdb2a5d8e1a9ac0319631d10b6f3ded0d035
1: 698258c750 = 1: 698258c750 Bug fix: use the right CurrentUserCanSetOwner return value.
2: 17ff02d4b9 ! 2: eaf5bdb2a5 Hide the pencil icon if the user doesn't have the rights.
@@ -17,13 +17,6 @@
my $modify_behavior = $InlineEdit ? ($inline_edit_behavior{Basics} || $inline_edit_behavior{_default} || 'link') : 'hide';
</%PERL>
- <&| /Widgets/TitleBox, title => loc('The Basics'),
- (($can_modify || $can_modify_cf) ? (title_href => $modify_url) : ()),
-- ($modify_behavior =~ /^(link|click)$/ ? (titleright_raw => $modify_basics) : ()),
-+ ( $modify_basics ? ( titleright_raw => $modify_basics ) : ()),
- class => (join " ", 'ticket-info-basics', ($modify_behavior eq 'always' ? 'editing' : ())),
- data => { 'inline-edit-behavior' => $modify_behavior },
- &>
@@
<& /Elements/ShowCustomFieldCustomGroupings,
Object => $Ticket,
More information about the rt-commit
mailing list