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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
e3de2ab1
Commit
e3de2ab1
authored
Apr 13, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[skip ci] Convert label-success to badge-success
parent
ed696df5
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
11 additions
and
11 deletions
+11
-11
app/views/admin/runners/_runner.html.haml
app/views/admin/runners/_runner.html.haml
+1
-1
app/views/admin/runners/index.html.haml
app/views/admin/runners/index.html.haml
+1
-1
app/views/admin/users/_user.html.haml
app/views/admin/users/_user.html.haml
+1
-1
app/views/profiles/emails/index.html.haml
app/views/profiles/emails/index.html.haml
+1
-1
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+1
-1
app/views/projects/pages_domains/show.html.haml
app/views/projects/pages_domains/show.html.haml
+1
-1
app/views/projects/runners/_index.html.haml
app/views/projects/runners/_index.html.haml
+1
-1
app/views/projects/tags/_tag.html.haml
app/views/projects/tags/_tag.html.haml
+1
-1
app/views/projects/tags/show.html.haml
app/views/projects/tags/show.html.haml
+1
-1
app/views/shared/hook_logs/_status_label.html.haml
app/views/shared/hook_logs/_status_label.html.haml
+1
-1
app/views/shared/members/_member.html.haml
app/views/shared/members/_member.html.haml
+1
-1
No files found.
app/views/admin/runners/_runner.html.haml
View file @
e3de2ab1
%tr
{
id:
dom_id
(
runner
)
}
%td
-
if
runner
.
shared?
%span
.badge.
label
-success
shared
%span
.badge.
badge
-success
shared
-
else
%span
.badge.label-info
specific
-
if
runner
.
locked?
...
...
app/views/admin/runners/index.html.haml
View file @
e3de2ab1
...
...
@@ -14,7 +14,7 @@
%span
Each Runner can be in one of the following states:
%ul
%li
%span
.badge.
label
-success
shared
%span
.badge.
badge
-success
shared
\- Runner runs jobs from all unassigned projects
%li
%span
.badge.label-info
specific
...
...
app/views/admin/users/_user.html.haml
View file @
e3de2ab1
...
...
@@ -7,7 +7,7 @@
-
if
user
.
blocked?
%span
.badge.label-danger
blocked
-
if
user
.
admin?
%span
.badge.
label
-success
Admin
%span
.badge.
badge
-success
Admin
-
if
user
.
external?
%span
.badge.label-default
External
-
if
user
==
current_user
...
...
app/views/profiles/emails/index.html.haml
View file @
e3de2ab1
...
...
@@ -33,7 +33,7 @@
%li
=
render
partial:
'shared/email_with_badge'
,
locals:
{
email:
@primary_email
,
verified:
current_user
.
confirmed?
}
%span
.float-right
%span
.badge.
label
-success
Primary email
%span
.badge.
badge
-success
Primary email
-
if
@primary_email
===
current_user
.
public_email
%span
.badge.label-info
Public email
-
if
@primary_email
===
current_user
.
notification_email
...
...
app/views/projects/branches/_branch.html.haml
View file @
e3de2ab1
...
...
@@ -19,7 +19,7 @@
=
s_
(
'Branches|merged'
)
-
if
protected_branch?
(
@project
,
branch
)
%span
.badge.
label
-success
%span
.badge.
badge
-success
=
s_
(
'Branches|protected'
)
.block-truncated
...
...
app/views/projects/pages_domains/show.html.haml
View file @
e3de2ab1
...
...
@@ -43,7 +43,7 @@
%td
=
form_tag
verify_project_pages_domain_path
(
@project
,
@domain
)
do
.status-badge
-
text
,
status
=
@domain
.
unverified?
?
[
_
(
'Unverified'
),
'label-danger'
]
:
[
_
(
'Verified'
),
'
label
-success'
]
-
text
,
status
=
@domain
.
unverified?
?
[
_
(
'Unverified'
),
'label-danger'
]
:
[
_
(
'Verified'
),
'
badge
-success'
]
.label
{
class:
status
}
=
text
%button
.btn.has-tooltip
{
type:
"submit"
,
data:
{
container:
'body'
},
title:
_
(
"Retry verification"
)
}
...
...
app/views/projects/runners/_index.html.haml
View file @
e3de2ab1
...
...
@@ -9,7 +9,7 @@
%div
%ul
%li
%span
.badge.
label
-success
active
%span
.badge.
badge
-success
active
\- Runner is active and can process any new jobs
%li
%span
.badge.label-danger
paused
...
...
app/views/projects/tags/_tag.html.haml
View file @
e3de2ab1
...
...
@@ -6,7 +6,7 @@
=
link_to
tag
.
name
,
project_tag_path
(
@project
,
tag
.
name
),
class:
'item-title ref-name prepend-left-4'
-
if
protected_tag?
(
@project
,
tag
)
%span
.badge.
label
-success.prepend-left-4
%span
.badge.
badge
-success.prepend-left-4
=
s_
(
'TagsPage|protected'
)
-
if
tag
.
message
.
present?
...
...
app/views/projects/tags/show.html.haml
View file @
e3de2ab1
...
...
@@ -11,7 +11,7 @@
=
icon
(
'tag'
)
=
@tag
.
name
-
if
protected_tag?
(
@project
,
@tag
)
%span
.badge.
label
-success
%span
.badge.
badge
-success
=
s_
(
'TagsPage|protected'
)
-
if
@commit
=
render
'projects/branches/commit'
,
commit:
@commit
,
project:
@project
...
...
app/views/shared/hook_logs/_status_label.html.haml
View file @
e3de2ab1
-
label_status
=
hook_log
.
success?
?
'
label
-success'
:
'label-danger'
-
label_status
=
hook_log
.
success?
?
'
badge
-success'
:
'label-danger'
%span
{
class:
"label #{label_status}"
}
=
hook_log
.
response_status
app/views/shared/members/_member.html.haml
View file @
e3de2ab1
...
...
@@ -14,7 +14,7 @@
%span
.cgray
=
user
.
to_reference
-
if
user
==
current_user
%span
.badge.
label
-success.prepend-left-5
It's you
%span
.badge.
badge
-success.prepend-left-5
It's you
-
if
user
.
blocked?
%label
.badge.label-danger
...
...
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