Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-12 19:22:03 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-07-12 19:22:03 +0400
commitacb402a1c1cfb23613be0f988b60884c352de37c (patch)
tree5b2edb93552e1fc032e1386d572a2c8bf3e6f563 /app/views/layouts
parent7a42decec7a58c4824a1b951368d19b4ba3336dd (diff)
Ability to leave group from profile area
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/_flash.html.haml2
-rw-r--r--app/views/layouts/nav/_profile.html.haml2
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