From ffeddcd5692c63482064dc3be23c0618af6a3c08 Mon Sep 17 00:00:00 2001 From: Roman Opalko Date: Wed, 14 Sep 2022 16:23:05 +0200 Subject: [PATCH] w3c --- .data/app.xml | 51 ++++++++++++++++++++++++++++++++++++++++++++- bs4/_Channel.cshtml | 6 +++--- bs5/_Channel.cshtml | 19 ++++++++++------- 3 files changed, 64 insertions(+), 12 deletions(-) diff --git a/.data/app.xml b/.data/app.xml index f0b7fa3..531b3c3 100644 --- a/.data/app.xml +++ b/.data/app.xml @@ -1,5 +1,5 @@ - +
@@ -2771,19 +2771,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/bs4/_Channel.cshtml b/bs4/_Channel.cshtml index ce1710d..e967e93 100644 --- a/bs4/_Channel.cshtml +++ b/bs4/_Channel.cshtml @@ -25,7 +25,7 @@
@Kit.Image.Picture(channel.Field("Image"), settings: imgSettings, width: "1000", imgClass:"w-100 rounded-sm")
-

+

@episodes.Count() @Resources.Episodes


@Html.Raw(channel.Description)
@@ -47,9 +47,9 @@
@channel.Owner.FullName
@Html.Raw(channel.Description)
-

+

@(Text.Has(channel.Category.SubCategory) ? channel.Category.SubCategory : channel.Category.MainCategory) -

+
diff --git a/bs5/_Channel.cshtml b/bs5/_Channel.cshtml index 8aad65d..99b721e 100644 --- a/bs5/_Channel.cshtml +++ b/bs5/_Channel.cshtml @@ -10,7 +10,7 @@ var channelToolbar = Kit.Toolbar.Default().Settings(hover:"left", autoAddMore:"start"); var episodeToolbar = Kit.Toolbar.Empty() - .Settings(hover: "left") + .Settings(hover: "left", show: "always") .New("Episode", prefill:"Date=" + @DateTime.Now.ToString("yyyy-MM-dd") + "&prefill:Channels=" + channel.EntityGuid.ToString() + "&prefill:Author=" + channel.Owner.EntityGuid.ToString()); @@ -18,18 +18,18 @@ var channelIsDemoItem = channel.IsDemoItem; } -