Revision: 1806
http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1806&view=revAuthor: ian_roberts
Date: 2009-11-11 14:42:36 +0000 (Wed, 11 Nov 2009)
Log Message:
-----------
"Print" links now link directly to the print action rather than to show with
?print=1. This has exactly the same effect for yam-derived HTMLs but removes
an un-necessary iframe from non-YAM ones.
Modified Paths:
--------------
trunk/cow/grails-app/views/page/_htmlLinks.gsp
trunk/cow/grails-app/views/page/_plainTextLinks.gsp
trunk/cow/grails-app/views/page/_yamHtmlLinks.gsp
Modified: trunk/cow/grails-app/views/page/_htmlLinks.gsp
===================================================================
--- trunk/cow/grails-app/views/page/_htmlLinks.gsp 2009-11-11 14:41:07 UTC (rev 1805)
+++ trunk/cow/grails-app/views/page/_htmlLinks.gsp 2009-11-11 14:42:36 UTC (rev 1806)
@@ -10,5 +10,5 @@
</cow:hasPermission>
</g:if>
<cow:canRead wiki="${thisPage.wiki.id}" pagePathDir="${thisPage.pagePathDir}">
- <g:pageLink action="show" id="${thisPage.id}" linkPath="${thisPage.pagePath}" query="print=1">Print</g:pageLink>
+ <g:pageLink action="print" id="${thisPage.id}" linkPath="${thisPage.pagePath}">Print</g:pageLink>
</cow:canRead>
Modified: trunk/cow/grails-app/views/page/_plainTextLinks.gsp
===================================================================
--- trunk/cow/grails-app/views/page/_plainTextLinks.gsp 2009-11-11 14:41:07 UTC (rev 1805)
+++ trunk/cow/grails-app/views/page/_plainTextLinks.gsp 2009-11-11 14:42:36 UTC (rev 1806)
@@ -8,5 +8,5 @@
</cow:hasPermission>
</g:if>
<cow:canRead wiki="${thisPage.wiki.id}" pagePathDir="${thisPage.pagePathDir}">
- <g:pageLink action="show" id="${thisPage.id}" linkPath="${thisPage.pagePath}" query="print=1">Print</g:pageLink>
+ <g:pageLink action="print" id="${thisPage.id}" linkPath="${thisPage.pagePath}">Print</g:pageLink>
</cow:canRead>
Modified: trunk/cow/grails-app/views/page/_yamHtmlLinks.gsp
===================================================================
--- trunk/cow/grails-app/views/page/_yamHtmlLinks.gsp 2009-11-11 14:41:07 UTC (rev 1805)
+++ trunk/cow/grails-app/views/page/_yamHtmlLinks.gsp 2009-11-11 14:42:36 UTC (rev 1806)
@@ -10,5 +10,5 @@
</cow:hasPermission>
</g:if>
<cow:canRead wiki="${thisPage.wiki.id}" pagePathDir="${thisPage.pagePathDir}">
- <g:pageLink action="show" id="${thisPage.id}" linkPath="${thisPage.pagePath}" query="print=1">Print</g:pageLink>
+ <g:pageLink action="print" id="${thisPage.id}" linkPath="${thisPage.pagePath}">Print</g:pageLink>
</cow:canRead>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.
http://p.sf.net/sfu/bobj-july_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits