... |
... |
@@ -1,16 +1,24 @@ |
1 |
1 |
{{velocity}} |
2 |
|
-== Submit a Report == |
|
2 |
+#set ($hasEdit = $services.security.authorization.hasAccess('edit')) |
|
3 |
+#set ($canComment = $services.security.authorization.hasAccess('comment')) |
3 |
3 |
|
4 |
|
-[[Submit an Incident>>path:/bin/view/Help/Applications/Anti White Incidents/WebHome#AddNewEntry]] |
|
5 |
+= Anti-White Incident Reports = |
5 |
5 |
|
|
7 |
+#if ($hasEdit) |
|
8 |
+ == Submit an Incident == |
|
9 |
+ {{html clean="false"}} |
|
10 |
+ <form action="#" method="post"> |
|
11 |
+ <input type="text" name="title" placeholder="Title" /> |
|
12 |
+ <br/> |
|
13 |
+ <textarea name="description" placeholder="Describe the incident"></textarea> |
|
14 |
+ <br/> |
|
15 |
+ <input type="submit" value="Submit" /> |
|
16 |
+ </form> |
|
17 |
+ {{/html}} |
|
18 |
+#end |
|
19 |
+ |
6 |
6 |
== Past Reports == |
|
21 |
+{{livetable AntiWhiteIncidents class="AntiWhiteIncidents.Code.AntiWhiteIncidentsClass"/}} |
7 |
7 |
|
8 |
|
-{{html clean="false"}} |
9 |
|
-<iframe |
10 |
|
- src="/bin/view/Help/Applications/Anti White Incidents/WebHome?xpage=plain" |
11 |
|
- width="100%" height="1000" frameborder="0" |
12 |
|
- style="border: 1px solid #ccc; border-radius: 5px;"> |
13 |
|
-</iframe> |
14 |
|
-{{/html}} |
15 |
15 |
{{/velocity}} |
16 |
16 |
|