From 20df6404debbe31e5dba0d4b11718e351aaa2598 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 5 Sep 2017 23:19:16 +0200 Subject: [PATCH] seems to be due to mono upgrade ... --- .../Haircut/BrusherProfileController.cs | 3 ++- Yavsc/Views/Command/Create.cshtml | 18 ++++++++---------- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/Yavsc/Controllers/Haircut/BrusherProfileController.cs b/Yavsc/Controllers/Haircut/BrusherProfileController.cs index 02280412..6328c4f2 100644 --- a/Yavsc/Controllers/Haircut/BrusherProfileController.cs +++ b/Yavsc/Controllers/Haircut/BrusherProfileController.cs @@ -2,15 +2,16 @@ using Yavsc.Models; using Yavsc.Models.Haircut; using Microsoft.AspNet.Authorization; using Yavsc.Controllers.Generic; +using Microsoft.Extensions.Localization; namespace Yavsc.Controllers { [Authorize(Roles="Performer")] public class BrusherProfileController : SettingsController { - public BrusherProfileController(ApplicationDbContext context) : base(context) { + } } diff --git a/Yavsc/Views/Command/Create.cshtml b/Yavsc/Views/Command/Create.cshtml index d46f709b..5c29c08a 100644 --- a/Yavsc/Views/Command/Create.cshtml +++ b/Yavsc/Views/Command/Create.cshtml @@ -1,7 +1,5 @@ @model RdvQuery -@{ ViewData["Title"] = "Proposition de rendez-vous "+ -@SR["to"]+" "+ Model.PerformerProfile.Performer.UserName -+" ["+SR[ViewBag.Activity.Code]+"]"; } +@{ ViewData["Title"] = $"Proposition de rendez-vous à {Model.PerformerProfile.Performer.UserName} [{ViewBag.Activity.Name}]"; } @@ -124,14 +122,14 @@

@ViewData["Title"]

-

@SR["Fill in your book query"]

+

Saisissez votre demande de rendez-vous


Votre évennement
@@ -151,15 +149,15 @@
- +
@@ -171,7 +169,7 @@
@@ -191,7 +189,7 @@
- +
@Html.HiddenFor(model=>model.ClientId)