rfe: protected profile fields do not show a delete icon
This commit is contained in:
parent
ef120fb06b
commit
65c5fb2de5
2 changed files with 3 additions and 1 deletions
|
|
@ -67,6 +67,7 @@
|
|||
- rfe: Add template variables for every property of all assets referenced in the Navigation.
|
||||
- rfe: VIM perl mode for skeletons
|
||||
- rfe: Add edit button to Manage Revisions page
|
||||
- rfe: Protected profile fields don't show delete icon
|
||||
|
||||
7.5.22
|
||||
- fixed: Layout template now gets prepared correctly
|
||||
|
|
|
|||
|
|
@ -397,7 +397,8 @@ sub www_editProfileSettings {
|
|||
foreach my $field (@{$category->getFields}) {
|
||||
next if $field->getId =~ /contentPositions/;
|
||||
$output .= ' ';
|
||||
$output .= $session->icon->delete('op=deleteProfileFieldConfirm;fid='.$field->getId,'',$i18n->get(467));
|
||||
$output .= $session->icon->delete('op=deleteProfileFieldConfirm;fid='.$field->getId,'',$i18n->get(467))
|
||||
unless $field->isProtected;
|
||||
$output .= $session->icon->edit('op=editProfileField;fid='.$field->getId);
|
||||
$output .= $session->icon->moveUp('op=moveProfileFieldUp;fid='.$field->getId);
|
||||
$output .= $session->icon->moveDown('op=moveProfileFieldDown;fid='.$field->getId);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue