Last modified by Alex Cotiugă on 2026/05/02 12:23

From version 15.16
edited by Alex Cotiugă
on 2026/05/02 12:16
Change comment: There is no comment for this version
To version 15.22
edited by Alex Cotiugă
on 2026/05/02 12:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,7 +4,7 @@
4 4   #set ($now = $datetool.get('yyyyMMddHHmm'))
5 5   #set ($random = $mathtool.random(100000, 999999))
6 6   #set ($uniqueName = "ContactRequest-${now}-${random}")
7 - #set ($contactRequestDoc = $xwiki.getDocument('ContactRequests.' + $uniqueName))
7 + #set ($contactRequestDoc = $xwiki.getDocumentAsAuthor('ContactRequests.' + $uniqueName))
8 8   #set ($contactRequestObj = $contactRequestDoc.getObject('Agnease.Code.ContactRequest.ContactRequestClass', true))
9 9   #set ($statusCode = 200)
10 10   #set ($message = 'Your request was successfully sent.')
... ... @@ -18,7 +18,7 @@
18 18  
19 19   #set ($discard = $contactRequestDoc.saveAsAuthor())
20 20  
21 - #set ($message = "$message $contactRequestObj ")
21 + #set ($message = "$message")
22 22  
23 23   ##set ($statusCode = 400)
24 24   ##set ($message = 'error')
... ... @@ -29,7 +29,6 @@
29 29  {{/velocity}}
30 30  
31 31  {{velocity}}
32 -#set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome'))
33 33  #set ($discard = $xwiki.ssx.use('contact.WebHome'))
34 34  #set ($xobject = $doc.getObject('Agnease.Code.ContactRequest.ContactRequestClass'))
35 35  #set ($xclass = $xobject.xWikiClass)
XWiki.StyleSheetExtension[0]
code
... ... @@ -66,3 +66,31 @@
66 66   color: @brand;
67 67   font-weight: 700;
68 68  }
69 +
70 +.navbar-default .navbar-nav {
71 + float: right !important;
72 + background-color: #fff;
73 + border-color: #fff;
74 + .menu-horizontal {
75 + background-color: #fff;
76 + border-color: #fff;
77 + }
78 +
79 + margin-left:20px;
80 + li {
81 + align-items: end;
82 + font-size: 20px;
83 + &:hover {
84 + background-color: #fff;
85 + color: #00463c;
86 + }
87 + a {
88 + padding-bottom: 0;
89 + padding-top: 14px;
90 + &:hover {
91 + background-color: #fff;
92 + color: #00463c;
93 + }
94 + }
95 + }
96 +}