Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5a9ccb2e
Commit
5a9ccb2e
authored
Oct 05, 2020
by
Lakshit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply gl-button class to projects/graphs
parent
ac1f366c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
app/views/projects/graphs/charts.html.haml
app/views/projects/graphs/charts.html.haml
+1
-1
app/views/projects/graphs/show.html.haml
app/views/projects/graphs/show.html.haml
+1
-1
changelogs/unreleased/-231201-projects-graphs.yml
changelogs/unreleased/-231201-projects-graphs.yml
+5
-0
No files found.
app/views/projects/graphs/charts.html.haml
View file @
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}"
}
}
...
...
app/views/projects/graphs/show.html.haml
View file @
5a9ccb2e
...
...
@@ -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
}
changelogs/unreleased/-231201-projects-graphs.yml
0 → 100644
View file @
5a9ccb2e
---
title
:
Apply GitLab UI button styles to buttons in app/views/projects/graphs directory
merge_request
:
44295
author
:
Lakshit
type
:
other
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment