1
0
mirror of https://github.com/dani/vroom.git synced 2024-06-29 15:03:41 +02:00
vroom/templates/default/notification.mail.ep
Daniel Berteaud 63bccc1cb8 Replace URI with Mojo::URL
Plus some cleanups in URI handling
2015-03-17 22:34:30 +01:00

32 lines
574 B
Plaintext

<%
my $url = Mojo::URL->new($self->url_for('/')->to_abs)->scheme('https');
$url .= ($url =~ m/\/$/) ? '' : '/';
%>
<p>
<%=l 'SOMEONE_JOINED_A_ROOM' %>
</p>
<% if ($name && $name ne ''){ %>
<p>
<%=l 'PARTICIPANT_NAME' %>: <%= $name %>
</p>
<% } %>
<p>
<%=l 'WHEN_YOU_ARE_READY' %>
<center>
<h1>
<a href="<%= $url . $room %>">
<%= $url . $room %>
</a>
</h1>
</center>
</p>
<br>
<p>
<%=l 'HAVE_A_NICE_MEETING' %>
</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">
&mdash;
<br>
<%=l 'EMAIL_SIGN' %>
</p>