continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r440902 - in /maven/continuum/branches/continuum-acegi/continuum-webapp/src/main: resources/localization/Continuum.properties webapp/navigations/Menu.jsp
Date Wed, 06 Sep 2006 23:41:56 GMT
Author: carlos
Date: Wed Sep  6 16:41:56 2006
New Revision: 440902

URL: http://svn.apache.org/viewvc?view=rev&rev=440902
Log:
Add myAccount menu

Modified:
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/localization/Continuum.properties
    maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/Menu.jsp

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/localization/Continuum.properties
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/localization/Continuum.properties?view=diff&rev=440902&r1=440901&r2=440902
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/localization/Continuum.properties
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/resources/localization/Continuum.properties
Wed Sep  6 16:41:56 2006
@@ -39,6 +39,7 @@
 menu.administration.configuration = Configuration
 menu.administration.schedules = Schedules
 menu.administration.users = Users
+menu.account.options = My account
 
 # ----------------------------------------------------------------------
 # Page: About
@@ -384,6 +385,7 @@
 user.add.section.title = Add User
 user.edit.page.title = Continuum - Edit User
 user.edit.section.title = Edit User
+user.edit.account = Edit user info
 user.delete.page.title = Continuum - Delete User
 user.delete.section.title = Delete User
 user.delete.confirmation.message = Are you sure you want to delete the user "{0}"?

Modified: maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/Menu.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/Menu.jsp?view=diff&rev=440902&r1=440901&r2=440902
==============================================================================
--- maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/Menu.jsp
(original)
+++ maven/continuum/branches/continuum-acegi/continuum-webapp/src/main/webapp/navigations/Menu.jsp
Wed Sep  6 16:41:56 2006
@@ -58,6 +58,17 @@
     </div>
   </authz:authorize>      
 
+  <authz:authorize ifNotGranted="ROLE_ANONYMOUS">
+    <div id="projectmenu" class="toolgroup">
+      <div class="label"><ww:text name="menu.account.options"/></div>
+      <div>
+        <div class="body">
+          <a href="<ww:url value="/user/edit!doEdit.action"/>"><ww:text name="user.edit.account"/></a>
+        </div>
+      </div>
+    </div>
+  </authz:authorize>
+
   <div id="projectmenu" class="toolgroup">
     <div class="label">Legend</div>
     <div id="legend">



Mime
View raw message