Skip to content

Commit

Permalink
fix adverts
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Petrash committed May 4, 2017
1 parent ad8816d commit b5053b0
Showing 1 changed file with 54 additions and 56 deletions.
110 changes: 54 additions & 56 deletions src/Volley/FaceBundle/Resources/views/Default/post.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -90,66 +90,64 @@

{% include '@VolleyFace/Social/uptolike.html.twig' %}

{#{% include 'VolleyFaceBundle:Default/includes:ads_block_bottom_main.html.twig' %}#}
<br/>{#{% include 'VolleyFaceBundle:Default/includes:ads_block_bottom_main.html.twig' %}#}

<div class="row visible-lg visible-md visible-sm">
<div class="col">
<div id="comments">
<div class=""
data-example-id="togglable-tabs">
<ul class="nav nav-tabs"
id="myComments"
role="tablist">
<li role="presentation"
class="active">
<a href="#vk"
id="vk-tab"
role="tab"
data-toggle="tab"
aria-controls="vk"
aria-expanded="true">ВКонтакте</a>
</li>
<li role="presentation"
class=""><a
href="#fb"
role="tab"
id="fb-tab"
data-toggle="tab"
aria-controls="fb"
aria-expanded="false">Facebook</a>
</li>
</ul>
<div class="tab-content"
id="myCommentsContent">
<div class="tab-pane fade active in"
role="tabpanel"
id="vk"
aria-labelledby="vk-tab">
<!-- Put this div tag to the place, where the Comments block will be -->
<div id="vk_comments"></div>
<script type="text/javascript">
VK.Widgets.Comments('vk_comments', {
limit: 10,
width: '770',
attach: '*',
pageUrl: '{{ url('volley_face_post',{'category_slug': post.category.slug, 'post_slug': post.slug}) }}'
})
</script>
</div>
<div class="tab-pane fade"
role="tabpanel"
id="fb"
aria-labelledby="fb-tab">
<div class="fb-comments"
data-href="{{ url('volley_face_post',{'category_slug': post.category.slug, 'post_slug': post.slug}) }}"
data-width="770"
data-numposts="5"></div>
</div>
</div>
</div>

<div id="comments"
class="visible-lg visible-md visible-sm">
<div class=""
data-example-id="togglable-tabs">
<ul class="nav nav-tabs"
id="myComments"
role="tablist">
<li role="presentation"
class="active">
<a href="#vk"
id="vk-tab"
role="tab"
data-toggle="tab"
aria-controls="vk"
aria-expanded="true">ВКонтакте</a>
</li>
<li role="presentation"
class=""><a
href="#fb"
role="tab"
id="fb-tab"
data-toggle="tab"
aria-controls="fb"
aria-expanded="false">Facebook</a>
</li>
</ul>
<div class="tab-content"
id="myCommentsContent">
<div class="tab-pane fade active in"
role="tabpanel"
id="vk"
aria-labelledby="vk-tab">
<!-- Put this div tag to the place, where the Comments block will be -->
<div id="vk_comments"></div>
<script type="text/javascript">
VK.Widgets.Comments('vk_comments', {
limit: 10,
width: '770',
attach: '*',
pageUrl: '{{ url('volley_face_post',{'category_slug': post.category.slug, 'post_slug': post.slug}) }}'
})
</script>
</div>
<div class="tab-pane fade"
role="tabpanel"
id="fb"
aria-labelledby="fb-tab">
<div class="fb-comments"
data-href="{{ url('volley_face_post',{'category_slug': post.category.slug, 'post_slug': post.slug}) }}"
data-width="770"
data-numposts="5"></div>
</div>
</div>
</div>

</div>

</div>
Expand Down

0 comments on commit b5053b0

Please sign in to comment.