Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
website
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Ask
website
Commits
6c7ab9a7
Commit
6c7ab9a7
authored
Jul 15, 2012
by
Giuseppe Terrasi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
twitter, facebook, google plus button in question.html under comment box
parent
de233a05
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
2 deletions
+26
-2
forum/skins/light/templates/question.html
forum/skins/light/templates/question.html
+26
-2
No files found.
forum/skins/light/templates/question.html
View file @
6c7ab9a7
...
@@ -92,6 +92,14 @@
...
@@ -92,6 +92,14 @@
}
}
</style>
</style>
</noscript>
</noscript>
<div
id=
"fb-root"
></div>
<script>
(
function
(
d
,
s
,
id
)
{
var
js
,
fjs
=
d
.
getElementsByTagName
(
s
)[
0
];
if
(
d
.
getElementById
(
id
))
return
;
js
=
d
.
createElement
(
s
);
js
.
id
=
id
;
js
.
src
=
"
//connect.facebook.net/it_IT/all.js#xfbml=1
"
;
fjs
.
parentNode
.
insertBefore
(
js
,
fjs
);
}(
document
,
'
script
'
,
'
facebook-jssdk
'
));
</script>
{% endblock %}
{% endblock %}
{% block content %}
{% block content %}
...
@@ -113,6 +121,7 @@
...
@@ -113,6 +121,7 @@
<div
class=
"question-body"
>
<div
class=
"question-body"
>
{{ question.html|safe }}
{{ question.html|safe }}
</div>
</div>
<div
id=
"question-tags"
class=
"tags-container tags"
>
<div
id=
"question-tags"
class=
"tags-container tags"
>
{% for tag in question.tagname_list %}
{% for tag in question.tagname_list %}
<a
href=
"{% url tag_questions tag|urlencode %}"
class=
"post-tag tag-link-{{ tag }}"
<a
href=
"{% url tag_questions tag|urlencode %}"
class=
"post-tag tag-link-{{ tag }}"
...
@@ -127,8 +136,23 @@
...
@@ -127,8 +136,23 @@
{% contributors_info question %}
{% contributors_info question %}
</div>
</div>
{% comments question request.user %}
{% comments question request.user %}
</div>
<!-- start share content -->
<a
href=
"https://twitter.com/share"
class=
"twitter-share-button"
data-lang=
"it"
data-count=
"none"
data-dnt=
"true"
>
Tweet
</a>
<script>
!
function
(
d
,
s
,
id
){
var
js
,
fjs
=
d
.
getElementsByTagName
(
s
)[
0
];
if
(
!
d
.
getElementById
(
id
)){
js
=
d
.
createElement
(
s
);
js
.
id
=
id
;
js
.
src
=
"
//platform.twitter.com/widgets.js
"
;
fjs
.
parentNode
.
insertBefore
(
js
,
fjs
);}}(
document
,
"
script
"
,
"
twitter-wjs
"
);
</script>
<div
class=
"g-plus"
data-action=
"share"
data-annotation=
"none"
></div>
<script
type=
"text/javascript"
>
window
.
___gcfg
=
{
lang
:
'
it
'
};
(
function
()
{
var
po
=
document
.
createElement
(
'
script
'
);
po
.
type
=
'
text/javascript
'
;
po
.
async
=
true
;
po
.
src
=
'
https://apis.google.com/js/plusone.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
po
,
s
);
})();
</script>
<div
class=
"fb-like"
data-send=
"true"
data-layout=
"button_count"
data-width=
"450"
data-show-faces=
"false"
></div>
<!-- end share content -->
</div>
</td>
</td>
</tr>
</tr>
</table>
</table>
...
...
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