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
2fdac798
Commit
2fdac798
authored
Feb 03, 2021
by
Yogi
Committed by
Andrew Fontaine
Feb 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add btn-default to buttons in tag action on the single tag page
parent
5216d955
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
app/views/projects/tags/show.html.haml
app/views/projects/tags/show.html.haml
+4
-4
changelogs/unreleased/gl-button-fix-tag.yml
changelogs/unreleased/gl-button-fix-tag.yml
+5
-0
No files found.
app/views/projects/tags/show.html.haml
View file @
2fdac798
...
...
@@ -42,13 +42,13 @@
-
if
@tag
.
has_signature?
=
render
partial:
'projects/commit/signature'
,
object:
@tag
.
signature
-
if
can?
(
current_user
,
:admin_tag
,
@project
)
=
link_to
edit_project_tag_release_path
(
@project
,
@tag
.
name
),
class:
'btn btn-icon btn-edit gl-button controls-item has-tooltip'
,
title:
s_
(
'TagsPage|Edit release notes'
)
do
=
link_to
edit_project_tag_release_path
(
@project
,
@tag
.
name
),
class:
'btn btn-icon btn-edit gl-button
btn-default
controls-item has-tooltip'
,
title:
s_
(
'TagsPage|Edit release notes'
)
do
=
sprite_icon
(
"pencil"
,
css_class:
'gl-icon'
)
=
link_to
project_tree_path
(
@project
,
@tag
.
name
),
class:
'btn btn-icon gl-button controls-item has-tooltip'
,
title:
s_
(
'TagsPage|Browse files'
)
do
=
link_to
project_tree_path
(
@project
,
@tag
.
name
),
class:
'btn btn-icon gl-button
btn-default
controls-item has-tooltip'
,
title:
s_
(
'TagsPage|Browse files'
)
do
=
sprite_icon
(
'folder-open'
,
css_class:
'gl-icon'
)
=
link_to
project_commits_path
(
@project
,
@tag
.
name
),
class:
'btn btn-icon gl-button controls-item has-tooltip'
,
title:
s_
(
'TagsPage|Browse commits'
)
do
=
link_to
project_commits_path
(
@project
,
@tag
.
name
),
class:
'btn btn-icon gl-button
btn-default
controls-item has-tooltip'
,
title:
s_
(
'TagsPage|Browse commits'
)
do
=
sprite_icon
(
'history'
,
css_class:
'gl-icon'
)
.
btn-container.
controls-item
.controls-item
=
render
'projects/buttons/download'
,
project:
@project
,
ref:
@tag
.
name
-
if
can?
(
current_user
,
:admin_tag
,
@project
)
.btn-container.controls-item-full
...
...
changelogs/unreleased/gl-button-fix-tag.yml
0 → 100644
View file @
2fdac798
---
title
:
Add btn-default to buttons in tag action on the single tag page
merge_request
:
52866
author
:
Yogi (@yo)
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