Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
go
Commits
82bc35f3
Commit
82bc35f3
authored
Dec 03, 2016
by
Robert Hitt
Browse files
Copy button now copies the correct link
parent
042ff4b8
Changes
1
Show whitespace changes
Inline
Side-by-side
go/go/templates/link_box.html
View file @
82bc35f3
...
...
@@ -12,12 +12,12 @@
<!-- what is the address? -->
<h3>
Go Address:
</h3>
<div
id=
"link-container"
class=
"input-group"
>
<a
id=
"link"
class=
"form-control"
href=
"{{domain}}{{url.short}}"
>
<a
id=
"link
-{{url.short}}
"
class=
"form-control"
href=
"{{domain}}{{url.short}}"
>
{{domain}}{{url.short}}
</a>
<div
id=
"button-container"
class=
"input-group-addon"
>
<button
id=
"copy-button"
type=
"button"
class=
"button btn btn-default btn-xs fa"
role=
"button"
data-clipboard-target=
"#link"
title=
"Copy to Clipboard"
>
data-clipboard-target=
"#link
-{{url.short}}
"
title=
"Copy to Clipboard"
>
<i
id=
"clipboard-icon"
class=
"fa fa-clipboard fa-1g"
aria-hidden=
"true"
></i>
</button>
</div>
...
...
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