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
Tatuya Kamada
gitlab-ce
Commits
735b2b57
Commit
735b2b57
authored
Oct 04, 2016
by
Filipa Lacerda
Committed by
Kamil Trzcinski
Oct 06, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds link to close environment in a merge request
parent
9cc70031
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
app/assets/stylesheets/pages/merge_requests.scss
app/assets/stylesheets/pages/merge_requests.scss
+9
-0
app/views/projects/merge_requests/widget/_heading.html.haml
app/views/projects/merge_requests/widget/_heading.html.haml
+3
-0
No files found.
app/assets/stylesheets/pages/merge_requests.scss
View file @
735b2b57
...
@@ -177,6 +177,15 @@
...
@@ -177,6 +177,15 @@
.ci-coverage
{
.ci-coverage
{
float
:
right
;
float
:
right
;
}
}
.close-env-container
{
color
:
$gl-text-color
;
float
:
right
;
a
{
color
:
$gl-text-color
;
}
}
}
}
.mr_source_commit
,
.mr_source_commit
,
...
...
app/views/projects/merge_requests/widget/_heading.html.haml
View file @
735b2b57
...
@@ -57,3 +57,6 @@
...
@@ -57,3 +57,6 @@
-
if
external_url
-
if
external_url
=
link_to
external_url
,
target:
'_blank'
do
=
link_to
external_url
,
target:
'_blank'
do
=
icon
(
'external-link'
,
text:
"View on
#{
external_url
.
gsub
(
/\A.*?:\/\//
,
''
)
}
"
,
right:
true
)
=
icon
(
'external-link'
,
text:
"View on
#{
external_url
.
gsub
(
/\A.*?:\/\//
,
''
)
}
"
,
right:
true
)
%span
.close-env-container
=
link_to
'#'
,
class:
'close-evn-link'
do
=
icon
(
'stop-circle-o'
,
text:
'Stop environment'
)
\ No newline at end of file
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