details
* AdminController.cs: Notification when Admin group is created * LocalizedText.resx: * LocalizedText.fr.resx: * LocalizedText.Designer.cs: * LocalizedText.fr.Designer.cs: Existant DB message
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2015-10-23 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* AdminController.cs: Notification when Admin group is created
|
||||
|
||||
2015-10-22 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* parralax.js: YastepInDaPresentation
|
||||
|
@ -27,11 +27,16 @@ namespace Yavsc.Controllers
|
||||
{
|
||||
if (!Roles.RoleExists (adminRoleName)) {
|
||||
Roles.CreateRole (adminRoleName);
|
||||
YavscHelpers.Notify (adminRoleName + " " + LocalizedText.role_created);
|
||||
|
||||
}
|
||||
return View ();
|
||||
}
|
||||
/// <summary>
|
||||
/// Inits the db.
|
||||
/// In order this action succeds,
|
||||
/// there must not exist any administrator,
|
||||
/// nor Admin group.
|
||||
/// </summary>
|
||||
/// <returns>The db.</returns>
|
||||
/// <param name="datac">Datac.</param>
|
||||
@ -59,7 +64,6 @@ namespace Yavsc.Controllers
|
||||
[Authorize(Roles="Admin")]
|
||||
public ActionResult Backups(DataAccess model)
|
||||
{
|
||||
|
||||
return View (model);
|
||||
}
|
||||
/// <summary>
|
||||
|
@ -1,3 +1,10 @@
|
||||
2015-10-23 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* LocalizedText.resx:
|
||||
* LocalizedText.fr.resx:
|
||||
* LocalizedText.Designer.cs:
|
||||
* LocalizedText.fr.Designer.cs: Existant DB message
|
||||
|
||||
2015-10-22 Paul Schneider <paul@pschneider.fr>
|
||||
|
||||
* LocalizedText.resx:
|
||||
|
16
yavscModel/LocalizedText.Designer.cs
generated
16
yavscModel/LocalizedText.Designer.cs
generated
@ -106,6 +106,12 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string was_added_to_the_empty_role {
|
||||
get {
|
||||
return ResourceManager.GetString("was_added_to_the_empty_role", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Not_Approuved {
|
||||
get {
|
||||
return ResourceManager.GetString("Not_Approuved", resourceCulture);
|
||||
@ -124,9 +130,9 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string was_added_to_the_empty_role {
|
||||
public static string ExistantDB {
|
||||
get {
|
||||
return ResourceManager.GetString("was_added_to_the_empty_role", resourceCulture);
|
||||
return ResourceManager.GetString("ExistantDB", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -448,6 +454,12 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string DB {
|
||||
get {
|
||||
return ResourceManager.GetString("DB", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Profile_edition {
|
||||
get {
|
||||
return ResourceManager.GetString("Profile_edition", resourceCulture);
|
||||
|
32
yavscModel/LocalizedText.fr.Designer.cs
generated
32
yavscModel/LocalizedText.fr.Designer.cs
generated
@ -118,6 +118,12 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string ExistantDB {
|
||||
get {
|
||||
return ResourceManager.GetString("ExistantDB", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string DoComment {
|
||||
get {
|
||||
return ResourceManager.GetString("DoComment", resourceCulture);
|
||||
@ -148,6 +154,12 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string ImportException {
|
||||
get {
|
||||
return ResourceManager.GetString("ImportException", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string access_denied {
|
||||
get {
|
||||
return ResourceManager.GetString("access_denied", resourceCulture);
|
||||
@ -214,9 +226,9 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string ImportException {
|
||||
public static string Modify {
|
||||
get {
|
||||
return ResourceManager.GetString("ImportException", resourceCulture);
|
||||
return ResourceManager.GetString("Modify", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
@ -262,12 +274,6 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string Modify {
|
||||
get {
|
||||
return ResourceManager.GetString("Modify", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Remove {
|
||||
get {
|
||||
return ResourceManager.GetString("Remove", resourceCulture);
|
||||
@ -412,6 +418,12 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string User_List {
|
||||
get {
|
||||
return ResourceManager.GetString("User List", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Online {
|
||||
get {
|
||||
return ResourceManager.GetString("Online", resourceCulture);
|
||||
@ -430,9 +442,9 @@ namespace Yavsc.Model {
|
||||
}
|
||||
}
|
||||
|
||||
public static string User_List {
|
||||
public static string DB {
|
||||
get {
|
||||
return ResourceManager.GetString("User List", resourceCulture);
|
||||
return ResourceManager.GetString("DB", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -21,6 +21,7 @@
|
||||
<data name="Ciffer"><value>Chiffre</value></data>
|
||||
<data name="Circles"><value>Cercles</value></data>
|
||||
<data name="Comment"><value>Commentaire</value></data>
|
||||
<data name="DB"><value>Base de données</value></data>
|
||||
<data name="DoComment"><value>Commenter</value></data>
|
||||
<data name="Create"><value>Créer</value></data>
|
||||
<data name="Date_search"><value>Demande de rendez-vous</value></data>
|
||||
@ -33,6 +34,7 @@
|
||||
<data name="EndDate"><value>Date de fin</value></data>
|
||||
<data name="Estimate_not_found"><value>Devis non trouvé</value></data>
|
||||
<data name="EventWebPage"><value>Page web de l'événement</value></data>
|
||||
<data name="ExistantDB"><value>Base de données éxistante</value></data>
|
||||
<data name="Google_calendar"><value>Agenda Google</value></data>
|
||||
<data name="Google_error"><value>Erreur Google : {0}</value></data>
|
||||
<data name="Hide_source"><value>Cacher le texte source du billet</value></data>
|
||||
|
@ -22,6 +22,7 @@
|
||||
<data name="Consultant"><value>Consultant</value></data>
|
||||
<data name="Comment"><value>Comment</value></data>
|
||||
<data name="Count"><value>Count</value></data>
|
||||
<data name="DB"><value>Data base</value></data>
|
||||
<data name="Date_search"><value>Rendez-vous query</value></data>
|
||||
<data name="Description"><value>Description</value></data>
|
||||
<data name="DisplayName"><value>Display Name</value></data>
|
||||
@ -33,6 +34,7 @@
|
||||
<data name="EndDate"><value>End date</value></data>
|
||||
<data name="Estimate_not_found"><value>Estimate not found</value></data>
|
||||
<data name="EventWebPage"><value>Event Web page</value></data>
|
||||
<data name="ExistantDB"><value>Existant data base</value></data>
|
||||
<data name="Home"><value>Home</value></data>
|
||||
<data name="Hide"><value>Hide</value></data>
|
||||
<data name="Hide_source"><value>Hide the bill source text</value></data>
|
||||
|
Reference in New Issue
Block a user