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
Léo-Paul Géneau
gitlab-ce
Commits
01af0aab
Commit
01af0aab
authored
Oct 06, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only hide external link text, not icon/link.
parent
a4834770
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app/views/projects/merge_requests/widget/_heading.html.haml
app/views/projects/merge_requests/widget/_heading.html.haml
+3
-2
No files found.
app/views/projects/merge_requests/widget/_heading.html.haml
View file @
01af0aab
...
@@ -55,5 +55,6 @@
...
@@ -55,5 +55,6 @@
=
link_to
environment
.
name
,
environment_path
(
environment
),
class:
'environment'
=
link_to
environment
.
name
,
environment_path
(
environment
),
class:
'environment'
-
external_url
=
environment
.
external_url
-
external_url
=
environment
.
external_url
-
if
external_url
-
if
external_url
=
link_to
external_url
,
target:
'_blank'
,
class:
'hidden-xs'
do
=
link_to
external_url
,
target:
'_blank'
do
=
icon
(
'external-link'
,
text:
"View on
#{
external_url
.
gsub
(
/\A.*?:\/\//
,
''
)
}
"
,
right:
true
)
%span
.hidden-xs
View on
#{
external_url
.
gsub
(
/\A.*?:\/\//
,
''
)
}
=
icon
(
'external-link'
,
right:
true
)
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