From e863b6f18b00b37804e53839ebc983b0c8298d21 Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 8 Sep 2023 12:40:18 +0200 Subject: [PATCH 1/2] lib/chiya_web/controllers/page_html/wiki.html.heex aktualisiert --- lib/chiya_web/controllers/page_html/wiki.html.heex | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/chiya_web/controllers/page_html/wiki.html.heex b/lib/chiya_web/controllers/page_html/wiki.html.heex index b9de616..b2c7d3d 100644 --- a/lib/chiya_web/controllers/page_html/wiki.html.heex +++ b/lib/chiya_web/controllers/page_html/wiki.html.heex @@ -15,13 +15,13 @@

Recently Updated

<%= if @channel.layout == :default do %> - <.note_list_default note={@channel.notes}/> + <.note_list_default note={@notes_updated}/> <% end %> <%= if @channel.layout == :gallery do %> - <.note_list_gallery note={@channel.notes}/> + <.note_list_gallery note={@notes_updated}/> <% end %> <%= if @channel.layout == :microblog do %> - <.note_list_microblog note={@channel.notes}/> + <.note_list_microblog note={@notes_updated}/> <% end %> @@ -29,13 +29,13 @@

Recently Published

<%= if @channel.layout == :default do %> - <.note_list_default note={@channel.notes}/> + <.note_list_default note={@notes_published}/> <% end %> <%= if @channel.layout == :gallery do %> - <.note_list_gallery note={@channel.notes}/> + <.note_list_gallery note={@notes_published}/> <% end %> <%= if @channel.layout == :microblog do %> - <.note_list_microblog note={@channel.notes}/> + <.note_list_microblog note={@notes_published}/> <% end %> From 5f7be6aca1fd8fc5e6509562ddd2310f3870f777 Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 8 Sep 2023 12:40:46 +0200 Subject: [PATCH 2/2] lib/chiya_web/controllers/page_html/bookmarks.html.heex aktualisiert --- lib/chiya_web/controllers/page_html/bookmarks.html.heex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/chiya_web/controllers/page_html/bookmarks.html.heex b/lib/chiya_web/controllers/page_html/bookmarks.html.heex index 0a48f56..ef66ba1 100644 --- a/lib/chiya_web/controllers/page_html/bookmarks.html.heex +++ b/lib/chiya_web/controllers/page_html/bookmarks.html.heex @@ -9,13 +9,13 @@
<%= if @channel.layout == :default do %> - <.note_list_default notes={@channel.notes}/> + <.note_list_default notes={@notes}/> <% end %> <%= if @channel.layout == :gallery do %> - <.note_list_gallery notes={@channel.notes}/> + <.note_list_gallery notes={@notes}/> <% end %> <%= if @channel.layout == :microblog do %> - <.note_list_microblog notes={@channel.notes}/> + <.note_list_microblog notes={@notes}/> <% end %>