0 Votes

Changes for page Anti White Incidents

Last modified by Ryan C on 2025/06/08 18:31

From version 28.1
edited by Ryan C
on 2025/06/08 17:44
Change comment: There is no comment for this version
To version 2.1
edited by Ryan C
on 2025/06/08 16:45
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,14 +1,24 @@
1 1  {{velocity}}
2 -== Submit a Report ==
3 -[[Add a new incident>>path:/bin/view/Help/Applications/Anti White Incidents.WebHome#AddNewEntry]]
2 +#set ($hasEdit = $services.security.authorization.hasAccess('edit'))
3 +#set ($canComment = $services.security.authorization.hasAccess('comment'))
4 4  
5 += Anti-White Incident Reports =
6 +
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 +
5 5  == Past Reports ==
6 -{{html clean="false"}}
7 -<iframe
8 - src="/bin/view/Help/Applications/Anti White Incidents.Code.Livetable?xpage=plain"
9 - width="100%" height="800" frameborder="0"
10 - style="border:1px solid #ddd; border-radius:5px; overflow:hidden;">
11 -</iframe>
12 -{{/html}}
21 +{{include reference="Help.Applications.AntiWhiteIncidents.WebHome"/}}
22 +
13 13  {{/velocity}}
14 14