rosa-build/app/views/pages/tour/_entry.html.haml

20 lines
591 B
Plaintext
Raw Normal View History

2012-05-15 16:30:59 +01:00
.feature-wrap
.feature
-if is_left
.left
%h1=t "tour.#{entry}"
%p
=raw t "tour.#{entry}_description"
.right
%a.pirobox{:href => image_path("tour/big/#{entry}.png"), :rel => "single", :title => t("tour.#{entry}")}
=image_tag "tour/#{entry}.png"
-else
.left
%a.pirobox{:href => image_path("tour/big/#{entry}.png"), :rel => "single", :title => t("tour.#{entry}")}
=image_tag "tour/#{entry}.png"
.right
%h1=t "tour.#{entry}"
%p
=raw t "tour.#{entry}_description"
.both