From c4296b59a7f9d667d295f9c37b71f7849b818fb3 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Tue, 28 Jan 2025 22:47:15 +0100 Subject: Big overhaul patch and style changes --- app/views/custom/page_templates/public/no_date_and_author.html.erb | 4 ++-- .../page_templates/public/no_title_abstract_date_and_author.html.erb | 4 ++-- app/views/custom/page_templates/public/standard_template.html.erb | 4 ++-- app/views/custom/page_templates/public/title_only.html.erb | 4 ++-- app/views/custom/page_templates/public/update.html.erb | 4 ++-- app/views/custom/partials/_article.html.erb | 4 ++-- app/views/custom/partials/_no_date_and_author.html.erb | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) (limited to 'app/views/custom') 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 b0198057..fa39e542 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 @@ -1,8 +1,8 @@ -
+

<%= @page.title %>

<%= sanitize( @page.abstract ) %>

<%= headline_image %>
<%= aggregate?(@page.body) %>
-<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file +<%= will_paginate(@content_collection) if @content_collection %> diff --git a/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb b/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb index 83cbff65..64e2a7c3 100644 --- a/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb +++ b/app/views/custom/page_templates/public/no_title_abstract_date_and_author.html.erb @@ -1,6 +1,6 @@ -
+
<%= headline_image %>
<%= aggregate?(@page.body) %>
-<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file +<%= will_paginate(@content_collection) if @content_collection %> 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 8000af5b..bbc8cd0c 100644 --- a/app/views/custom/page_templates/public/standard_template.html.erb +++ b/app/views/custom/page_templates/public/standard_template.html.erb @@ -1,8 +1,8 @@ -
+

<%= @page.title %>

<%= sanitize( @page.abstract )%>

<%= headline_image %>
<%= aggregate?(@page.body) %>
-<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file +<%= will_paginate(@content_collection) if @content_collection %> diff --git a/app/views/custom/page_templates/public/title_only.html.erb b/app/views/custom/page_templates/public/title_only.html.erb index 09c74559..42fe9a64 100644 --- a/app/views/custom/page_templates/public/title_only.html.erb +++ b/app/views/custom/page_templates/public/title_only.html.erb @@ -1,7 +1,7 @@ -
+

<%= @page.title %>

<%= headline_image %>
<%= aggregate?(@page.body) %>
-<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file +<%= will_paginate(@content_collection) if @content_collection %> diff --git a/app/views/custom/page_templates/public/update.html.erb b/app/views/custom/page_templates/public/update.html.erb index 5ea277ad..d5995ace 100644 --- a/app/views/custom/page_templates/public/update.html.erb +++ b/app/views/custom/page_templates/public/update.html.erb @@ -1,4 +1,4 @@ -
+

<%= @page.title %>

<%= date_for_page @page %>, <%= @page.user.try(:login) %>

<%= sanitize( @page.abstract )%>

@@ -6,4 +6,4 @@
<%= aggregate?(@page.body) %>
-<%= will_paginate(@content_collection) if @content_collection %> \ No newline at end of file +<%= will_paginate(@content_collection) if @content_collection %> diff --git a/app/views/custom/partials/_article.html.erb b/app/views/custom/partials/_article.html.erb index 433c31c8..b738ac78 100644 --- a/app/views/custom/partials/_article.html.erb +++ b/app/views/custom/partials/_article.html.erb @@ -1,7 +1,7 @@ -
+

<%= link_to_path page.title, page.node.unique_name %>

<%= date_for_page page %>, <%= author_for_page page %>

<%= page.abstract %> <%= link_to_path t(:more), page.node.unique_name %>

-
\ No newline at end of file +
diff --git a/app/views/custom/partials/_no_date_and_author.html.erb b/app/views/custom/partials/_no_date_and_author.html.erb index 61d6aacf..fed02ac9 100644 --- a/app/views/custom/partials/_no_date_and_author.html.erb +++ b/app/views/custom/partials/_no_date_and_author.html.erb @@ -1,4 +1,4 @@ -
+

<%= link_to page.title, content_path(page.node.unique_path) %>

<%= page.abstract %>

-
\ No newline at end of file +
-- cgit v1.3