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.26
edited by Alex Cotiuga
on 2026/07/09 20:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -139,8 +139,16 @@
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 145   $!contactRequestObj.getValue('name')
146 146  
... ... @@ -151,25 +151,25 @@
151 151   $!contactRequestObj.getValue('sourcePage')
152 152  
153 153   Already uses XWiki:
154 - $!contactRequestObj.get('alreadyUseXWiki')
162 + $!contactRequestObj.getValue('alreadyUseXWiki')
155 155  
156 156   Hosting:
157 - $!contactRequestObj.get('hosting')
165 + $!contactRequestObj.getValue('hosting')
158 158  
159 159   Custom development:
160 - $!contactRequestObj.get('customDevelopment')
168 + $!contactRequestObj.getValue('customDevelopment')
161 161  
162 162   Timeline:
163 - $!contactRequestObj.get('timeline')
171 + $!contactRequestObj.getValue('timeline')
164 164  
165 165   Users:
166 - $!contactRequestObj.get('users')
174 + $!contactRequestObj.getValue('users')
167 167  
168 168   Message:
169 169   $!contactRequestObj.getValue('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)