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
67afb5b1
Commit
67afb5b1
authored
Feb 14, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure twitter widgets are loaded when rendered through turbolinks.
parent
9efb838b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
app/views/events/event/_created_project.html.haml
app/views/events/event/_created_project.html.haml
+1
-2
No files found.
app/views/events/event/_created_project.html.haml
View file @
67afb5b1
...
@@ -17,7 +17,6 @@
...
@@ -17,7 +17,6 @@
%a
.twitter-share-button
{
|
%a
.twitter-share-button
{
|
href:
"https://twitter.com/share"
,
|
href:
"https://twitter.com/share"
,
|
class:
"twitter-share-button"
,
|
"data-url"
=>
event
.
project
.
web_url
,
|
"data-url"
=>
event
.
project
.
web_url
,
|
"data-text"
=>
"I just created a new project in GitLab! GitLab is version control on your server."
,
|
"data-text"
=>
"I just created a new project in GitLab! GitLab is version control on your server."
,
|
"data-size"
=>
"medium"
,
|
"data-size"
=>
"medium"
,
|
...
@@ -25,4 +24,4 @@
...
@@ -25,4 +24,4 @@
"data-hashtags"
=>
"gitlab"
,
|
"data-hashtags"
=>
"gitlab"
,
|
"data-count"
=>
"none"
}
"data-count"
=>
"none"
}
Tweet
Tweet
<script>
!
function
(
d
,
s
,
id
){
var
js
,
fjs
=
d
.
getElementsByTagName
(
s
)[
0
],
p
=
/^http:/
.
test
(
d
.
location
)?
'
http
'
:
'
https
'
;
if
(
!
d
.
getElementById
(
id
)){
js
=
d
.
createElement
(
s
);
js
.
id
=
id
;
js
.
src
=
p
+
'
://platform.twitter.com/widgets.js
'
;
fjs
.
parentNode
.
insertBefore
(
js
,
fjs
);}}(
document
,
'
script
'
,
'
twitter-wjs
'
);
</script>
%script
{
src:
"//platform.twitter.com/widgets.js"
}
\ No newline at end of file
\ 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