Commit c5a8c717a0e9ebd33f6fd37458178a0cef553b45

Authored by Antonio Terceiro
2 parents 3d223846 ee2c8e33

Merge branch 'addthis-on-private-pages' into 'master'

addthis: only show for public pages

See merge request !638
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/content_viewer/view_page.html.erb
... ... @@ -24,7 +24,7 @@
24 24 <%= render :partial => 'article_toolbar' %>
25 25 </div>
26 26  
27   -<% if NOOSFERO_CONF['addthis_enabled'] %>
  27 +<% if NOOSFERO_CONF['addthis_enabled'] and @page.public? %>
28 28 <%= render :partial => 'addthis' %>
29 29 <% end %>
30 30  
... ...