diff options
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/content/_headline_image.html.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/content/_headline_image.html.erb b/app/views/content/_headline_image.html.erb index ac2e86a..71a4cb3 100644 --- a/app/views/content/_headline_image.html.erb +++ b/app/views/content/_headline_image.html.erb | |||
| @@ -3,6 +3,12 @@ | |||
| 3 | ("galleries/" + @page.node.unique_name) | 3 | ("galleries/" + @page.node.unique_name) |
| 4 | ) %> | 4 | ) %> |
| 5 | 5 | ||
| 6 | <% if 1 < @images.length %> | ||
| 7 | <div class="right"> | ||
| 8 | <%= "#{@images.length} #{t(:images)}" %> | ||
| 9 | </div> | ||
| 10 | <% end %> | ||
| 11 | |||
| 6 | <div class="shadowbox_images" style="display: none"> | 12 | <div class="shadowbox_images" style="display: none"> |
| 7 | <% @images.each do |image| %> | 13 | <% @images.each do |image| %> |
| 8 | <%= link_to "hallo", image.upload.url, :class => "shadowbox_image" %> | 14 | <%= link_to "hallo", image.upload.url, :class => "shadowbox_image" %> |
