56 |
|
|
57 |
my $url = $self->url_for( 'Confirmation/cancel_as_markup?token=', $token ); |
my $url = $self->url_for( 'Confirmation/cancel_as_markup?token=', $token ); |
58 |
|
|
59 |
|
my ($pending_rank) = $self->dbh->selectrow_array(qq{ select count(*) - 600 from reservation }); # FIXME ugly hard-coded cludge! |
60 |
|
|
61 |
my $html = |
my $html = |
62 |
qq| |
( $seat |
63 |
|
? qq| |
64 |
<big>Potvrda o uspjesnoj prijavi za predavanje profesora Philipa Zimbarda "The Lucifer Effect"</big><br> |
<big>Potvrda o uspjesnoj prijavi za predavanje profesora Philipa Zimbarda "The Lucifer Effect"</big><br> |
65 |
<big>Confirmation - successful registration for Philip Zimbardo's lecture „The Lucifer Effect“</big> |
<big>Confirmation - successful registration for Philip Zimbardo's lecture "The Lucifer Effect"</big> |
66 |
<br><br> |
<br><br> |
67 |
<big>Ime i prezime / Name and surname : $name</big> |
<big>Ime i prezime / Name and surname : $name</big> |
68 |
<br><br> |
<br><br> |
|
| |
|
|
. ( $seat |
|
|
? qq| |
|
69 |
<big>Broj prijave / Registration number : $seat</big>. |
<big>Broj prijave / Registration number : $seat</big>. |
70 |
<br><br> |
<br><br> |
71 |
|
|
92 |
University of Zagreb |
University of Zagreb |
93 |
|
|
94 |
| : qq| |
| : qq| |
95 |
we <big>currently don't have any seats available</big>, |
|
96 |
but you will be notified if we get some vacancies for this lecture! |
Na žalost sva mjesta za predavanje profesora Philipa Zimbarda "The Licifer Effect" su trenutno već popunjena. <b>Vi ste $pending_rank. na listi čekanja.</b> Dakle, još nije sve izgubljeno! Ukoliko netko od osoba koje su ranije rezervirale ulaznicu u međuvremenu odustane, moći ćete prisustvovati predavanju.<br><br> |
97 |
|
|
98 |
|
Tijekom rujna ćemo svim prijavljenima poslati podsjetnik na predavanje te zamoliti da, ukoliko iz nekog razloga ne planiraju doći na predavanje, odjave svoj dolazak kako bi time omogućili zainteresiranima na listi čekanja da ipak dođu na predavanje. Kad i ako se mjesto oslobodi automatski cete dobiti potvtdu o uspješnoj prijavi za predavanje s vašim brojem regisracije. Taj e-mail ispišite na pisaču i obavezno donesite sa sobom jer je to vaša ulaznica.<br><br> |
99 |
|
|
100 |
|
Odsjek za psihologiju Filozofskog fakulteta Sveučilišta u Zagrebu<br><br> |
101 |
|
|
102 |
|
----<br><br> |
103 |
|
|
104 |
|
Unfortunately, all the seats for professor Philip Zimbardo's lecture "The Lucifer Effect" are already taken. <b>You are number $pending_rank on the waiting list.</b> Therefore, there is still a chance you will get your seat! If people who booked the seat earlier cancel their registration, people like you on the waiting list will get a chance to attend the lecture.<br><br> |
105 |
|
|
106 |
|
During September we will send a reminder to every participant and ask them to un-register if they are not able to attend the lecture, which will allow others from the waiting list to get a seat.<br><br> If that happens you will automatically receive e-mail confirmation message for successful registration with your registration number. Please print this voucher and bring it with you when arriving to the lecture. We hope we’ll be able to welcome you to the lecture!<br><br> |
107 |
|
|
108 |
|
Department of Psychology<br> |
109 |
|
Faculty of Humanities and Social Sciences<br> |
110 |
|
University of Zagreb |
111 |
|
|
112 |
| ) |
| ) |
113 |
; |
; |
114 |
|
|
115 |
$self->send( $email, |
$self->send( $email, |
116 |
"Potvrda / Confirmation - Zimbardo" . ( $seat ? " [no. $seat]" : " [wating for vacancy]" ), |
"Potvrda / Confirmation - Zimbardo" . ( $seat ? " [no. $seat]" : " [lista cekanja / wating list]" ), |
117 |
$html . <<__EMAIL__ |
$html . <<__EMAIL__ |
118 |
|
|
|
<br><br> |
|
|
Ako zelite odjaviti svoj dolazak na predavanje molimo slijedite ovaj link: |
|
|
|
|
|
$url |
|
119 |
|
|
120 |
__EMAIL__ |
__EMAIL__ |
121 |
); |
); |
126 |
|
|
127 |
my $url = $self->url_for( 'Confirmation/verify_as_markup?token=', $token ); |
my $url = $self->url_for( 'Confirmation/verify_as_markup?token=', $token ); |
128 |
|
|
129 |
$self->send( $self->email, |
$self->send( $email, |
130 |
'Potvrdite prijavu za Zimbarda / Confirm your registration for Zimbardo', <<__EMAIL__ |
'Potvrdite prijavu za Zimbarda / Confirm your registration for Zimbardo', <<__EMAIL__ |
131 |
|
|
132 |
Svoju prijavu za predavanje potvrdite tako da slijedite ovaj link: |
Svoju prijavu za predavanje potvrdite tako da slijedite ovaj link: |
143 |
return qq| |
return qq| |
144 |
<br><br> |
<br><br> |
145 |
$name, <br><br> |
$name, <br><br> |
146 |
Vasa prijava je zaprimljena, ali <u>nije valjana</u> sve dok ju ne potvrdite!. |
Vasa prijava je zaprimljena, ali <u>nije valjana</u> sve dok ju ne potvrdite pomocu poruke koju smo poslali na <tt>$email</tt> |
147 |
<br><br> |
<br><br> |
148 |
Your registration is received but it is <u>not valid</u> until you confirm it! |
Your registration is received but it is <u>not valid</u> until you confirm it! |
149 |
<br><br> |
<br><br> |
150 |
<div style="color:red"> |
<div style="color:red"> |
151 |
Molimo provjerite svoj e-mail i u njemu cete naci link uz pomoc kojeg cete prijavu |
Molimo provjerite svoj e-mail i u njemu cete naci link uz pomoc kojeg cete prijavu |
152 |
jednostavno potvrditi.<br><br> |
jednostavno potvrditi.<br><br> |
153 |
Please check you e-mail. You will receive the message with the link to confirm your registration. |
Please check you e-mail <tt>$email</tt>. You will receive the message with the link to confirm your registration. |
154 |
|
|
155 |
</div> |
</div> |
156 |
|; |
|; |