summaryrefslogtreecommitdiff
path: root/app/views/shared/projects/_project.html.haml
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2018-08-31 18:28:29 -0700
committerRobert Speicher <rspeicher@gmail.com>2018-08-31 18:29:37 -0700
commit94531f76d470189c50e679c671ff5430d18a88ba (patch)
treea72f22189c2c1a31d0058d0dc44e5a0de43d29d2 /app/views/shared/projects/_project.html.haml
parent6dc252e4066d4e9100954f51e357bdaaffba6e64 (diff)
downloadgitlab-ce-94531f76d470189c50e679c671ff5430d18a88ba.tar.gz
Correct remaining `Lint/UselessAssignment` haml-lint violations
Diffstat (limited to 'app/views/shared/projects/_project.html.haml')
-rw-r--r--app/views/shared/projects/_project.html.haml2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/views/shared/projects/_project.html.haml b/app/views/shared/projects/_project.html.haml
index be053d481e4..aba790e1217 100644
--- a/app/views/shared/projects/_project.html.haml
+++ b/app/views/shared/projects/_project.html.haml
@@ -1,9 +1,7 @@
- avatar = true unless local_assigns[:avatar] == false
- stars = true unless local_assigns[:stars] == false
- forks = false unless local_assigns[:forks] == true
-- ci = false unless local_assigns[:ci] == true
- skip_namespace = false unless local_assigns[:skip_namespace] == true
-- user = local_assigns[:user]
- access = max_project_member_access(project)
- css_class = '' unless local_assigns[:css_class]
- show_last_commit_as_description = false unless local_assigns[:show_last_commit_as_description] == true && can_show_last_commit_in_list?(project)