diff --git a/src/Abstract/Blogspot/IBlog.cs b/src/Abstract/Blogspot/IBlog.cs index 8d226a10..511a9870 100644 --- a/src/Abstract/Blogspot/IBlog.cs +++ b/src/Abstract/Blogspot/IBlog.cs @@ -7,7 +7,7 @@ namespace Yavsc { public interface IBlogPostPayLoad { - string? Content { get; set; } + string? Article { get; set; } string? Photo { get; set; } } diff --git a/src/Org/Resources/Yavsc.YavscLocalisation.resx b/src/Org/Resources/Yavsc.YavscLocalisation.resx index 2d854f59..8ce2f166 100644 --- a/src/Org/Resources/Yavsc.YavscLocalisation.resx +++ b/src/Org/Resources/Yavsc.YavscLocalisation.resx @@ -175,7 +175,7 @@ Commentaire Consultant Contactez un préstataire - Contenu + Contenu Nombre La convertion de '{0}' en 'double' a été impossible. Créer diff --git a/src/Org/Services/BlogSpotService.cs b/src/Org/Services/BlogSpotService.cs index cf5a0906..399a3e0f 100644 --- a/src/Org/Services/BlogSpotService.cs +++ b/src/Org/Services/BlogSpotService.cs @@ -74,7 +74,7 @@ public class BlogSpotService { throw new AuthorizationFailureException(auth); } - blog.Content = blogEdit.Content; + blog.Article = blogEdit.Article; blog.Title = blogEdit.Title; blog.Photo = blogEdit.Photo; blog.ACL = blogEdit.ACL; diff --git a/src/Org/Views/Blogspot/Create.cshtml b/src/Org/Views/Blogspot/Create.cshtml index cee73565..f428473e 100644 --- a/src/Org/Views/Blogspot/Create.cshtml +++ b/src/Org/Views/Blogspot/Create.cshtml @@ -22,7 +22,7 @@

@Model.Title

-
@Model.Content
+
@Model.Article

@@ -49,11 +49,11 @@
- +
- - +
diff --git a/src/Org/Views/Blogspot/Delete.cshtml b/src/Org/Views/Blogspot/Delete.cshtml index f4dcb692..56e2959e 100644 --- a/src/Org/Views/Blogspot/Delete.cshtml +++ b/src/Org/Views/Blogspot/Delete.cshtml @@ -18,10 +18,10 @@ @Model.Author
- @Html.DisplayNameFor(model => model.Content) + @Html.DisplayNameFor(model => model.Article)
- @Html.DisplayFor(model => model.Content) + @Html.DisplayFor(model => model.Article)
@Html.DisplayNameFor(model => model.DateModified) diff --git a/src/Org/Views/Blogspot/Details.cshtml b/src/Org/Views/Blogspot/Details.cshtml index 53158a7c..c5624e98 100644 --- a/src/Org/Views/Blogspot/Details.cshtml +++ b/src/Org/Views/Blogspot/Details.cshtml @@ -19,7 +19,7 @@ method: 'POST', contentType: "application/json", data: JSON.stringify({ - Content: $('#Comment').val(), + Article: $('#Comment').val(), ReceiverId: @Model.Id }), error: function(xhr,data) { @@ -28,7 +28,7 @@ if (xhr.responseJSON) { $('#commentValidation').html( - xhr.responseJSON.Content); + xhr.responseJSON.Article); } else { $('#commentValidation').html( "Une erreur est survenue : "+xhr.status+"
"+ @@ -69,7 +69,7 @@ $('#commentValidation').html(

@Model.Title

@Html.DisplayFor(m=>m.Author) - @Html.DisplayFor(m=>m.Content) + @Html.DisplayFor(m=>m.Article) @@ -91,7 +91,7 @@ $('#commentValidation').html( /> - + } else { diff --git a/src/Org/Views/Blogspot/Edit.cshtml b/src/Org/Views/Blogspot/Edit.cshtml index 0c17575c..038c8dcf 100644 --- a/src/Org/Views/Blogspot/Edit.cshtml +++ b/src/Org/Views/Blogspot/Edit.cshtml @@ -80,12 +80,12 @@
- +
- - +
@@ -116,7 +116,7 @@
diff --git a/src/Org/Views/Blogspot/Index.cshtml b/src/Org/Views/Blogspot/Index.cshtml index 1ee0766f..5cb2dbc8 100644 --- a/src/Org/Views/Blogspot/Index.cshtml +++ b/src/Org/Views/Blogspot/Index.cshtml @@ -57,7 +57,7 @@
- @post.Content + @post.Article @Html.DisplayFor(m => post.Author) posté le @post.DateCreated.ToString("dddd d MMM yyyy à H:mm") diff --git a/src/Org/Views/Blogspot/Title.cshtml b/src/Org/Views/Blogspot/Title.cshtml index 6accccaf..f42ffed5 100644 --- a/src/Org/Views/Blogspot/Title.cshtml +++ b/src/Org/Views/Blogspot/Title.cshtml @@ -15,7 +15,7 @@ - @((item.Content?.Length > 256) ? item.Content.Substring(0, 256) + " ..." : item.Content) + @((item.Article?.Length > 256) ? item.Article.Substring(0, 256) + " ..." : item.Article) (@item.Author.UserName , posté le @item.DateCreated.ToString("dddd d MMM yyyy à H:mm") diff --git a/src/Org/Views/Blogspot/userposts.cshtml b/src/Org/Views/Blogspot/userposts.cshtml index 98a94c10..9656a0d0 100644 --- a/src/Org/Views/Blogspot/userposts.cshtml +++ b/src/Org/Views/Blogspot/userposts.cshtml @@ -14,7 +14,7 @@ Author - @Html.DisplayNameFor(model => model.Content) + @Html.DisplayNameFor(model => model.Article) @Html.DisplayNameFor(model => model.DateModified) @@ -37,7 +37,7 @@ @item.Author?.UserName -
+
diff --git a/src/Org/Views/Comments/Create.cshtml b/src/Org/Views/Comments/Create.cshtml index 4af03601..d2a379b8 100644 --- a/src/Org/Views/Comments/Create.cshtml +++ b/src/Org/Views/Comments/Create.cshtml @@ -12,10 +12,10 @@
- +
- - + +
diff --git a/src/Org/Views/Comments/Delete.cshtml b/src/Org/Views/Comments/Delete.cshtml index 3f4faafa..ea771c84 100644 --- a/src/Org/Views/Comments/Delete.cshtml +++ b/src/Org/Views/Comments/Delete.cshtml @@ -12,10 +12,10 @@
- @Html.DisplayNameFor(model => model.Content) + @Html.DisplayNameFor(model => model.Article)
- @Html.DisplayFor(model => model.Content) + @Html.DisplayFor(model => model.Article)
@Html.DisplayNameFor(model => model.DateCreated) diff --git a/src/Org/Views/Comments/Details.cshtml b/src/Org/Views/Comments/Details.cshtml index 6c9e2ada..b0659df0 100644 --- a/src/Org/Views/Comments/Details.cshtml +++ b/src/Org/Views/Comments/Details.cshtml @@ -11,10 +11,10 @@
- @Html.DisplayNameFor(model => model.Content) + @Html.DisplayNameFor(model => model.Article)
- @Html.DisplayFor(model => model.Content) + @Html.DisplayFor(model => model.Article)
@Html.DisplayNameFor(model => model.DateCreated) diff --git a/src/Org/Views/Comments/Edit.cshtml b/src/Org/Views/Comments/Edit.cshtml index c87e17f5..2ba23000 100644 --- a/src/Org/Views/Comments/Edit.cshtml +++ b/src/Org/Views/Comments/Edit.cshtml @@ -13,10 +13,10 @@
- +
- - + +
diff --git a/src/Org/Views/Comments/Index.cshtml b/src/Org/Views/Comments/Index.cshtml index b77720a9..7e70e344 100644 --- a/src/Org/Views/Comments/Index.cshtml +++ b/src/Org/Views/Comments/Index.cshtml @@ -12,7 +12,7 @@
- @Html.DisplayNameFor(model => model.Content) + @Html.DisplayNameFor(model => model.Article) @Html.DisplayNameFor(model => model.DateCreated) @@ -35,7 +35,7 @@ @foreach (var item in Model) {
- @Html.DisplayFor(modelItem => item.Content) + @Html.DisplayFor(modelItem => item.Article) @Html.DisplayFor(modelItem => item.DateCreated) diff --git a/src/Org/Views/Shared/Components/Comment/Default.cshtml b/src/Org/Views/Shared/Components/Comment/Default.cshtml index d4ff0307..77a320e5 100644 --- a/src/Org/Views/Shared/Components/Comment/Default.cshtml +++ b/src/Org/Views/Shared/Components/Comment/Default.cshtml @@ -2,7 +2,7 @@
- @Model.Content + @Model.Article @if (Model.Children!=null) {
diff --git a/src/Org/Views/Shared/_FSScriptsPartial.cshtml b/src/Org/Views/Shared/_FSScriptsPartial.cshtml index 43dc0a2b..5ea2906b 100644 --- a/src/Org/Views/Shared/_FSScriptsPartial.cshtml +++ b/src/Org/Views/Shared/_FSScriptsPartial.cshtml @@ -16,7 +16,7 @@ for (var i = 0; i < response.length; i++) { var filer = response[i]; $('

' + filer.FileName + '

').appendTo('#ql-editor-2'); - updateMD('Content', $('#contentview').html()); + updateMD('Article', $('#contentview').html()); } }, url: '/api/fs' diff --git a/src/Server/Models/Blog/BlogPost.cs b/src/Server/Models/Blog/BlogPost.cs index d3711a91..805a431a 100644 --- a/src/Server/Models/Blog/BlogPost.cs +++ b/src/Server/Models/Blog/BlogPost.cs @@ -16,7 +16,7 @@ namespace Yavsc.Models.Blog Id = post.Id; AuthorId = post.AuthorId; ACL = post.ACL; - Content = post.Content; + Article = post.Article; Title = post.Title; Publish = publish; } @@ -39,7 +39,7 @@ namespace Yavsc.Models.Blog public string Title { get; set; } [StringLength(56224)] - public string? Content { get; set; } + public string? Article { get; set; } [InverseProperty("Target")] [Display(Name = "Liste de contrôle d'accès")] diff --git a/src/Server/Resources/Models.Billing.NominativeServiceCommand.resx b/src/Server/Resources/Models.Billing.NominativeServiceCommand.resx index 98176f41..dae99fb9 100644 --- a/src/Server/Resources/Models.Billing.NominativeServiceCommand.resx +++ b/src/Server/Resources/Models.Billing.NominativeServiceCommand.resx @@ -174,7 +174,7 @@ Commentaire Consultant Contactez un préstataire - Contenu + Contenu Nombre La convertion de '{0}' en 'double' a été impossible. Créer diff --git a/src/Server/Resources/Yavsc.Services.MailSender.pt.resx b/src/Server/Resources/Yavsc.Services.MailSender.pt.resx index fbb26b30..acd71328 100644 --- a/src/Server/Resources/Yavsc.Services.MailSender.pt.resx +++ b/src/Server/Resources/Yavsc.Services.MailSender.pt.resx @@ -172,7 +172,7 @@ comentário consultor Entre em contato com um inquilino - conteúdo + conteúdo número A conversão de '{0}' para 'double' era impossível. criar