From version 21.1
edited by Thomas Mortagne
on 2019/04/08 09:56
To version 22.1
edited by Thomas Mortagne
on 2019/04/08 13:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,6 +1,6 @@
1 1  {{velocity filter="indent"}}
2 -$xwiki.ssx.use('GoogleSummerOfCode.ProjectClassSheet')##
3 -#set($obj = $doc.getObject("GoogleSummerOfCode.ProjectClass"))
2 +$xwiki.ssx.use('GoogleSeasonofDocs.Code.ProjectClassSheet')##
3 +#set($obj = $doc.getObject("GoogleSeasonofDocs.Code.ProjectClass"))
4 4  #set($class = $obj.xWikiClass)
5 5  #if($obj && $hasEdit)
6 6   #set($oldYear = "$obj.getProperty('year').value")
... ... @@ -12,7 +12,7 @@
12 12   #if("$!newTitle" == '')
13 13   #set($newTitle = $newName)
14 14   #end
15 - {{html wiki="false" clean="false"}}<a class="clone-link" style="font-weight: 900; display: block; float: right;" href="$xwiki.getURL("GoogleSummerOfCode.${newName}", 'save', "template=${doc.fullName}&amp;title=${newTitle}&amp;${class.name}_${obj.number}_year=${crtYear}&amp;form_token=$!{services.csrf.getToken()}")">Clone to this year &raquo;</a>{{/html}}
15 + {{html wiki="false" clean="false"}}<a class="clone-link" style="font-weight: 900; display: block; float: right;" href="$xwiki.getURL("GoogleSeasonofDocs.${newName}", 'save', "template=${doc.fullName}&amp;title=${newTitle}&amp;${class.name}_${obj.number}_year=${crtYear}&amp;form_token=$!{services.csrf.getToken()}")">Clone to this year &raquo;</a>{{/html}}
16 16   #end
17 17  #end
18 18  
XWiki.StyleSheetExtension[0]
Code

Get Connected