##// END OF EJS Templates
hooks: reserver only high-ports to limit possibility of hitting port from rhodecode stack
hooks: reserver only high-ports to limit possibility of hitting port from rhodecode stack

File last commit:

r4377:a2405083 stable
r4860:d80ce1a5 default
Show More
user_registration.mako
60 lines | 1.8 KiB | application/x-mako | MakoHtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="base.mako"/>
dan
emails: updated emails design and data structure they provide....
r4038 <%namespace name="base" file="base.mako"/>
project: added all source files and assets
r1
emails: fixed newlines in email templates that can break email sending code.
r1728 <%def name="subject()" filter="n,trim,whitespace_filter">
notifications: restyling email templates #4087
r508 RhodeCode new user registration: ${user.username}
project: added all source files and assets
r1 </%def>
<%def name="body_plaintext()" filter="n,trim">
A new user `${user.username}` has registered on ${h.format_date(date)}
- Username: ${user.username}
security: use new safe escaped user attributes across the application....
r1815 - Full Name: ${user.first_name} ${user.last_name}
project: added all source files and assets
r1 - Email: ${user.email}
emails: fixed qualified url in user registration email.
r1777 - Profile link: ${h.route_url('user_profile', username=user.username)}
notifications: restyling email templates #4087
r508
dan
emails: updated emails design and data structure they provide....
r4038 ---
notifications: restyling email templates #4087
r508 ${self.plaintext_footer()}
project: added all source files and assets
r1 </%def>
emails: improved styling, and fixed problems with some email clients...
r4377 ## header
dan
emails: updated emails design and data structure they provide....
r4038 <table style="text-align:left;vertical-align:middle;width: 100%">
<tr>
<td style="width:100%;border-bottom:1px solid #dbd9da;">
<h4 style="margin: 0">
<a href="${h.route_url('user_profile', username=user.username)}" style="${base.link_css()}">
${_('New user {user} has registered on {date}').format(user=user.username, date=h.format_date(date))}
</a>
</h4>
</td>
</tr>
</table>
emails: improved styling, and fixed problems with some email clients...
r4377 <div class="clear-both"></div>
## main body
dan
emails: updated emails design and data structure they provide....
r4038 <table style="text-align:left;vertical-align:middle;width: 100%">
## spacing def
<tr>
<td style="width: 130px"></td>
<td></td>
</tr>
<tr>
<td style="padding-right:20px;padding-top:20px;">${_('Username')}:</td>
<td style="line-height:1;padding-top:20px;">${user.username}</td>
</tr>
<tr>
<td style="padding-right:20px;">${_('Full Name')}:</td>
<td>${user.first_name} ${user.last_name}</td>
</tr>
<tr>
<td style="padding-right:20px;">${_('Email')}:</td>
<td>${user.email}</td>
</tr>
<tr>
<td style="padding-right:20px;">${_('Profile')}:</td>
<td>
<a href="${h.route_url('user_profile', username=user.username)}">${h.route_url('user_profile', username=user.username)}</a>
</td>
</tr>
</table>