From 4d9c2857002108dc1c0b69fd5e7d63a886e4011d Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Mon, 20 Mar 2023 20:26:00 +0000 Subject: [PATCH] 50 left --- src/Yavsc/Views/Blogspot/Details.cshtml | 2 +- src/Yavsc/Views/Blogspot/Index.cshtml | 2 +- src/Yavsc/Views/Blogspot/Title.cshtml | 4 +- .../Views/Command/BookHaircutStar.cshtml | 118 +++++++++--------- ...s.Booking.MusicianSettingsEditor.fr.cshtml | 4 +- .../Views/HairCutCommand/ClientCancel.cshtml | 2 +- src/Yavsc/Views/Home/About.cshtml | 2 +- src/Yavsc/Views/Home/About.pt.cshtml | 2 +- src/Yavsc/Views/Home/AboutAccess.cshtml | 2 +- src/Yavsc/Views/Home/AboutMarkdown.cshtml | 2 +- src/Yavsc/Views/MailingTemplate/Create.cshtml | 6 - src/Yavsc/Views/Manage/Index.cshtml | 2 +- .../Components/BlogIndex/Default.cshtml | 4 +- 13 files changed, 70 insertions(+), 82 deletions(-) diff --git a/src/Yavsc/Views/Blogspot/Details.cshtml b/src/Yavsc/Views/Blogspot/Details.cshtml index 26aa1d24..e610197a 100644 --- a/src/Yavsc/Views/Blogspot/Details.cshtml +++ b/src/Yavsc/Views/Blogspot/Details.cshtml @@ -112,7 +112,7 @@ $('span.field-validation-valid[data-valmsg-for="Content"]').html( } -@if ((await AuthorizationService.AuthorizeAsync(User, Model, new EditRequirement())).IsSuccess) { +@if ((await AuthorizationService.AuthorizeAsync(User, Model, new EditRequirement())).Succeeded) { Edit } Back to List diff --git a/src/Yavsc/Views/Blogspot/Index.cshtml b/src/Yavsc/Views/Blogspot/Index.cshtml index 7c7bad7e..e111eafd 100644 --- a/src/Yavsc/Views/Blogspot/Index.cshtml +++ b/src/Yavsc/Views/Blogspot/Index.cshtml @@ -45,6 +45,6 @@ }
- @await Component.InvokeAsync("BlogIndex",User.GetUserId()??"_anonymous_",0,25) + @await Component.InvokeAsync("BlogIndex",new{ id = User.GetUserId() ?? "_anonymous_" ) }
diff --git a/src/Yavsc/Views/Blogspot/Title.cshtml b/src/Yavsc/Views/Blogspot/Title.cshtml index e1c1e3e8..7f07299e 100644 --- a/src/Yavsc/Views/Blogspot/Title.cshtml +++ b/src/Yavsc/Views/Blogspot/Title.cshtml @@ -41,12 +41,12 @@