diff --git a/YACOSWeb/WebContent/WEB-INF/classes/messages.properties b/YACOSWeb/WebContent/WEB-INF/classes/messages.properties index 2e248b9..8e13ab1 100644 --- a/YACOSWeb/WebContent/WEB-INF/classes/messages.properties +++ b/YACOSWeb/WebContent/WEB-INF/classes/messages.properties @@ -14,10 +14,28 @@ login.field.login=Login ################### # USER MENU menu.chairman.title=Chairman +menu.chairman.conference.create=Create new conference +menu.chairman.conference.modify=Modify this conference +menu.chairman.article.dispatch=Dispatch articles +menu.chairman.article.validate=Validate articles + menu.pcmember.title=PC Member +menu.pcmember.article.preference=Article's preference +menu.pcmember.article.delegate=Delegate to referee +menu.pcmember.article.evaluation=Article's evaluation +menu.pcmember.article.evaluation.modify=Manage my evaluations +menu.pcmember.article.discussion=Article's discussion + menu.referee.title=Referee +menu.referee.article.evaluation=Article's evaluation +menu.referee.article.evaluation.modify=Manage my evaluations + menu.author.title=Author +menu.author.article.submission=Article's submission +menu.author.article.modify=Manage my articles + menu.anonymous.title=Menu +menu.anonymous.article.submission=Article's submission CHAIRMAN=Chairman PCMEMBER=PC Member REFEREE=Referee diff --git a/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp b/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp index 0d97a22..3856618 100644 --- a/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp +++ b/YACOSWeb/WebContent/WEB-INF/decorators/usermenu.jsp @@ -13,11 +13,11 @@

Debug Menu

@@ -26,9 +26,10 @@ @@ -38,9 +39,11 @@ @@ -50,9 +53,8 @@ @@ -62,9 +64,8 @@ @@ -74,9 +75,7 @@ diff --git a/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp b/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp index 5c46bb7..82b77ec 100644 --- a/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp +++ b/YACOSWeb/WebContent/WEB-INF/jsp/main.jsp @@ -10,11 +10,12 @@ Page d'accueil Si conf active : page d'intro de la conf si pas de conf active : page d'intro du site (visiteur)

- UserName :
-Seulement si ROLE_AUTHOR : - -

Bienvenue: <%= SecurityContextHolder.getContext().getAuthentication().getName() %>

-
+PASSE PAS POUR L'INSTANT=> +Utilisateur avec tous les rôles (pour test plus vite) :
+Lancer le Filler.java dans YACOS Test pour avoir l'utilisateur admin
+ + +LOGIN=admin PASS=admin \ No newline at end of file