Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
3e2fc8a0
Commit
3e2fc8a0
authored
Mar 06, 2012
by
Michal Čihař
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix rendering of registration email
parent
1d3c3172
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
html/registration/activation_email.txt
html/registration/activation_email.txt
+4
-4
html/registration/activation_email_subject.txt
html/registration/activation_email_subject.txt
+1
-1
trans/templatetags/weblate.py
trans/templatetags/weblate.py
+3
-2
No files found.
html/registration/activation_email.txt
View file @
3e2fc8a0
{% load url from future %}{% load i18n %}{% load weblate %}{% filter wordwrap:72 %}{% blocktrans %}Hi,
{% load url from future %}{% load i18n %}{% load weblate %}{% filter wordwrap:72 %}{% blocktrans
with site|site_title as site_title
%}Hi,
This is an automatic email to help you complete your registration
with {
% site_title %
}.
with {
{ site_title }
}.
Please open the following link in your web browser. If the link
is split over several lines, you may need to copy it in the
...
...
@@ -9,10 +9,10 @@ address bar.{% endblocktrans %}
http://{{ site.domain }}{% url 'registration.views.activate' activation_key=activation_key %}
{% blocktrans %}
{% blocktrans
with site|site_title as site_title
%}
If there is a problem with your registration, please reply to
this email.
Best regards,
{
% site_title %
}
{
{ site_title }
}
{% endblocktrans %}{% endfilter%}
html/registration/activation_email_subject.txt
View file @
3e2fc8a0
{% load i18n %}{% load weblate %}{% blocktrans
%}Your registration on {% site_title %
}{% endblocktrans %}
{% load i18n %}{% load weblate %}{% blocktrans
with site|site_title as site_title %}Your registration on {{ site_title }
}{% endblocktrans %}
trans/templatetags/weblate.py
View file @
3e2fc8a0
...
...
@@ -31,6 +31,7 @@ def fmttranslation(value):
return
mark_safe
(
value
)
@
register
.
simple_tag
def
site_title
():
@
register
.
filter
@
stringfilter
def
site_title
(
value
):
return
settings
.
SITE_TITLE
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment