Commit 2d1cc720 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch '#231201-projects/graphs' into 'master'

Apply GitLab UI button styles to buttons in app/views/projects/graphs directory

See merge request gitlab-org/gitlab!44295
parents c0f1d0b6 5a9ccb2e
......@@ -25,7 +25,7 @@
= (_("Code coverage statistics for master %{start_date} - %{end_date}") % {start_date: start_date, end_date: end_date})
- download_path = capture do
#{@daily_coverage_options[:download_path]}
%a.btn.btn-sm{ href: "#{download_path}?#{@daily_coverage_options[:base_params].to_query}" }
%a.btn.gl-button.btn-sm{ href: "#{download_path}?#{@daily_coverage_options[:base_params].to_query}" }
%small
= _("Download raw data (.csv)")
#js-code-coverage-chart{ data: { graph_endpoint: "#{@daily_coverage_options[:graph_api_path]}?#{@daily_coverage_options[:base_params].to_query}" } }
......
......@@ -3,6 +3,6 @@
.sub-header-block.bg-gray-light.gl-p-5
.tree-ref-holder.inline.vertical-align-middle
= render 'shared/ref_switcher', destination: 'graphs'
= link_to s_('Commits|History'), project_commits_path(@project, current_ref), class: 'btn'
= link_to s_('Commits|History'), project_commits_path(@project, current_ref), class: 'btn gl-button'
.js-contributors-graph{ class: container_class, 'data-project-graph-path': project_graph_path(@project, current_ref, format: :json),'data-project-branch': current_ref }
---
title: Apply GitLab UI button styles to buttons in app/views/projects/graphs directory
merge_request: 44295
author: Lakshit
type: other
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment