... |
... |
@@ -1,21 +1,12 @@ |
1 |
1 |
{{velocity output="yes"}} |
2 |
|
-#set($timestamp = $datetool.format("yyyyMMddHHmmss", $datetool.now())) |
3 |
|
-#set($url = $xwiki.getURL("Help.Applications.AntiWhiteIncidents.${timestamp}", "edit", { |
4 |
|
- "template" : "Help.Applications.AntiWhiteIncidents.Code.MoviesTemplate", |
5 |
|
- "parent" : "Help.Applications.AntiWhiteIncidents.WebHome", |
6 |
|
- "editor" : "inline", |
7 |
|
- "form_token" : $services.csrf.token |
8 |
|
-})) |
9 |
|
-{{html clean="false"}} |
10 |
|
-<form action="$url" method="get" style="margin-bottom:20px;"> |
11 |
|
- <button class="btn btn-primary" type="submit"> |
12 |
|
- 📝 Submit an Incident |
13 |
|
- </button> |
14 |
|
-</form> |
15 |
|
-{{/html}} |
16 |
|
-{{/velocity}} |
|
2 |
+## Load the working public interface page |
|
3 |
+#set($interfaceDoc = $xwiki.getDocument("Help.Applications.AntiWhiteIncidents.Code.PublicInterface")) |
17 |
17 |
|
18 |
|
-== Reported Incidents == |
|
5 |
+## Disable sheets, extra panels |
|
6 |
+#set($hasSheet = false) |
|
7 |
+#set($displayDocExtra = false) |
19 |
19 |
|
20 |
|
-{{include reference="Help.Applications.Anti White Incidents.WebHome"/}} |
|
9 |
+## Output the content of the real PublicInterface page |
|
10 |
+$interfaceDoc.getRenderedContent() |
|
11 |
+{{/velocity}} |
21 |
21 |
|