* DataManager.cs: InitDb on the go
* InitDb.aspx: * StaticPage.master: * Created.aspx: * LocalizedText.fr.resx: * AdminController.cs: * LocalizedText.Designer.cs: * Web.csproj: Db initialisation web pages * DataAccess.cs: a connection string * LocalizedText.resx: internationalisaX creating the admin role
This commit is contained in:
parent
a7de4e1fec
commit
bf8dbeee04
10 changed files with 123 additions and 55 deletions
|
|
@ -69,6 +69,11 @@ namespace Yavsc.Model.Admin
|
|||
get { return dbpassword; }
|
||||
set { dbpassword = value; }
|
||||
}
|
||||
|
||||
public string ConnectionString() {
|
||||
return string.Format ("Server={0};Port={1};Database={2};User Id={3};Password={4};Encoding=Unicode;",
|
||||
Host,Port,Dbuser,Password);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
24
yavscModel/LocalizedText.Designer.cs
generated
24
yavscModel/LocalizedText.Designer.cs
generated
|
|
@ -46,6 +46,12 @@ namespace Yavsc.Model {
|
|||
}
|
||||
}
|
||||
|
||||
public static string was_added_to_the_role {
|
||||
get {
|
||||
return ResourceManager.GetString("was_added_to_the_role", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Unitary_cost {
|
||||
get {
|
||||
return ResourceManager.GetString("Unitary_cost", resourceCulture);
|
||||
|
|
@ -136,6 +142,12 @@ namespace Yavsc.Model {
|
|||
}
|
||||
}
|
||||
|
||||
public static string younotadmin {
|
||||
get {
|
||||
return ResourceManager.GetString("younotadmin", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Description {
|
||||
get {
|
||||
return ResourceManager.GetString("Description", resourceCulture);
|
||||
|
|
@ -166,6 +178,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 MinDate {
|
||||
get {
|
||||
return ResourceManager.GetString("MinDate", resourceCulture);
|
||||
|
|
@ -202,6 +220,12 @@ namespace Yavsc.Model {
|
|||
}
|
||||
}
|
||||
|
||||
public static string role_created {
|
||||
get {
|
||||
return ResourceManager.GetString("role_created", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
public static string Register {
|
||||
get {
|
||||
return ResourceManager.GetString("Register", resourceCulture);
|
||||
|
|
|
|||
|
|
@ -41,4 +41,9 @@
|
|||
<data name="Remember_me"><value>Se souvenir du mot de passe</value></data>
|
||||
<data name="DocTemplateException"><value>Une erreur est survenue à la génération de votre document</value></data>
|
||||
<data name="Message_sent"><value>Votre message a été envoyé</value></data>
|
||||
<data name="was_added_to_the_role"><value>a été ajouté au rôle</value></data>
|
||||
<data name="was_added_to_the_empty_role"><value>Il n'y avait pas 'utilisateur dans le rôle '{1}'. Vous ({0}) avez été ajouté au rôle '{1}'.</value></data>
|
||||
<data name="younotadmin"><value>Vous n'êtes pas administrateur</value></data>
|
||||
<data name="role_created"><value>Rôle créé</value></data>
|
||||
|
||||
</root>
|
||||
|
|
|
|||
|
|
@ -41,5 +41,8 @@
|
|||
<data name="Remember_me"><value>Remember me</value></data>
|
||||
<data name="DocTemplateException"><value>Exception occured when rendering your document</value></data>
|
||||
<data name="Message_sent"><value>Your message has been sent.</value></data>
|
||||
|
||||
<data name="was_added_to_the_role"><value>was added to the role</value></data>
|
||||
<data name="was_added_to_the_empty_role"><value>There was no user in the '{1}' role. You ({0}) was just added as firt user in the '{1}' role.</value></data>
|
||||
<data name="younotadmin"><value>You're not administrator</value></data>
|
||||
<data name="role_created"><value>role created</value></data>
|
||||
</root>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue