[gatein-commits] gatein SVN: r522 - in portal/trunk: web/portal/src/main/webapp/groovy/portal/webui/navigation and 1 other directory.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Nov 9 02:57:02 EST 2009


Author: tam_nguyen
Date: 2009-11-09 02:57:01 -0500 (Mon, 09 Nov 2009)
New Revision: 522

Modified:
   portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css
   portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIGroupGrid.gtmpl
Log:
GTNPORTAL-82 Should show message when user does not have the right to add navigation ( Mary/Demo)

Modified: portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css
===================================================================
--- portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css	2009-11-09 06:33:51 UTC (rev 521)
+++ portal/trunk/portlet/exoadmin/src/main/webapp/skin/navigation/webui/component/DefaultStylesheet.css	2009-11-09 07:57:01 UTC (rev 522)
@@ -115,6 +115,14 @@
 
 .UIPageNavigationForm {
 	margin: 20px auto;
+}
+
+.UIAddGroupNavigation .WarningAddGroup {
+	text-align: center;
+	padding: 15px 0px;
+	background: #FED8D8;
+	margin: 10px;
+	font-size: 13px;
 }
 
 /********************UINavigationManagement****************/

Modified: portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIGroupGrid.gtmpl
===================================================================
--- portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIGroupGrid.gtmpl	2009-11-09 06:33:51 UTC (rev 521)
+++ portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIGroupGrid.gtmpl	2009-11-09 07:57:01 UTC (rev 522)
@@ -8,7 +8,9 @@
     %>
 <div id="$uicomponent.id" class="FeedBox"> 
 	<% if (listGroupNames.size() == 0){ %>
+		<div class="WarningAddGroup">
 	 	<%=_ctx.appRes("UIAddGroupNavigation.Label.NoPermission")%>
+	 	</div>
 	 <% } %>
 	<%   	 
 	for(groupName in listGroupNames) { 



More information about the gatein-commits mailing list