Show More
@@ -1,27 +1,27 | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="base.mako"/> |
|
3 | 3 | |
|
4 | 4 | <%def name="subject()" filter="n,trim,whitespace_filter"> |
|
5 | 5 | RhodeCode new user registration: ${user.username} |
|
6 | 6 | </%def> |
|
7 | 7 | |
|
8 | 8 | <%def name="body_plaintext()" filter="n,trim"> |
|
9 | 9 | |
|
10 | 10 | A new user `${user.username}` has registered on ${h.format_date(date)} |
|
11 | 11 | |
|
12 | 12 | - Username: ${user.username} |
|
13 | 13 | - Full Name: ${user.firstname} ${user.lastname} |
|
14 | 14 | - Email: ${user.email} |
|
15 |
- Profile link: ${h.route_ |
|
|
15 | - Profile link: ${h.route_url('user_profile', username=user.username)} | |
|
16 | 16 | |
|
17 | 17 | ${self.plaintext_footer()} |
|
18 | 18 | </%def> |
|
19 | 19 | |
|
20 | 20 | ## BODY GOES BELOW |
|
21 | 21 | <table style="text-align:left;vertical-align:middle;"> |
|
22 | 22 | <tr><td colspan="2" style="width:100%;padding-bottom:15px;border-bottom:1px solid #dbd9da;"><h4><a href="${h.route_url('user_profile', username=user.username)}" style="color:#427cc9;text-decoration:none;cursor:pointer">${_('New user %(user)s has registered on %(date)s') % {'user': user.username, 'date': h.format_date(date)}}</a></h4></td></tr> |
|
23 | 23 | <tr><td style="padding-right:20px;padding-top:20px;">${_('Username')}</td><td style="line-height:1;padding-top:20px;"><img style="margin-bottom:-5px;text-align:left;border:1px solid #dbd9da" src="${h.gravatar_url(user.email, 16)}" height="16" width="16"> ${user.username}</td></tr> |
|
24 | 24 | <tr><td style="padding-right:20px;">${_('Full Name')}</td><td>${user.firstname} ${user.lastname}</td></tr> |
|
25 | 25 | <tr><td style="padding-right:20px;">${_('Email')}</td><td>${user.email}</td></tr> |
|
26 | 26 | <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> |
|
27 | 27 | </table> No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now