presentation
This commit is contained in:
parent
0cc82fec5d
commit
ec54108cf0
9 changed files with 26 additions and 322 deletions
|
|
@ -14,16 +14,13 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
readonly ApplicationDbContext _context;
|
||||
readonly IStringLocalizer<BugController> _localizer;
|
||||
readonly IStringLocalizer<Yavsc.Models.IT.Fixing.Resources> _statusLocalizer;
|
||||
|
||||
public BugController(ApplicationDbContext context,
|
||||
IStringLocalizer<BugController> localizer,
|
||||
IStringLocalizer<Resources> statusLocalizer
|
||||
IStringLocalizer<BugController> localizer
|
||||
)
|
||||
{
|
||||
_context = context;
|
||||
_localizer = localizer;
|
||||
_statusLocalizer = statusLocalizer;
|
||||
}
|
||||
|
||||
// GET: Bug
|
||||
|
|
@ -61,7 +58,7 @@ namespace Yavsc.Controllers
|
|||
}
|
||||
|
||||
IEnumerable<SelectListItem> Statuses(BugStatus ?status) =>
|
||||
_statusLocalizer.CreateSelectListItems(typeof(BugStatus), status);
|
||||
_localizer.CreateSelectListItems(typeof(BugStatus), status);
|
||||
|
||||
IEnumerable<SelectListItem> Features(ApplicationDbContext context) =>
|
||||
context.Feature.CreateSelectListItems<Feature>(f => f.Id.ToString(), f => $"{f.ShortName} ({f.Description})", null)
|
||||
|
|
@ -160,12 +157,12 @@ namespace Yavsc.Controllers
|
|||
{
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -59,5 +59,10 @@
|
|||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<data name="noAttachedFID"><value>Pas de fonctionalité attachée</value></data>
|
||||
<data name="Inserted"><value> inséré</value></data>
|
||||
<data name="Confirmed"><value> Confirmé</value></data>
|
||||
<data name="Rejected"><value> Rejeté</value></data>
|
||||
<data name="Feature"><value> Fonctionnalité</value></data>
|
||||
<data name="Fixed"><value> Fixé</value></data>
|
||||
</root>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
<input type="hidden" asp-for="RoleName" />
|
||||
<div class="form-group">
|
||||
<div class="col-md-offset-2 col-md-10">
|
||||
<input type="submit" value="Submit"]" class="btn btn-primary" />
|
||||
<input type="submit" value="Submit" class="btn btn-primary" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@
|
|||
}
|
||||
else {
|
||||
<p>
|
||||
Aucun profile renseigné"]
|
||||
<a asp-action="Create" class="btn btn-success">Renseigner ce paramêtrage"]</a>
|
||||
Aucun profile renseigné
|
||||
<a asp-action="Create" class="btn btn-success">Renseigner ce paramêtrage</a>
|
||||
</p>
|
||||
}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
<h2>Index</h2>
|
||||
|
||||
<p>
|
||||
<a asp-action="Create">Ajouter un utilisateur à un cercle"]</a>
|
||||
<a asp-action="Create">Ajouter un utilisateur à un cercle</a>
|
||||
</p>
|
||||
<table class="table">
|
||||
<tr>
|
||||
|
|
|
|||
|
|
@ -1,94 +0,0 @@
|
|||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// 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.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 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.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue