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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
cfdbfcc6
Commit
cfdbfcc6
authored
Feb 21, 2018
by
haseeb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix for chrome issue
parent
bab24c2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
app/views/shared/snippets/_header.html.haml
app/views/shared/snippets/_header.html.haml
+8
-9
No files found.
app/views/shared/snippets/_header.html.haml
View file @
cfdbfcc6
...
@@ -31,18 +31,17 @@
...
@@ -31,18 +31,17 @@
%textarea
.hidden.js-task-list-field
%textarea
.hidden.js-task-list-field
=
@snippet
.
description
=
@snippet
.
description
-
if
public_snippet?
-
if
public_snippet?
.
pull-right
.
embed-snippet.pull-right.col-md-6
.input-group
.input-group
.input-group-btn
.input-group-btn
%
button
.btn.btn-default
.dropdown-toggle
{
'data-toggle'
:
'dropdown'
}
%
a
.btn.btn-default.embed-toggle
.dropdown-toggle
{
'data-toggle'
:
'dropdown'
}
%span
#embed-action
Embed
%span
#embed-action
Embed
=
sprite_icon
(
'angle-down'
,
size:
16
)
=
sprite_icon
(
'angle-down'
,
size:
12
)
.dropdown-menu
%ul
.dropdown-menu.dropdown-menu-selectable.dropdown-menu-right
%ul
%li
%li
%a
#embed-btn
{
href:
"#"
}
Embed
%a
#embed-btn
.btn.btn-transparent
{
href:
"#"
}
Embed
%li
%li
%a
#share-btn
{
href:
"#"
}
Share
%a
#share-btn
.btn.btn-transparent
{
href:
"#"
}
Share
%input
#snippet-url-area
.snippet-embed-input.form-control
{
type:
"text"
,
autocomplete:
'off'
,
value:
snippet_embed
}
%input
#snippet-url-area
.snippet-embed-input.form-control
{
type:
"text"
,
autocomplete:
'off'
,
value:
snippet_embed
}
.input-group-btn
.input-group-btn
%a
#clipboard-btn
.btn.btn-default
{
title:
"Copy to clipboard"
,
data:
{
toggle:
"tooltip"
,
placement:
"bottom"
,
title:
"Copy source to clipboard"
,
container:
"body"
,
clipboard_target:
'#snippet-url-area'
}
}
%a
#clipboard-btn
.btn.btn-default
{
title:
"Copy to clipboard"
,
data:
{
toggle:
"tooltip"
,
placement:
"bottom"
,
title:
"Copy source to clipboard"
,
container:
"body"
,
clipboard_target:
'#snippet-url-area'
}
}
...
...
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