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:
authorPhil Hughes <me@iamphill.com>2017-08-16 15:13:34 +0300
committerPhil Hughes <me@iamphill.com>2017-08-18 13:07:05 +0300
commita10cc2202dffcf8b4a7bc7db22757ac83bf95eb4 (patch)
tree23df31ffcbc60fba465286c1dffa7dff23e03933 /app/helpers/projects_helper.rb
parent85b272b22365a7e4588d4897ad9ce78ea180f124 (diff)
added collapsible sub-groups & wiki pages
[ci skip]
Diffstat (limited to 'app/helpers/projects_helper.rb')
-rw-r--r--app/helpers/projects_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb
index 9e325564d23..cd62835fd29 100644
--- a/app/helpers/projects_helper.rb
+++ b/app/helpers/projects_helper.rb
@@ -60,7 +60,7 @@ module ProjectsHelper
project_link = link_to project_path(project), { class: ("project-item-select-holder" unless show_new_nav?) } do
output =
- if show_new_nav?
+ if show_new_nav? && project.avatar_url
project_icon(project, alt: project.name, class: 'avatar-tile', width: 16, height: 16)
else
""