diff options
| author | hukl <contact@smyck.org> | 2009-09-01 12:20:37 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-09-01 12:20:37 +0200 |
| commit | 8270fce1a261a86f4b8b71c406a3fb37e0fcff9e (patch) | |
| tree | 65df16be45bf75cac246b133ec668794a9ccdca9 /app/views/custom | |
| parent | b3a5a2acbf904379928adb83e7789384c859c3f8 (diff) | |
changed templates to display image beneath abstract
Diffstat (limited to 'app/views/custom')
| -rw-r--r-- | app/views/custom/page_templates/public/no_date_and_author.html.erb | 1 | ||||
| -rw-r--r-- | app/views/custom/page_templates/public/standard_template.html.erb | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/app/views/custom/page_templates/public/no_date_and_author.html.erb b/app/views/custom/page_templates/public/no_date_and_author.html.erb index 254fe45..32eb64a 100644 --- a/app/views/custom/page_templates/public/no_date_and_author.html.erb +++ b/app/views/custom/page_templates/public/no_date_and_author.html.erb | |||
| @@ -2,6 +2,7 @@ | |||
| 2 | <h2><%= @page.title %></h2> | 2 | <h2><%= @page.title %></h2> |
| 3 | <hr class="subtitle" /> | 3 | <hr class="subtitle" /> |
| 4 | <p><em><%= @page.abstract %></em></p> | 4 | <p><em><%= @page.abstract %></em></p> |
| 5 | <p><%= headline_image %></p> | ||
| 5 | <%= aggregate?(@page.body) %> | 6 | <%= aggregate?(@page.body) %> |
| 6 | </div> | 7 | </div> |
| 7 | 8 | ||
diff --git a/app/views/custom/page_templates/public/standard_template.html.erb b/app/views/custom/page_templates/public/standard_template.html.erb index 6fe7176..d321472 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb | |||
| @@ -2,8 +2,8 @@ | |||
| 2 | <h2><%= @page.title %></h2> | 2 | <h2><%= @page.title %></h2> |
| 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> | 3 | <h3><%= date_for_page @page %>, <%= @page.user.try(:login) %></h3> |
| 4 | <hr class="subtitle" /> | 4 | <hr class="subtitle" /> |
| 5 | <p><%= headline_image %></p> | ||
| 6 | <p><em><%= @page.abstract %></em></p> | 5 | <p><em><%= @page.abstract %></em></p> |
| 6 | <p><%= headline_image %></p> | ||
| 7 | <%= aggregate?(@page.body) %> | 7 | <%= aggregate?(@page.body) %> |
| 8 | </div> | 8 | </div> |
| 9 | 9 | ||
