You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by wo...@apache.org on 2007/08/09 07:57:22 UTC
svn commit: r564095 - in
/portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple:
decorator-macros.vm header.vm
Author: woonsan
Date: Wed Aug 8 22:57:21 2007
New Revision: 564095
URL: http://svn.apache.org/viewvc?view=rev&rev=564095
Log:
JS2-762: Cannot return to view mode after changing to simple layout theme in page edit mode.
The simple theme will show simple text-based links to show actions (View|Edit, Help) on the top right of the page.
Modified:
portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/decorator-macros.vm
portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/header.vm
Modified: portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/decorator-macros.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/decorator-macros.vm?view=diff&rev=564095&r1=564094&r2=564095
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/decorator-macros.vm (original)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/decorator-macros.vm Wed Aug 8 22:57:21 2007
@@ -104,3 +104,14 @@
</tr>
</table>
#end
+
+#macro (PageActionBar)
+ #set($_actions = $layoutDecoration.actions)
+ <div align="right">
+ #if($_actions.size() >0)
+ #foreach ($_action in $_actions)
+ <a href="${_action.Action}" title="${_action.Name}" class="action pageAction" >${_action.Alt}</a>
+ #end
+ #end
+ </div>
+#end
Modified: portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/header.vm
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/header.vm?view=diff&rev=564095&r1=564094&r2=564095
==============================================================================
--- portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/header.vm (original)
+++ portals/jetspeed-2/trunk/src/webapp/decorations/layout/simple/header.vm Wed Aug 8 22:57:21 2007
@@ -1,9 +1,9 @@
#*
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements. See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to You under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements. See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to You under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
@@ -42,3 +42,5 @@
<meta name="description" content="#PageDescription()" />
</head>
<body marginwidth="0" marginheight="0" class="#PageBaseCSSClass()">
+
+ #PageActionBar()
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org