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
f6240862
Commit
f6240862
authored
Dec 08, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename icon_with_label to icon_with_description
parent
5b89ec0d
Changes
9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
10 additions
and
9 deletions
+10
-9
app/views/admin/runners/show.html.haml
app/views/admin/runners/show.html.haml
+1
-1
app/views/ci/status/_icon_with_description.html.haml
app/views/ci/status/_icon_with_description.html.haml
+1
-0
app/views/projects/builds/_header.html.haml
app/views/projects/builds/_header.html.haml
+1
-1
app/views/projects/ci/builds/_build.html.haml
app/views/projects/ci/builds/_build.html.haml
+1
-1
app/views/projects/ci/pipelines/_pipeline.html.haml
app/views/projects/ci/pipelines/_pipeline.html.haml
+1
-1
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
.../generic_commit_statuses/_generic_commit_status.html.haml
+1
-1
app/views/projects/pipelines/_info.html.haml
app/views/projects/pipelines/_info.html.haml
+1
-1
app/views/projects/stage/_graph.html.haml
app/views/projects/stage/_graph.html.haml
+2
-2
app/views/projects/stage/_in_stage_group.html.haml
app/views/projects/stage/_in_stage_group.html.haml
+1
-1
No files found.
app/views/admin/runners/show.html.haml
View file @
f6240862
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
%strong
##{build.id}
%strong
##{build.id}
%td
.status
%td
.status
=
render
"ci/status/icon_with_
label
"
,
subject:
build
=
render
"ci/status/icon_with_
description
"
,
subject:
build
%td
.status
%td
.status
-
if
project
-
if
project
...
...
app/views/ci/status/_icon_with_
label
.html.haml
→
app/views/ci/status/_icon_with_
description
.html.haml
View file @
f6240862
-
detailed_status
=
subject
.
detailed_status
(
current_user
)
-
detailed_status
=
subject
.
detailed_status
(
current_user
)
-
details_path
=
detailed_status
.
details_path
if
detailed_status
.
has_details?
-
details_path
=
detailed_status
.
details_path
if
detailed_status
.
has_details?
-
klass
=
"ci-status ci-
#{
detailed_status
}
"
-
klass
=
"ci-status ci-
#{
detailed_status
}
"
-
if
details_path
-
if
details_path
=
link_to
details_path
,
class:
klass
do
=
link_to
details_path
,
class:
klass
do
=
custom_icon
(
detailed_status
.
icon
)
=
custom_icon
(
detailed_status
.
icon
)
...
...
app/views/projects/builds/_header.html.haml
View file @
f6240862
.content-block.build-header
.content-block.build-header
.header-content
.header-content
=
render
"ci/status/icon_with_
label
"
,
subject:
build
=
render
"ci/status/icon_with_
description
"
,
subject:
build
Build
Build
%strong
##{@build.id}
%strong
##{@build.id}
in pipeline
in pipeline
...
...
app/views/projects/ci/builds/_build.html.haml
View file @
f6240862
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
%tr
.build.commit
{
class:
(
'retried'
if
retried
)}
%tr
.build.commit
{
class:
(
'retried'
if
retried
)}
%td
.status
%td
.status
=
render
"ci/status/icon_with_
label
"
,
subject:
build
=
render
"ci/status/icon_with_
description
"
,
subject:
build
%td
.branch-commit
%td
.branch-commit
-
if
can?
(
current_user
,
:read_build
,
build
)
-
if
can?
(
current_user
,
:read_build
,
build
)
...
...
app/views/projects/ci/pipelines/_pipeline.html.haml
View file @
f6240862
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
%tr
.commit
%tr
.commit
%td
.commit-link
%td
.commit-link
=
render
"ci/status/icon_with_
label
"
,
subject:
pipeline
=
render
"ci/status/icon_with_
description
"
,
subject:
pipeline
%td
%td
=
link_to
namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
)
do
=
link_to
namespace_project_pipeline_path
(
pipeline
.
project
.
namespace
,
pipeline
.
project
,
pipeline
.
id
)
do
...
...
app/views/projects/generic_commit_statuses/_generic_commit_status.html.haml
View file @
f6240862
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
%tr
.generic_commit_status
{
class:
(
'retried'
if
retried
)}
%tr
.generic_commit_status
{
class:
(
'retried'
if
retried
)}
%td
.status
%td
.status
=
render
"ci/status/icon_with_
label
"
,
subject:
generic_commit_status
=
render
"ci/status/icon_with_
description
"
,
subject:
generic_commit_status
%td
.generic_commit_status-link
%td
.generic_commit_status-link
-
if
can?
(
current_user
,
:read_commit_status
,
generic_commit_status
)
&&
generic_commit_status
.
target_url
-
if
can?
(
current_user
,
:read_commit_status
,
generic_commit_status
)
&&
generic_commit_status
.
target_url
...
...
app/views/projects/pipelines/_info.html.haml
View file @
f6240862
.page-content-header
.page-content-header
.header-main-content
.header-main-content
=
render
"ci/status/icon_with_
label
"
,
subject:
@pipeline
=
render
"ci/status/icon_with_
description
"
,
subject:
@pipeline
%strong
Pipeline ##{@commit.pipelines.last.id}
%strong
Pipeline ##{@commit.pipelines.last.id}
triggered
#{
time_ago_with_tooltip
(
@commit
.
authored_date
)
}
by
triggered
#{
time_ago_with_tooltip
(
@commit
.
authored_date
)
}
by
=
author_avatar
(
@commit
,
size:
24
)
=
author_avatar
(
@commit
,
size:
24
)
...
...
app/views/projects/stage/_graph.html.haml
View file @
f6240862
...
@@ -15,9 +15,9 @@
...
@@ -15,9 +15,9 @@
%li
.build
{
class:
(
"playable"
if
is_playable
)
}
%li
.build
{
class:
(
"playable"
if
is_playable
)
}
.curve
.curve
.build-content
.build-content
=
render
"projects/
#{
status
.
to_partial_path
}
_pipeline"
,
subject:
status
=
render
'ci/status/icon_with_name_and_action'
,
subject:
status
-
else
-
else
%li
.build
%li
.build
.curve
.curve
.dropdown.inline.build-content
.dropdown.inline.build-content
=
render
"projects/stage/in_stage_group"
,
name:
group_name
,
subject:
grouped_statuses
=
render
'projects/stage/in_stage_group'
,
name:
group_name
,
subject:
grouped_statuses
app/views/projects/stage/_in_stage_group.html.haml
View file @
f6240862
...
@@ -10,4 +10,4 @@
...
@@ -10,4 +10,4 @@
%ul
%ul
-
subject
.
each
do
|
status
|
-
subject
.
each
do
|
status
|
%li
.dropdown-build
%li
.dropdown-build
=
render
"projects/
#{
status
.
to_partial_path
}
_pipeline"
,
subject:
status
=
render
'ci/status/icon_with_name_and_action'
,
subject:
status
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