diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-14 13:00:53 +0300 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2018-02-14 13:00:53 +0300 |
commit | e7595c10bc14cd32c456b9c6a94e227d41d6d09a (patch) | |
tree | 33679b105bebd4338dc217da35b9740d8cc3154f /app/helpers | |
parent | 7da1a3d7a30976090d437d7a0fcefe7ac2548ab3 (diff) | |
parent | 499d0501854226c018936a56f02e98bd00988742 (diff) |
Merge branch '37050-ext-issue-tracker' into 'master'
Display a link to external issue tracker when enabled
Closes #37050
See merge request gitlab-org/gitlab-ce!17030
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 6512617a02d..43c8b1b612b 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -296,6 +296,10 @@ module ProjectsHelper nav_tabs << :pipelines end + if project.external_issue_tracker + nav_tabs << :external_issue_tracker + end + tab_ability_map.each do |tab, ability| if can?(current_user, ability, project) nav_tabs << tab |