diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-09 21:07:44 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-09 21:07:44 +0300 |
commit | 453634293e24164ffaa5cd708e47a1cebc07bcd3 (patch) | |
tree | e49bb067fc508f57b03ac582872c4b1215eec326 /app/views/layouts/nav/sidebar | |
parent | 608d6aaa3d80a33862ca2c29d96bfd687b1a011b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/layouts/nav/sidebar')
-rw-r--r-- | app/views/layouts/nav/sidebar/_profile.html.haml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/app/views/layouts/nav/sidebar/_profile.html.haml b/app/views/layouts/nav/sidebar/_profile.html.haml index e1978009114..087eca3ba35 100644 --- a/app/views/layouts/nav/sidebar/_profile.html.haml +++ b/app/views/layouts/nav/sidebar/_profile.html.haml @@ -130,6 +130,18 @@ = link_to profile_preferences_path do %strong.fly-out-top-item-name = _('Preferences') + - if saved_replies_enabled? + = nav_link(controller: :saved_replies) do + = link_to profile_saved_replies_path do + .nav-icon-container + = sprite_icon('symlink') + %span.nav-item-name + = _('Saved Replies') + %ul.sidebar-sub-level-items.is-fly-out-only + = nav_link(controller: :saved_replies, html_options: { class: "fly-out-top-item" }) do + = link_to profile_saved_replies_path do + %strong.fly-out-top-item-name + = _('Saved Replies') = nav_link(controller: :active_sessions) do = link_to profile_active_sessions_path do .nav-icon-container |