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:
authorrobertd <robert.djurasaj@gmail.com>2014-02-07 10:19:49 +0400
committerrobertd <robert.djurasaj@gmail.com>2014-02-07 10:27:32 +0400
commitb8e81e558f4387b4ab4fed6594594ac29a7adec2 (patch)
tree0e833fa363cea8671d1504142a4cd77b89f045f5 /app/views/users/_groups.html.haml
parentf7b46fa5fff2b26d8213aeb8619f2212e39f9541 (diff)
Show avatars of groups on profile screen that user belongs to
Diffstat (limited to 'app/views/users/_groups.html.haml')
-rw-r--r--app/views/users/_groups.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/users/_groups.html.haml b/app/views/users/_groups.html.haml
new file mode 100644
index 00000000000..412df943fcc
--- /dev/null
+++ b/app/views/users/_groups.html.haml
@@ -0,0 +1,3 @@
+- groups.each do |group|
+ = link_to group, class: 'profile-groups-avatars', :title => group.name do
+ = image_tag group_icon(group.path) \ No newline at end of file