portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r889964 - /portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/portlet/decorator.vm
Date Sat, 12 Dec 2009 19:33:52 GMT
Author: taylor
Date: Sat Dec 12 19:33:52 2009
New Revision: 889964

URL: http://svn.apache.org/viewvc?rev=889964&view=rev
Log:
https://issues.apache.org/jira/browse/JS2-1084
quick patch to add close button to portlet actions. Will refactor this more formerly in JS2-1059

Modified:
    portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/portlet/decorator.vm

Modified: portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/portlet/decorator.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/portlet/decorator.vm?rev=889964&r1=889963&r2=889964&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/portlet/decorator.vm
(original)
+++ portals/jetspeed-2/portal/trunk/applications/jetspeed/src/main/webapp/decorations/portlet/decorator.vm
Sat Dec 12 19:33:52 2009
@@ -42,7 +42,9 @@
 	    #foreach ($_action in $_actions)
 	     <a href="${_action.Action}" title="${_action.Name}" class="action portlet-action"
#if($_action.target)target="$_action.target"#end><img src="$request.contextPath/${_action.link}"
alt="${_action.Alt}" border="0" /></a>
 	    #end
-	    <span style='cursor: pointer; z-index: 1000;' id='jetspeed-close-${f.id}' title="close"
class="portlet-action-close"><img src="${request.contextPath}/decorations/portlet/jetspeed/images/close.gif"
alt="Close" border="0" /></span>    
+#if ($jetspeed.isAjaxCustomizationEnabled())	    
+	    <span style='cursor: pointer; z-index: 1000;' id='jetspeed-close-${f.id}' title="close"
class="portlet-action-close"><img src="${request.contextPath}/decorations/portlet/jetspeed/images/close.gif"
alt="Close" border="0" /></span>
+#end	        
 	 </div>
     </div>
  #end    



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message