diff options
author | Felipe Artur <felipefac@gmail.com> | 2016-03-03 22:52:38 +0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2016-03-10 16:38:36 +0300 |
commit | bd59e59d01c5e845c7f7d451feaa1488670f20de (patch) | |
tree | 23011fda4fe88f878f0ec0f4eed86fe1e6fae9b2 /app/views/shared/groups | |
parent | 5551ccd7201ea6b45a2e2721502ba55e8f525d8f (diff) |
Add visibility level icon and a couple of specs
Diffstat (limited to 'app/views/shared/groups')
-rw-r--r-- | app/views/shared/groups/_group.html.haml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/shared/groups/_group.html.haml b/app/views/shared/groups/_group.html.haml index fb9a8db0889..82eeb2088c8 100644 --- a/app/views/shared/groups/_group.html.haml +++ b/app/views/shared/groups/_group.html.haml @@ -21,6 +21,9 @@ = icon('users') = number_with_delimiter(group.users.count) + %span{title: group_visibility_description(group)} + = visibility_level_icon(group.visibility_level, fw: false) + = image_tag group_icon(group), class: "avatar s40 hidden-xs" = link_to group, class: 'group-name title' do = group.name |