Author: sohil.shah(a)jboss.com
Date: 2007-09-18 14:34:01 -0400 (Tue, 18 Sep 2007)
New Revision: 8334
Added:
branches/JBoss_Portal_Branch_2_6/core-cms/src/bin/portal-cms-war/images/cms/admin/actionIcon_IsDefault.gif
branches/JBoss_Portal_Branch_2_6/core-cms/src/bin/portal-cms-war/images/cms/admin/actionIcon_MakeDefault.gif
Modified:
branches/JBoss_Portal_Branch_2_6/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/viewfile.jsp
Log:
JBPORTAL-1124 - CMS needs to allow admins to make pages as live w/o editing the page
(Adding Better icons for live/non-live versions)
Added:
branches/JBoss_Portal_Branch_2_6/core-cms/src/bin/portal-cms-war/images/cms/admin/actionIcon_IsDefault.gif
===================================================================
(Binary files differ)
Property changes on:
branches/JBoss_Portal_Branch_2_6/core-cms/src/bin/portal-cms-war/images/cms/admin/actionIcon_IsDefault.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
branches/JBoss_Portal_Branch_2_6/core-cms/src/bin/portal-cms-war/images/cms/admin/actionIcon_MakeDefault.gif
===================================================================
(Binary files differ)
Property changes on:
branches/JBoss_Portal_Branch_2_6/core-cms/src/bin/portal-cms-war/images/cms/admin/actionIcon_MakeDefault.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
branches/JBoss_Portal_Branch_2_6/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/viewfile.jsp
===================================================================
---
branches/JBoss_Portal_Branch_2_6/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/viewfile.jsp 2007-09-18
17:37:59 UTC (rev 8333)
+++
branches/JBoss_Portal_Branch_2_6/core-cms/src/resources/portal-cms-war/WEB-INF/jsp/cms/admin/viewfile.jsp 2007-09-18
18:34:01 UTC (rev 8334)
@@ -262,7 +262,7 @@
if (version.isLive())
{
%>
- <img src="<%= renderRequest.getContextPath() +
CMSAdminConstants.DEFAULT_IMAGES_PATH%>/live.gif"
+ <img src="<%= renderRequest.getContextPath() +
CMSAdminConstants.DEFAULT_IMAGES_PATH%>/actionIcon_IsDefault.gif"
alt="${n:i18n("CMS_LIVEVERSION")}"
border="0"/>
<%
}else{
@@ -274,7 +274,7 @@
<portlet:param name="version" value="<%=
version.getVersionNumber() %>"/>
</portlet:actionURL>"
- <img src="<%=
renderRequest.getContextPath() + CMSAdminConstants.DEFAULT_IMAGES_PATH%>/up.gif"
alt="${n:i18n("CMS_LIVEVERSION")}" border="0"/>
+ <img src="<%= renderRequest.getContextPath() +
CMSAdminConstants.DEFAULT_IMAGES_PATH%>/actionIcon_MakeDefault.gif"
alt="${n:i18n("CMS_LIVEVERSION")}" border="0"/>
</a>
<%}%>
</td>