summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-02-12 12:49:46 +0000
committerFilipa Lacerda <filipa@gitlab.com>2019-02-12 12:49:46 +0000
commit937255196c821a8e28a1a87eb4eaf8ec05783ca7 (patch)
tree804b91244a7d909c27846ac3bc2348b375eb35c7
parent6886aa4fa360a9fbba634756e5d8040c66a3d3b1 (diff)
parent843f960d7984aaa6d9cb3d663f87254b9b49b777 (diff)
downloadgitlab-ce-937255196c821a8e28a1a87eb4eaf8ec05783ca7.tar.gz
Merge branch '57564-contributing-button-border' into 'master'
Fix the border style of CONTRIBUTING button when it exists Closes #57564 See merge request gitlab-org/gitlab-ce!25124
-rw-r--r--app/presenters/project_presenter.rb3
-rw-r--r--changelogs/unreleased/57564-contributing-button-border.yml5
2 files changed, 7 insertions, 1 deletions
diff --git a/app/presenters/project_presenter.rb b/app/presenters/project_presenter.rb
index ea1d941cf83..4cac90c2567 100644
--- a/app/presenters/project_presenter.rb
+++ b/app/presenters/project_presenter.rb
@@ -256,7 +256,8 @@ class ProjectPresenter < Gitlab::View::Presenter::Delegated
elsif repository.contribution_guide.present?
AnchorData.new(false,
statistic_icon('doc-text') + _('CONTRIBUTING'),
- contribution_guide_path)
+ contribution_guide_path,
+ 'default')
end
end
diff --git a/changelogs/unreleased/57564-contributing-button-border.yml b/changelogs/unreleased/57564-contributing-button-border.yml
new file mode 100644
index 00000000000..e5875ef1c0f
--- /dev/null
+++ b/changelogs/unreleased/57564-contributing-button-border.yml
@@ -0,0 +1,5 @@
+---
+title: Fix the border style of CONTRIBUTING button when it exists
+merge_request: 25124
+author: Takuya Noguchi
+type: fixed