From 8c29e63175e3707b604cf4c54c9dd588af0f41f0 Mon Sep 17 00:00:00 2001 From: George Tsiolis Date: Thu, 8 Nov 2018 10:22:56 +0200 Subject: Remove duplicate primary button in dashboard snippets --- app/views/dashboard/snippets/index.html.haml | 5 ----- .../remove-duplicate-primary-button-in-dashboard-snippets.yml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml diff --git a/app/views/dashboard/snippets/index.html.haml b/app/views/dashboard/snippets/index.html.haml index b11dc2c8e9b..6eb067da95c 100644 --- a/app/views/dashboard/snippets/index.html.haml +++ b/app/views/dashboard/snippets/index.html.haml @@ -5,9 +5,4 @@ = render 'dashboard/snippets_head' = render partial: 'snippets/snippets_scope_menu', locals: { include_private: true } -.d-block.d-sm-none -   - = link_to new_snippet_path, class: "btn btn-success btn-block", title: "New snippet" do - New snippet - = render partial: 'snippets/snippets', locals: { link_project: true } diff --git a/changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml b/changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml new file mode 100644 index 00000000000..3a8b3a0df5d --- /dev/null +++ b/changelogs/unreleased/remove-duplicate-primary-button-in-dashboard-snippets.yml @@ -0,0 +1,5 @@ +--- +title: Remove duplicate primary button in dashboard snippets on small viewports +merge_request: 22902 +author: George Tsiolis +type: fixed -- cgit v1.2.1