Wiki source code of Not Defined

Last modified by Vincent Massol on 2025/06/12 10:48

Hide last authors
Vincent Massol 1.1 1 {{velocity}}
Ecaterina Moraru (Valica) 41.2 2 #set($discard = $xwiki.ssx.use("XWiki.ReferenceSheet"))
Vincent Massol 15.2 3 #set($object = $doc.getObject("XWiki.ReferenceClass"))
Vincent Massol 48.3 4 #set($editMode = $context.action == "edit" || $context.action == "inline")
Vincent Massol 1.1 5
Vincent Massol 48.3 6 #if ($editMode)
Vincent Massol 4.1 7 {{info}}In order to insert your own image, add it as an attachment at the bottom of the page when viewing the page.{{/info}}
Vincent Massol 13.1 8 Project name: $doc.display("Project")
Vincent Massol 1.1 9 #end
10
Ecaterina Moraru (Valica) 41.2 11 (%class="row reference"%)(((
12 (%class="col-xs-12 col-sm-6 pull-right snapshot"%)(((
Vincent Massol 20.1 13 #if ($doc.attachmentList.size() > 0)
14 #foreach ($attach in $doc.attachmentList)
Vincent Massol 48.2 15 #if ($attach.isImage())
16 #set ($url = $object.getProperty('URL').getValue().trim())
17 #if ($url != "")
18 [[[[image:${attach.filename}||class="img-thumbnail"]]>>${url}]]
19 #else
20 [[image:${attach.filename}||class="img-thumbnail"]]
21 #end
Vincent Massol 34.1 22 #end
Vincent Massol 20.1 23 #end
24 #else
Ecaterina Moraru (Valica) 44.2 25 [[image:[email protected]||class="img-thumbnail"]]
Vincent Massol 20.1 26 #end
27 )))
Ecaterina Moraru (Valica) 41.2 28
29 (%class="col-xs-12 col-sm-6 summary"%)(((
Vincent Massol 1.1 30 == General Information
31
Vincent Massol 48.3 32 #macro (displayProperty $propertyName $propertyId)
33 ; $propertyName
34 #if($editMode)
35 : $doc.display($propertyId)
36 #else
37 #set ($display = $object.getProperty($propertyId).getValue())
38 #if ("$!display" == '')
39 #set ($display = "Not provided")
Vincent Massol 40.1 40 #end
Vincent Massol 48.3 41 : $display
42 #end
Vincent Massol 35.2 43 #end
Vincent Massol 48.3 44
45 #displayProperty('Organization', 'Organization')
46 #displayProperty('DevelopedBy', 'DevelopedBy')
47 #displayProperty('Contact', 'Contact')
48 #displayProperty('URL', 'URL')
Vincent Massol 3.1 49 )))
Ecaterina Moraru (Valica) 41.2 50 (%class="col-xs-12 col-sm-6"%)(((
Vincent Massol 14.1 51 == Usage ==
Vincent Massol 1.1 52 $doc.display("Usage")
53
Vincent Massol 14.1 54 == Description ==
Vincent Massol 1.1 55 $doc.display("Description")
Vincent Massol 3.1 56 )))
57 )))
Vincent Massol 1.1 58 {{/velocity}}

Get Connected