foto fb button

This commit is contained in:
Andreas Stephanides
2015-02-25 17:15:14 +01:00
parent 2f37259a53
commit 444db14e98

View File

@@ -9,6 +9,8 @@ top: 0;" %>
<div style="position:absolute; bottom:0"> <div style="position:absolute; bottom:0">
<%= link_to ff_icon('icon-circle-arrow-down').html_safe, @foto.datei.url, <%= link_to ff_icon('icon-circle-arrow-down').html_safe, @foto.datei.url,
:class=>"btn",title: I18n.t('fotos.download')+': '+@foto.title,:target=>:blank, :style=>"" %> :class=>"btn",title: I18n.t('fotos.download')+': '+@foto.title,:target=>:blank, :style=>"" %>
<div class="fb-like" data-href"<%= gallery_path(@foto.gallery, {fotoid:@foto.id,theme: nil, locale: nil})%>" data-layout="standard" data-action="like" data-show-faces="true" data-share="true"></div>
<p id="notice"><%= notice %></p> <p id="notice"><%= notice %></p>
</div> </div>