diff options
Diffstat (limited to 'app/views/shared/_event_filter.html.haml')
-rw-r--r-- | app/views/shared/_event_filter.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/shared/_event_filter.html.haml b/app/views/shared/_event_filter.html.haml index ad9eb325ff0..1b2e8d3799d 100644 --- a/app/views/shared/_event_filter.html.haml +++ b/app/views/shared/_event_filter.html.haml @@ -15,4 +15,6 @@ = render_if_exists 'events/epics_filter' - if comments_visible? = event_filter_link EventFilter::COMMENTS, _('Comments'), s_('EventFilterBy|Filter by comments') + - if Feature.enabled?(:wiki_events) && (@project.nil? || @project.has_wiki?) + = event_filter_link EventFilter::WIKI, _('Wiki'), s_('EventFilterBy|Filter by wiki') = event_filter_link EventFilter::TEAM, _('Team'), s_('EventFilterBy|Filter by team') |