summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/content/_headline_image.html.erb6
-rw-r--r--app/views/custom/partials/_article.html.erb2
-rw-r--r--app/views/search/_search_result.html.erb8
3 files changed, 12 insertions, 4 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" %>
diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb
index 4f772ae..433c31c 100644
--- a/app/views/custom/partials/_article.html.erb
+++ b/app/views/custom/partials/_article.html.erb
@@ -3,5 +3,5 @@
3 <div class="author_and_date"> 3 <div class="author_and_date">
4 <%= date_for_page page %>, <%= author_for_page page %> 4 <%= date_for_page page %>, <%= author_for_page page %>
5 </div> 5 </div>
6 <p class="excerpt"><%= page.abstract %></p> 6 <p class="excerpt"><%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %></p>
7</div> \ No newline at end of file 7</div> \ No newline at end of file
diff --git a/app/views/search/_search_result.html.erb b/app/views/search/_search_result.html.erb
index b480f89..14898a2 100644
--- a/app/views/search/_search_result.html.erb
+++ b/app/views/search/_search_result.html.erb
@@ -1,4 +1,6 @@
1<% if node.head %>
1<div class="article_partial"> 2<div class="article_partial">
2 <h2 class="headline"><%= link_to node.head.title, content_path(node.unique_path) %></h2> 3 <h2 class="headline"><%= link_to node.head.title, content_path(node.unique_path) %></h2>
3 <p class="excerpt"><%= node.head.abstract %></p> 4 <p class="excerpt"><%= node.head.abstract %></p>
4</div> \ No newline at end of file 5</div>
6<% end %> \ No newline at end of file