From 77dce14a6e1c6e47ed6a359c1ad07cb0f9017646 Mon Sep 17 00:00:00 2001 From: Booteille Date: Thu, 5 Dec 2024 16:38:09 +0100 Subject: [PATCH] Update invitation page design --- .../templates/invitations/invite.html.ep | 61 ++++++++++++------- 1 file changed, 40 insertions(+), 21 deletions(-) diff --git a/themes/default/templates/invitations/invite.html.ep b/themes/default/templates/invitations/invite.html.ep index 07b15a8..6c6a316 100644 --- a/themes/default/templates/invitations/invite.html.ep +++ b/themes/default/templates/invitations/invite.html.ep @@ -1,41 +1,60 @@ -
+
% if (scalar(@{$self->stash('fails')})) { -
+
+
% for my $msg (@{$self->stash('fails')}) { <%= $msg %> % } -
+
+ % } % if (scalar(@{$self->stash('success')})) { -
+
+
% for my $msg (@{$self->stash('success')}) { - <%== $msg %> + <%= $msg %> % } -
+ + % } -
-

<%= l('Invite a guest') %>

+

<%= l('Invite a guest') %>

+ +
+

<%= l('You can invite someone to send you files through this Lufi instance even if they don’t have an account on it.') %>

- % if (stash('send_with_user_email')) { + % if (stash('send_invitation_with_ldap_user_email')) {

<%= l('The invitation mail will be send from your email address (%1).', stash('user_mail')) %>

% } -
- -
-
- - +
+ + + +
+ +
+ +
+
+
+ +
+ +
+
+
+
+ +
- -
\ No newline at end of file + \ No newline at end of file