diff --git a/src/Yavsc/Views/Blogspot/Details.cshtml b/src/Yavsc/Views/Blogspot/Details.cshtml
index 614a4475..3c90e2ca 100644
--- a/src/Yavsc/Views/Blogspot/Details.cshtml
+++ b/src/Yavsc/Views/Blogspot/Details.cshtml
@@ -84,7 +84,7 @@ $('span.field-validation-valid[data-valmsg-for="Content"]').html(
@Html.DisplayFor(model => model.DateCreated)
- @Component.Invoke("Tagger",Model)
+ @Component.Invoke("Tagger",Model, null, null)
-@Html.HiddenFor(model=>model.ClientId)
+@Html.HiddenFor("ClientId")
@Html.HiddenFor(model=>model.PerformerId)
@Html.HiddenFor(model=>model.ActivityCode)
diff --git a/src/Yavsc/Views/Devices/Delete.cshtml b/src/Yavsc/Views/Devices/Delete.cshtml
index 620423bd..279c6abb 100644
--- a/src/Yavsc/Views/Devices/Delete.cshtml
+++ b/src/Yavsc/Views/Devices/Delete.cshtml
@@ -17,12 +17,6 @@
@Html.DisplayFor(model => model.DeclarationDate)
-
- @Html.DisplayNameFor(model => model.GCMRegistrationId)
-
-
- @Html.DisplayFor(model => model.GCMRegistrationId)
-
@Html.DisplayNameFor(model => model.Model)
diff --git a/src/Yavsc/Views/Devices/Details.cshtml b/src/Yavsc/Views/Devices/Details.cshtml
index 7997a8ed..df5423ad 100644
--- a/src/Yavsc/Views/Devices/Details.cshtml
+++ b/src/Yavsc/Views/Devices/Details.cshtml
@@ -16,12 +16,6 @@
@Html.DisplayFor(model => model.DeclarationDate)
-
- @Html.DisplayNameFor(model => model.GCMRegistrationId)
-
-
- @Html.DisplayFor(model => model.GCMRegistrationId)
-
@Html.DisplayNameFor(model => model.Model)
diff --git a/src/Yavsc/Views/Do/Details.cshtml b/src/Yavsc/Views/Do/Details.cshtml
index c7d768e7..52e62ec0 100644
--- a/src/Yavsc/Views/Do/Details.cshtml
+++ b/src/Yavsc/Views/Do/Details.cshtml
@@ -14,7 +14,7 @@
@Html.DisplayFor(m=>m.Declaration.Does)
@if (Model.NeedsSettings) {
- @SR[Model.Declaration.Does.SettingsClassName]
+ @Model.Declaration.Does.SettingsClassName
@if (Model.Settings==null) {
Non renseigné: Cliquez vite
ici pour positionner les
paramĂȘtres de cette activitĂ©
diff --git a/src/Yavsc/Views/Do/Yavsc.Models.Booking.MusicianSettingsEditor.fr.cshtml b/src/Yavsc/Views/Do/Yavsc.Models.Booking.MusicianSettingsEditor.fr.cshtml
index 5e24f859..0ca02e84 100644
--- a/src/Yavsc/Views/Do/Yavsc.Models.Booking.MusicianSettingsEditor.fr.cshtml
+++ b/src/Yavsc/Views/Do/Yavsc.Models.Booking.MusicianSettingsEditor.fr.cshtml
@@ -5,7 +5,7 @@
}
-@foreach (var instrument in Model.Instrumentation)
+@foreach (var instrument in Model)
{
- @instrument.Name
diff --git a/src/Yavsc/Views/FrontOffice/HairCut.cshtml b/src/Yavsc/Views/FrontOffice/HairCut.cshtml
index 2dd207e5..7086f6ad 100644
--- a/src/Yavsc/Views/FrontOffice/HairCut.cshtml
+++ b/src/Yavsc/Views/FrontOffice/HairCut.cshtml
@@ -1,7 +1,7 @@
@model IEnumerable
@{
- ViewData["Title"] = (ViewBag.Activity?.Name ?? SR["Any"]) ;
+ ViewData["Title"] = ViewBag.Activity?.Name ?? "Any" ;
}
@ViewData["Title"]
@ViewBag.Activity.Description
diff --git a/src/Yavsc/Views/_ViewImports.cshtml b/src/Yavsc/Views/_ViewImports.cshtml
index 71afba37..9b804f20 100755
--- a/src/Yavsc/Views/_ViewImports.cshtml
+++ b/src/Yavsc/Views/_ViewImports.cshtml
@@ -25,3 +25,4 @@
@using PayPal.PayPalAPIInterfaceService.Model;
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
+@inject IAuthorizationService AuthorizationService