foxcoverts / climbing-team

Activity team bookings management site.
https://climbfoxcoverts.co.uk/
MIT License
2 stars 0 forks source link

Include a copy & paste link for booking invitation/update emails #122

Closed sparksp closed 4 months ago

sparksp commented 4 months ago

In case the "Yes/No/Maybe" links do not work, we can include a text link to the respond page that the recipient can copy & paste instead. Similar to the setup account email:

Setup Account email
sparksp commented 4 months ago

And this is the view markup for notifications.

{{-- Subcopy --}}
@isset($actionText)
<x-slot:subcopy>
@lang(
    "If you're having trouble clicking the \":actionText\" button, copy and paste the URL below\n".
    'into your web browser:',
    [
        'actionText' => $actionText,
    ]
) <span class="break-all">[{{ $displayableActionUrl }}]({{ $actionUrl }})</span>
</x-slot:subcopy>
@endisset