summaryrefslogtreecommitdiff
path: root/app/views/explore/groups
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-26 23:41:56 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-08-26 23:41:56 +0200
commit5ea5e8f5d6fa6721af10839b7c81a87fc49c7843 (patch)
treeb03fd1da8fbc41bfd87f1e90b1639ffae276a7ce /app/views/explore/groups
parente0b4222fa67f25c330d16b660010b604383ba7fa (diff)
downloadgitlab-ce-5ea5e8f5d6fa6721af10839b7c81a87fc49c7843.tar.gz
Standartize how we render group rows
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/explore/groups')
-rw-r--r--app/views/explore/groups/index.html.haml12
1 files changed, 1 insertions, 11 deletions
diff --git a/app/views/explore/groups/index.html.haml b/app/views/explore/groups/index.html.haml
index 7dcefd330a1..80acb914365 100644
--- a/app/views/explore/groups/index.html.haml
+++ b/app/views/explore/groups/index.html.haml
@@ -32,17 +32,7 @@
%ul.bordered-list
- @groups.each do |group|
- %li
- .clearfix
- %h4
- = link_to group_path(id: group.path) do
- = group.name
- .clearfix
- %p
- = truncate group.description, length: 150
- .clearfix
- %p.light
- #{pluralize(group.members.size, 'member')}, #{pluralize(group.projects.count, 'project')}
+ = render 'shared/groups/group', group: group
- unless @groups.present?
.nothing-here-block No public groups