##// END OF EJS Templates
Need to manually join lazy strings in authors now
neko259 -
r1990:9be6ed3d default
parent child Browse files
Show More
@@ -1,45 +1,47 b''
1 {% extends "boards/base.html" %}
1 {% extends "boards/base.html" %}
2
2
3 {% load i18n %}
3 {% load i18n %}
4 {% load static %}
4 {% load static %}
5
5
6 {% block head %}
6 {% block head %}
7 <title>{% trans "Authors" %}</title>
7 <title>{% trans "Authors" %}</title>
8 {% endblock %}
8 {% endblock %}
9
9
10 {% block content %}
10 {% block content %}
11 {% autoescape off %}
11 {% autoescape off %}
12 <div id="posts-table">
12 <div id="posts-table">
13 <p><img src="{% static 'favicon.png' %}" width="200" /></p>
13 <p><img src="{% static 'favicon.png' %}" width="200" /></p>
14 {% if hosts %}
14 {% if hosts %}
15 <p>{% trans "Available by addresses:" %}
15 <p>{% trans "Available by addresses:" %}
16 {{ hosts|join:', ' }}
16 {{ hosts|join:', ' }}
17 </p>
17 </p>
18 {% endif %}
18 {% endif %}
19 <h2>{% trans 'Statistics' %}</h2>
19 <h2>{% trans 'Statistics' %}</h2>
20 <p>{% trans 'Size of media:' %} {{ media_size|filesizeformat }}.
20 <p>{% trans 'Size of media:' %} {{ media_size|filesizeformat }}.
21 <p>{% blocktrans count count=post_count %}{{ count }} message{% plural %}messages{% endblocktrans %}.</p>
21 <p>{% blocktrans count count=post_count %}{{ count }} message{% plural %}messages{% endblocktrans %}.</p>
22 <p>{% trans 'Messages per day/week/month:' %} {{ post_per_day }}/{{ post_per_week }}/{{ post_per_month }}</p>
22 <p>{% trans 'Messages per day/week/month:' %} {{ post_per_day }}/{{ post_per_week }}/{{ post_per_month }}</p>
23 <p>{{ platform }}</p>
23 <p>{{ platform }}</p>
24 <p>Python {{ python }}</p>
24 <p>Python {{ python }}</p>
25 <h2>{% trans 'Authors' %}</h2>
25 <h2>{% trans 'Authors' %}</h2>
26 {% for nick, values in authors.items %}
26 {% for nick, values in authors.items %}
27 <p>
27 <p>
28 <b>{{ nick }}</b> ({{ values.name }}):
28 <b>{{ nick }}</b> ({{ values.name }}):
29 {% for value in values.contacts %}
29 {% for value in values.contacts %}
30 <a href="mailto:{{ value }}">{{ value }}</a>
30 <a href="mailto:{{ value }}">{{ value }}</a>
31 {% endfor %} -
31 {% endfor %} -
32 {{ values.roles|join:', ' }}
32 {% for value in values.roles %}
33 {{ value }}{% if not forloop.last %}, {% endif %}
34 {% endfor %}
33 </p>
35 </p>
34 {% endfor %}
36 {% endfor %}
35 <br />
37 <br />
36 <p>{% trans "Distributed under the" %}
38 <p>{% trans "Distributed under the" %}
37 <a href="http://www.gnu.org/licenses/gpl.html" >GNU GPLv3</a>
39 <a href="http://www.gnu.org/licenses/gpl.html" >GNU GPLv3</a>
38 {% trans "license" %}</p>
40 {% trans "license" %}</p>
39 <p><a href="https://bitbucket.org/neko259/neboard">
41 <p><a href="https://bitbucket.org/neko259/neboard">
40 {% trans "Repository" %}</a></p>
42 {% trans "Repository" %}</a></p>
41
43
42 <p>Bitcoin: <b>1A4dePg6CGfYcJ7SH1tbaVdjjj1VLv8X1H</b></p>
44 <p>Bitcoin: <b>1A4dePg6CGfYcJ7SH1tbaVdjjj1VLv8X1H</b></p>
43 </div>
45 </div>
44 {% endautoescape %}
46 {% endautoescape %}
45 {% endblock %}
47 {% endblock %}
General Comments 0
You need to be logged in to leave comments. Login now