Author: tam_nguyen
Date: 2009-11-05 05:48:16 -0500 (Thu, 05 Nov 2009)
New Revision: 507
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_en.properties
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_fr.properties
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ru.properties
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_uk.properties
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIAddGroupNavigation.gtmpl
Log:
GTNPORTAL-82 Should show message when user does not have the right to add navigation (
Mary/Demo)
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ar.xml 2009-11-05
10:48:16 UTC (rev 507)
@@ -2271,6 +2271,9 @@
<Action>
<Add>Add Navigation</Add>
</Action>
+ <Label>
+ <NoPermission>This user doesn't have permisson to add
navigation</NoPermission>
+ </Label>
<header>
<Group>Group</Group>
</header>
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_en.properties
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_en.properties 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_en.properties 2009-11-05
10:48:16 UTC (rev 507)
@@ -1365,4 +1365,5 @@
############################################################################
UIAddGroupNavigation.Action.Add=Add Navigation
+UIAddGroupNavigation.Label.NoPermission=This user doesn't have permisson to add
navigation
UIAddGroupNavigation.header.Group=Group
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_fr.properties
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_fr.properties 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_fr.properties 2009-11-05
10:48:16 UTC (rev 507)
@@ -1332,4 +1332,5 @@
############################################################################
UIAddGroupNavigation.Action.Add=Add Navigation
+UIAddGroupNavigation.Label.NoPermission=This user doesn't have permisson to add
navigation
UIAddGroupNavigation.header.Group=Group
\ No newline at end of file
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ru.properties
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ru.properties 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_ru.properties 2009-11-05
10:48:16 UTC (rev 507)
@@ -1355,4 +1355,5 @@
############################################################################
UIAddGroupNavigation.Action.Add=Добавить навигацию
+UIAddGroupNavigation.Label.NoPermission=This user doesn't have permisson to add
navigation
UIAddGroupNavigation.header.Group=Группа
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_uk.properties
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_uk.properties 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_uk.properties 2009-11-05
10:48:16 UTC (rev 507)
@@ -1345,4 +1345,5 @@
# org.exoplatform.navigation.webui.component.UIAddGroupNavigation #
############################################################################
-UIAddGroupNavigation.Action.Add=Додати навігацію
\ No newline at end of file
+UIAddGroupNavigation.Action.Add=Додати навігацію
+UIAddGroupNavigation.Label.NoPermission=This user doesn't have permisson to add
navigation
Modified:
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties
===================================================================
---
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/WEB-INF/classes/locale/portal/webui_vi.properties 2009-11-05
10:48:16 UTC (rev 507)
@@ -1332,4 +1332,5 @@
############################################################################
UIAddGroupNavigation.Action.Add=Add Navigation
-UIAddGroupNavigation.header.Group=Group
\ No newline at end of file
+UIAddGroupNavigation.header.Group=Group
+UIAddGroupNavigation.Label.NoPermission=This user doesn't have permisson to add
navigation
Modified:
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIAddGroupNavigation.gtmpl
===================================================================
---
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIAddGroupNavigation.gtmpl 2009-11-05
09:50:48 UTC (rev 506)
+++
portal/trunk/web/portal/src/main/webapp/groovy/portal/webui/navigation/UIAddGroupNavigation.gtmpl 2009-11-05
10:48:16 UTC (rev 507)
@@ -6,7 +6,9 @@
listGroupNames = uicomponent.loadGroups();
uicomponent.renderChild(UIVirtualList.class); %>
-
+ <% if (listGroupNames == null){ %>
+ <%=_ctx.appRes("UIAddGroupNavigation.Label.NoPermission")%>
+ <% } %>
<div class="UIAction">
<table class="ActionContainer">
<tr>
Show replies by date