diff options
author | George Tsiolis <tsiolis.g@gmail.com> | 2018-08-09 13:47:47 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-08-09 13:47:47 +0000 |
commit | e40d626b68d58c9870c616a092418673dfa9ea17 (patch) | |
tree | 911f805cf19cb1532ae5560f00cacc58067e740b /app/views/projects/forks | |
parent | d90676b1ed7520b50982fcadd1914c7fd7900a55 (diff) | |
download | gitlab-ce-e40d626b68d58c9870c616a092418673dfa9ea17.tar.gz |
Add default avatar to group
Diffstat (limited to 'app/views/projects/forks')
-rw-r--r-- | app/views/projects/forks/_fork_button.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/forks/_fork_button.html.haml b/app/views/projects/forks/_fork_button.html.haml index 8a549d431ee..12cf40bb65f 100644 --- a/app/views/projects/forks/_fork_button.html.haml +++ b/app/views/projects/forks/_fork_button.html.haml @@ -5,7 +5,7 @@ .bordered-box.fork-thumbnail.text-center.prepend-left-default.append-right-default.prepend-top-default.append-bottom-default.forked = link_to project_path(forked_project) do - if /no_((\w*)_)*avatar/.match(avatar) - = project_identicon(namespace, class: "avatar s100 identicon") + = project_icon(namespace, class: "avatar s100 identicon") - else .avatar-container.s100 = image_tag(avatar, class: "avatar s100") @@ -18,7 +18,7 @@ class: ("disabled has-tooltip" unless can_create_project), title: (_('You have reached your project limit') unless can_create_project) do - if /no_((\w*)_)*avatar/.match(avatar) - = project_identicon(namespace, class: "avatar s100 identicon") + = project_icon(namespace, class: "avatar s100 identicon") - else .avatar-container.s100 = image_tag(avatar, class: "avatar s100") |