diff --git a/src/Yavsc.Org/Controllers/Survey/BugController.cs b/src/Yavsc.Org/Controllers/Survey/BugController.cs index 6a577058..7e40ef21 100644 --- a/src/Yavsc.Org/Controllers/Survey/BugController.cs +++ b/src/Yavsc.Org/Controllers/Survey/BugController.cs @@ -14,16 +14,13 @@ namespace Yavsc.Controllers { readonly ApplicationDbContext _context; readonly IStringLocalizer _localizer; - readonly IStringLocalizer _statusLocalizer; - public BugController(ApplicationDbContext context, - IStringLocalizer localizer, - IStringLocalizer statusLocalizer + public BugController(ApplicationDbContext context, + IStringLocalizer localizer ) { _context = context; - _localizer = localizer; - _statusLocalizer = statusLocalizer; + _localizer = localizer; } // GET: Bug @@ -61,11 +58,11 @@ namespace Yavsc.Controllers } IEnumerable Statuses(BugStatus ?status) => - _statusLocalizer.CreateSelectListItems(typeof(BugStatus), status); + _localizer.CreateSelectListItems(typeof(BugStatus), status); - IEnumerable Features(ApplicationDbContext context) => + IEnumerable Features(ApplicationDbContext context) => context.Feature.CreateSelectListItems(f => f.Id.ToString(), f => $"{f.ShortName} ({f.Description})", null) - .AddNull(_localizer["noAttachedFID"]); + .AddNull(_localizer["noAttachedFID"]); // POST: Bug/Create [HttpPost] @@ -152,20 +149,20 @@ namespace Yavsc.Controllers return RedirectToAction("Index"); } - + [Authorize("AdministratorOnly")] public async Task DeleteAllLike(long? id) { if (id == null) { return NotFound(); - } - Bug bugref = await _context.Bug.SingleAsync(m => m.Id == id); - if (bugref == null) + } + Bug bugRef = await _context.Bug.SingleAsync(m => m.Id == id); + if (bugRef == null) { return null; } - var bugs = _context.Bug.Where(b => b.Description == bugref.Description); + var bugs = _context.Bug.Where(b => b.Description == bugRef.Description); return View(bugs); } diff --git a/src/Yavsc.Org/Resources/Controllers/BugController.resx b/src/Yavsc.Org/Resources/Controllers/BugController.resx index c773fcf3..bd4fae3f 100644 --- a/src/Yavsc.Org/Resources/Controllers/BugController.resx +++ b/src/Yavsc.Org/Resources/Controllers/BugController.resx @@ -59,5 +59,10 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 Pas de fonctionalité attachée + inséré + Confirmé + Rejeté + Fonctionnalité + Fixé diff --git a/src/Yavsc.Org/Views/Administration/Enroll.cshtml b/src/Yavsc.Org/Views/Administration/Enroll.cshtml index 78125398..155e0e6b 100644 --- a/src/Yavsc.Org/Views/Administration/Enroll.cshtml +++ b/src/Yavsc.Org/Views/Administration/Enroll.cshtml @@ -21,7 +21,7 @@
- +
diff --git a/src/Yavsc.Org/Views/BrusherProfile/Index.cshtml b/src/Yavsc.Org/Views/BrusherProfile/Index.cshtml index 65fb9d38..eb737866 100644 --- a/src/Yavsc.Org/Views/BrusherProfile/Index.cshtml +++ b/src/Yavsc.Org/Views/BrusherProfile/Index.cshtml @@ -12,14 +12,14 @@ @Html.DisplayFor(model => model)

- Edit + Edit Delete

} else {

- Aucun profile renseigné"] - Renseigner ce paramêtrage"] + Aucun profile renseigné + Renseigner ce paramêtrage

} diff --git a/src/Yavsc.Org/Views/CircleMembers/Index.cshtml b/src/Yavsc.Org/Views/CircleMembers/Index.cshtml index 317db829..f013283b 100644 --- a/src/Yavsc.Org/Views/CircleMembers/Index.cshtml +++ b/src/Yavsc.Org/Views/CircleMembers/Index.cshtml @@ -7,7 +7,7 @@

Index

- Ajouter un utilisateur à un cercle"] + Ajouter un utilisateur à un cercle

@@ -15,18 +15,18 @@ - + @foreach (var item in Model) { - + var itemKey = new { Id = item.CircleId } ; - +
Utilisateur
- @Html.DisplayFor(m=>item.Circle) + @Html.DisplayFor(m=>item.Circle) - @Html.DisplayFor(m=>item.Member) + @Html.DisplayFor(m=>item.Member) diff --git a/src/Yavsc.Server/Resources/Models.Streaming.LiveFlow.Designer.cs b/src/Yavsc.Server/Resources/Models.Streaming.LiveFlow.Designer.cs deleted file mode 100644 index e62ad5eb..00000000 --- a/src/Yavsc.Server/Resources/Models.Streaming.LiveFlow.Designer.cs +++ /dev/null @@ -1,94 +0,0 @@ -// ------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Mono Runtime Version: 4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -// ------------------------------------------------------------------------------ - -namespace Yavsc.Models.Streaming { - using System; - using System.Reflection; - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public partial class LiveFlow { - - private static System.Resources.ResourceManager resourceMan; - - private static System.Globalization.CultureInfo resourceCulture; - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Resources.ResourceManager ResourceManager { - get { - if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager(("Yavsc.Server.Resources." + "Yavsc.Models.Streaming.LiveFlow"), typeof(LiveFlow).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - public static string DifferedFileNameLabel { - get { - return ResourceManager.GetString("DifferedFileNameLabel", resourceCulture); - } - } - - public static string MediaTypeLabel { - get { - return ResourceManager.GetString("MediaTypeLabel", resourceCulture); - } - } - - public static string PitchLabel { - get { - return ResourceManager.GetString("PitchLabel", resourceCulture); - } - } - - public static string SequenceNumberLabel { - get { - return ResourceManager.GetString("SequenceNumberLabel", resourceCulture); - } - } - - public static string TitleLabel { - get { - return ResourceManager.GetString("TitleLabel", resourceCulture); - } - } - - public static string FlowIdLabel { - get { - return ResourceManager.GetString("FlowIdLabel", resourceCulture); - } - } - - public static string OwnerIdLabel { - get { - return ResourceManager.GetString("OwnerIdLabel", resourceCulture); - } - } - - public static string OwnerLabel { - get { - return ResourceManager.GetString("OwnerLabel", resourceCulture); - } - } - } -} diff --git a/src/Yavsc.Server/Resources/Resources.EnrolerViewModel.Designer.cs b/src/Yavsc.Server/Resources/Resources.EnrolerViewModel.Designer.cs deleted file mode 100644 index b5fd2404..00000000 --- a/src/Yavsc.Server/Resources/Resources.EnrolerViewModel.Designer.cs +++ /dev/null @@ -1,58 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Yavsc.ViewModels { - using System; - using System.Reflection; - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public partial class EnrolerViewModel { - - private static System.Resources.ResourceManager resourceMan; - - private static System.Globalization.CultureInfo resourceCulture; - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Resources.ResourceManager ResourceManager { - get { - if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager(("Yavsc.Resources." + "Yavsc.ViewModels.EnrolerViewModel"), typeof(EnrolerViewModel).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - public static string EnroledLabel { - get { - return ResourceManager.GetString("EnroledLabel", resourceCulture); - } - } - - public static string RoleNameLabel { - get { - return ResourceManager.GetString("RoleNameLabel", resourceCulture); - } - } - } -} diff --git a/src/Yavsc.Server/Resources/Resources.Resources.Designer.cs b/src/Yavsc.Server/Resources/Resources.Resources.Designer.cs deleted file mode 100644 index a86f7b11..00000000 --- a/src/Yavsc.Server/Resources/Resources.Resources.Designer.cs +++ /dev/null @@ -1,76 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Yavsc.Models.IT.Fixing { - using System; - using System.Reflection; - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public partial class Resources { - - private static System.Resources.ResourceManager resourceMan; - - private static System.Globalization.CultureInfo resourceCulture; - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Resources.ResourceManager ResourceManager { - get { - if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager(("Yavsc.Resources." + "Yavsc.Models.IT.Fixing.Resources"), typeof(Resources).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - public static string Rejected { - get { - return ResourceManager.GetString("Rejected", resourceCulture); - } - } - - public static string Inserted { - get { - return ResourceManager.GetString("Inserted", resourceCulture); - } - } - - public static string Confirmed { - get { - return ResourceManager.GetString("Confirmed", resourceCulture); - } - } - - public static string Feature { - get { - return ResourceManager.GetString("Feature", resourceCulture); - } - } - - public static string Fixed { - get { - return ResourceManager.GetString("Fixed", resourceCulture); - } - } - } -} diff --git a/src/Yavsc.Server/Resources/Server.Resources.HyperLink.Designer.cs b/src/Yavsc.Server/Resources/Server.Resources.HyperLink.Designer.cs deleted file mode 100644 index ba871857..00000000 --- a/src/Yavsc.Server/Resources/Server.Resources.HyperLink.Designer.cs +++ /dev/null @@ -1,70 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace Yavsc.Models.Relationship { - using System; - using System.Reflection; - - - [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] - [System.Diagnostics.DebuggerNonUserCodeAttribute()] - [System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - public partial class HyperLink { - - private static System.Resources.ResourceManager resourceMan; - - private static System.Globalization.CultureInfo resourceCulture; - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Resources.ResourceManager ResourceManager { - get { - if (object.Equals(null, resourceMan)) { - System.Resources.ResourceManager temp = new System.Resources.ResourceManager(("Yavsc.Server.Resources." + "Yavsc.Models.Relationship.HyperLink"), typeof(HyperLink).GetTypeInfo().Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)] - public static System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - - public static string MethodDisplayName { - get { - return ResourceManager.GetString("MethodDisplayName", resourceCulture); - } - } - - public static string ContentTypeDisplayName { - get { - return ResourceManager.GetString("ContentTypeDisplayName", resourceCulture); - } - } - - public static string RelDisplayName { - get { - return ResourceManager.GetString("RelDisplayName", resourceCulture); - } - } - - public static string HRefDisplayName { - get { - return ResourceManager.GetString("HRefDisplayName", resourceCulture); - } - } - } -}