Commit c89a0fd97cd96dd291989502fded13b50c383cae
1 parent
db2148cf
- event in menu
Showing
1 changed file
with
17 additions
and
1 deletions
Show diff stats
backend/views/layouts/menu_items.php
| @@ -100,7 +100,23 @@ | @@ -100,7 +100,23 @@ | ||
| 100 | ], | 100 | ], |
| 101 | ], | 101 | ], |
| 102 | ], | 102 | ], |
| 103 | - | 103 | + [ |
| 104 | + 'label' => \Yii::t('app', 'Event'), | ||
| 105 | + 'url' => '#', | ||
| 106 | + 'template' => '<a href="#"><b class="blog"></b><span>{label}</span>{badge}</a>', | ||
| 107 | + 'items' => [ | ||
| 108 | + [ | ||
| 109 | + 'label' => \Yii::t('core', 'Articles'), | ||
| 110 | + 'url' => [ '/event/index' ], | ||
| 111 | + 'icon' => 'file-text', | ||
| 112 | + ], | ||
| 113 | + [ | ||
| 114 | + 'label' => \Yii::t('core', 'Tags'), | ||
| 115 | + 'url' => [ '/event-tag/index' ], | ||
| 116 | + 'icon' => 'tag', | ||
| 117 | + ], | ||
| 118 | + ], | ||
| 119 | + ], | ||
| 104 | [ | 120 | [ |
| 105 | 'label' => \Yii::t('app', 'Настройки'), | 121 | 'label' => \Yii::t('app', 'Настройки'), |
| 106 | 'url' => [ '/settings' ], | 122 | 'url' => [ '/settings' ], |