Wiki source code of Design

Version 10.1 by Guillaume Lerouge on 2009/04/02 14:43

Show last authors
1 1 Design Proposals
2
3 This space is dedicated to new design proposals. The process is the following:
4
5 * First, discuss the idea on the [mailing lists>Community.MailingLists]
6 * Once a first conclusion is reached document it on this wiki here
7 * Create a JIRA issue so that it's not forgotten and reference the page on the wiki
8 * Continue improving the design implementation on the wiki
9 * Once the JIRA issue is implemented mark the Design proposal as "Completed"
10
11 ## ---------------------------------------------------
12 ## Let the user add a new Design proposal
13 ## ---------------------------------------------------
14
15 <form action="" id="newdesign">
16 <input type="hidden" name="parent" value="Design.WebHome" />
17 <input type="hidden" name="template" value="XWiki.DesignClassTemplate" />
18 <input type="hidden" name="sheet" value="1" />
19 <input type="hidden" name="webname" value="Design"/>
20 <input type="hidden" name="name" value=""/>
21 <table>
22 <tr>
23 <td>
24 <input type="text" name="design" value="" size="30"/>
25 </td>
26 <td>
27 <input type="submit" value="Add this Design proposal" onclick='if (updateName(this.form.design,this.form.name)) { action="../../inline/" + this.form.webname.value + "/" + this.form.name.value; this.form.submit(); }' />
28 </td>
29 </tr>
30 </table>
31 </form>
32
33 1.1 List of current Design proposals
34
35 #set ($sql = ", BaseObject as obj where obj.name=doc.fullName and obj.className='XWiki.DesignClass' and obj.name<>'XWiki.DesignClassTemplate' order by doc.name asc")
36 #set ($designs= $xwiki.searchDocuments($sql))
37
38 There is $designs.count design proposals on this page.
39
40 <table id="designTable" class="grid sortable filterable doOddEven" cellpadding="0" cellspacing="0" border="0">
41 <tr class="sortHeader">
42 <th>Title</th>
43 <th class="selectFilter">Status</th>
44 <th>Lead</th>
45 <th>JIRA</th>
46 <th class="noFilter">Creation date</th>
47 </tr>
48 #foreach ($design in $designs)
49 <tr >
50 #set ($designDoc = $xwiki.getDocument($design))
51 <td>
52 <a href='$xwiki.getURL($design)'>*$designDoc.display("Title")*</a>
53 </td>
54 <td>
55 $designDoc.display("Status")
56 </td>
57 <td>
58 $designDoc.display("Lead")
59 </td>
60 <td>
61 $designDoc.display("JIRAIssueReference")
62 </td>
63 <td>
64 $xwiki.formatDate($designDoc.creationDate, "yyyy/MM/dd")
65 </td>
66 </tr>
67 #end
68 </table>

Get Connected