From 843f960d7984aaa6d9cb3d663f87254b9b49b777 Mon Sep 17 00:00:00 2001 From: Takuya Noguchi Date: Tue, 12 Feb 2019 10:05:17 +0900 Subject: Fix the border style of CONTRIBUTING button when it exists Signed-off-by: Takuya Noguchi --- app/presenters/project_presenter.rb | 3 ++- changelogs/unreleased/57564-contributing-button-border.yml | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelogs/unreleased/57564-contributing-button-border.yml 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 -- cgit v1.2.1