From b2f8a7796007f5c494a4fab2459e3680c648ed3e Mon Sep 17 00:00:00 2001 From: inhji Date: Mon, 3 Jul 2023 13:50:15 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Elib/chiya=5Fweb/controllers/setting=5F?= =?UTF-8?q?html/show.html.heex=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chiya_web/controllers/setting_html/show.html.heex | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/chiya_web/controllers/setting_html/show.html.heex b/lib/chiya_web/controllers/setting_html/show.html.heex index 93f3545..0806d76 100644 --- a/lib/chiya_web/controllers/setting_html/show.html.heex +++ b/lib/chiya_web/controllers/setting_html/show.html.heex @@ -31,14 +31,17 @@ <:item title="User agent"><%= @setting.user_agent %> <:item title="Custom css"><%= @setting.custom_css %> <:item title="Custom html"><%= @setting.custom_html %> - <:item title="Home Channel"> - <%= if @setting.home_channel, do: @setting.home_channel.name %> - <:item title="Default Channel"> <%= if @setting.default_channel, do: @setting.default_channel.name %> - <:item title="Micropub Default Channel"> + <:item title="Home Channel"> + <%= if @setting.home_channel, do: @setting.home_channel.name %> + + <:item title="Micropub Channel"> <%= if @setting.micropub_channel, do: @setting.micropub_channel.name %> + <:item title="Wiki Channel"> + <%= if @setting.micropub_channel, do: @setting.wiki_channel.name %> + <% end %>