diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 19:22:03 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-07-12 19:22:03 +0400 |
commit | acb402a1c1cfb23613be0f988b60884c352de37c (patch) | |
tree | 5b2edb93552e1fc032e1386d572a2c8bf3e6f563 /app/views/layouts | |
parent | 7a42decec7a58c4824a1b951368d19b4ba3336dd (diff) |
Ability to leave group from profile area
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_flash.html.haml | 2 | ||||
-rw-r--r-- | app/views/layouts/nav/_profile.html.haml | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/app/views/layouts/_flash.html.haml b/app/views/layouts/_flash.html.haml index a3bed593e1c..f9ef068d18d 100644 --- a/app/views/layouts/_flash.html.haml +++ b/app/views/layouts/_flash.html.haml @@ -1,6 +1,6 @@ .flash-container - if alert - .alert + .alert.alert-error %span= alert - elsif notice diff --git a/app/views/layouts/nav/_profile.html.haml b/app/views/layouts/nav/_profile.html.haml index c2db7067e44..7c3acfc398a 100644 --- a/app/views/layouts/nav/_profile.html.haml +++ b/app/views/layouts/nav/_profile.html.haml @@ -12,6 +12,8 @@ %span.count= current_user.keys.count = nav_link(path: 'profiles#design') do = link_to "Design", design_profile_path + = nav_link(controller: :groups) do + = link_to "Groups", profile_groups_path = nav_link(path: 'profiles#history') do = link_to "History", history_profile_path |