BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d41f30d5
Commit
d41f30d5
authored
Mar 03, 2017
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove tooltips and titles from label subscription buttons
parent
86d1e42a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
_label.html.haml
app/views/shared/_label.html.haml
+2
-2
remove-subscribe-label-tooltip.yml
changelogs/unreleased/remove-subscribe-label-tooltip.yml
+4
-0
No files found.
app/views/shared/_label.html.haml
View file @
d41f30d5
...
...
@@ -45,11 +45,11 @@
-
if
current_user
&&
defined?
(
@project
)
.label-subscription.inline
-
if
label
.
is_a?
(
ProjectLabel
)
%button
.js-subscribe-button.label-subscribe-button.btn.btn-default
.btn-action
{
type:
'button'
,
title:
label_subscription_toggle_button_text
(
label
,
@project
),
data:
{
toggle:
'tooltip'
,
status:
status
,
url:
toggle_subscription_namespace_project_label_path
(
@project
.
namespace
,
@project
,
label
)
}
}
%button
.js-subscribe-button.label-subscribe-button.btn.btn-default
{
type:
'button'
,
data:
{
status:
status
,
url:
toggle_subscription_namespace_project_label_path
(
@project
.
namespace
,
@project
,
label
)
}
}
%span
=
label_subscription_toggle_button_text
(
label
,
@project
)
=
icon
(
'spinner spin'
,
class:
'label-subscribe-button-loading'
)
-
else
%button
.js-unsubscribe-button.label-subscribe-button.btn.btn-default
.btn-action
{
type:
'button'
,
class:
(
'hidden'
if
status
.
unsubscribed?
),
title:
'Unsubscribe'
,
data:
{
toggle:
'tooltip'
,
url:
group_label_unsubscribe_path
(
label
,
@project
)
}
}
%button
.js-unsubscribe-button.label-subscribe-button.btn.btn-default
{
type:
'button'
,
class:
(
'hidden'
if
status
.
unsubscribed?
),
data:
{
url:
group_label_unsubscribe_path
(
label
,
@project
)
}
}
%span
Unsubscribe
=
icon
(
'spinner spin'
,
class:
'label-subscribe-button-loading'
)
...
...
changelogs/unreleased/remove-subscribe-label-tooltip.yml
0 → 100644
View file @
d41f30d5
---
title
:
Remove tooltips from label subscription buttons
merge_request
:
author
:
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