summaryrefslogtreecommitdiff
path: root/app/views/layouts/nav/sidebar/_profile.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/nav/sidebar/_profile.html.haml')
-rw-r--r--app/views/layouts/nav/sidebar/_profile.html.haml12
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