| @@ 107-113 (lines=7) @@ | ||
| 104 | $menu[$this->__('Delete')]->setLinkAttribute('title', $this->__('Delete this route')); |
|
| 105 | } |
|
| 106 | } |
|
| 107 | if ($currentFunc == 'display') { |
|
| 108 | $title = $this->__('Back to overview'); |
|
| 109 | $menu->addChild($title, [ |
|
| 110 | 'route' => 'zikularoutesmodule_route_adminview' |
|
| 111 | ])->setAttribute('icon', 'fa fa-reply'); |
|
| 112 | $menu[$title]->setLinkAttribute('title', $title); |
|
| 113 | } |
|
| 114 | } |
|
| 115 | if ($currentLegacyControllerType == 'user') { |
|
| 116 | if (in_array($currentFunc, ['index', 'view'])) { |
|
| @@ 144-150 (lines=7) @@ | ||
| 141 | $menu[$this->__('Delete')]->setLinkAttribute('title', $this->__('Delete this route')); |
|
| 142 | } |
|
| 143 | } |
|
| 144 | if ($currentFunc == 'display') { |
|
| 145 | $title = $this->__('Back to overview'); |
|
| 146 | $menu->addChild($title, [ |
|
| 147 | 'route' => 'zikularoutesmodule_route_view' |
|
| 148 | ])->setAttribute('icon', 'fa fa-reply'); |
|
| 149 | $menu[$title]->setLinkAttribute('title', $title); |
|
| 150 | } |
|
| 151 | } |
|
| 152 | } |
|
| 153 | ||