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:
authorRydkin Maxim <maks.rydkin@gmail.com>2016-12-03 23:26:02 +0300
committerRydkin Maxim <maks.rydkin@gmail.com>2016-12-08 23:46:45 +0300
commit4af62042bb7ddeff742a62048438673811e5344a (patch)
tree3a982b48654bd7d9d60eba977f5d330a50f45cc0 /app/views/shared/_event_filter.html.haml
parent6992ac111713be14b050a72a462eb70d9be35ebc (diff)
remove unnecessary issues event filter on comments tab
fix features_visibility_spec.rb remove strange part of spec fix conditions of comments tab disappearing and fix spec generate changelog rewrite spec for more coplex check step-by-step move conditional logic into helper and fix changelog fix indentation in helper
Diffstat (limited to 'app/views/shared/_event_filter.html.haml')
-rw-r--r--app/views/shared/_event_filter.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/_event_filter.html.haml b/app/views/shared/_event_filter.html.haml
index 67c145cef17..e50ab5fea09 100644
--- a/app/views/shared/_event_filter.html.haml
+++ b/app/views/shared/_event_filter.html.haml
@@ -6,6 +6,6 @@
= event_filter_link EventFilter.merged, 'Merge events'
- if event_filter_visible(:issues)
= event_filter_link EventFilter.issue, 'Issue events'
- - if event_filter_visible(:issues)
+ - if comments_visible?
= event_filter_link EventFilter.comments, 'Comments'
= event_filter_link EventFilter.team, 'Team'