Last modified by Alex Cotiuga on 2026/07/27 06:09

From version 18.31
edited by Alex Cotiuga
on 2026/07/13 06:41
Change comment: There is no comment for this version
To version 18.27
edited by Alex Cotiuga
on 2026/07/09 21:01
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -139,16 +139,24 @@
139 139   ## This is intentionally best-effort: if email fails, the contact request is still saved.
140 140   #try('mailException')
141 141   #set ($notificationRecipient = 'alex@agnease.com')
142 + #set ($sourcePage = "$!contactRequestObj.getValue('sourcePage')")
143 +
142 142   #set ($notificationSubject = 'New Agnease contact request')
145 + #if ($sourcePage != '')
146 + #set ($notificationSubject = "New Agnease contact request from $sourcePage")
147 + #end
148 +
143 143   #set ($notificationBody = "
150 + New Agnease contact request
151 +
144 144   Name:
145 - $!contactRequestObj.getValue('name')
153 + $!contactRequestObj.get('name')
146 146  
147 147   Email:
148 - $!contactRequestObj.getValue('email')
156 + $!contactRequestObj.get('email')
149 149  
150 150   Source page:
151 - $!contactRequestObj.getValue('sourcePage')
159 + $!contactRequestObj.get('sourcePage')
152 152  
153 153   Already uses XWiki:
154 154   $!contactRequestObj.get('alreadyUseXWiki')
... ... @@ -166,10 +166,10 @@
166 166   $!contactRequestObj.get('users')
167 167  
168 168   Message:
169 - $!contactRequestObj.getValue('scope')
177 + $!contactRequestObj.get('scope')
170 170  
171 171   Internal request page:
172 - $contactRequestDoc.getExternalURL()
180 + $xwiki.getURL($contactRequestDoc.fullName)
173 173   ")
174 174  
175 175   #set ($message = $services.mail.sender.createMessage($notificationRecipient, $notificationSubject))
... ... @@ -201,8 +201,7 @@
201 201  = Tell Us More About Your Project =
202 202  You do not need to have a full specification. A short description is enough to start the conversation.
203 203  {{html clean="false"}}
204 - <p>You can also <a href="https://calendly.com/alex-agnease/30min?back=1&month=2026-06" target="_blank">book a free XWiki review call</a> to discuss your current setup.</p>
205 - <p>Looking for a starting point first? <a href="$xwiki.getURL('pricing.WebHome')">View XWiki service packages and starting prices</a>.</p>
212 +You can also <a href="https://calendly.com/alex-agnease/30min?back=1&month=2026-06" target="_blank">book a free XWiki review call</a> to discuss your current setup.
206 206   <div class="row">
207 207   <div class="xform col-md-7">
208 208   #if ($totalRequests.size() > 50)