|
1 | 1 | {% extends 'layout/page.html' %} |
2 | 2 |
|
3 | 3 | {% block head_title %} |
4 | | - {{ i18n.gettext('List of issues')|u }} |
| 4 | + {% trans %}List of issues{% endtrans %} |
5 | 5 | {% endblock %} |
6 | 6 |
|
7 | 7 | {% block page_header %} |
8 | | - {{ i18n.gettext('List of issues')|u }} |
| 8 | + {% trans %}List of issues{% endtrans %} |
9 | 9 | {% endblock %} |
10 | 10 |
|
11 | 11 | {% block content %} |
|
17 | 17 | <table class='table'> |
18 | 18 | <tr class='info'> |
19 | 19 | {% if request.show.priority %} |
20 | | - <td>{{ i18n.gettext('Priority')|u }}</td> |
| 20 | + <td>{% trans %}Priority{% endtrans %}</td> |
21 | 21 | {% endif %} |
22 | 22 | {% if request.show.id %} |
23 | | - <td>{{ i18n.gettext('ID')|u }}</td> |
| 23 | + <td>{% trans %}ID{% endtrans %}</td> |
24 | 24 | {% endif %} |
25 | 25 | {% if request.show.activity %} |
26 | | - <td>{{ i18n.gettext('Activity')|u }}</td> |
| 26 | + <td>{% trans %}Activity{% endtrans %}</td> |
27 | 27 | {% endif %} |
28 | 28 | {% if request.show.actor %} |
29 | | - <td>{{ i18n.gettext('Actor')|u }}</td> |
| 29 | + <td>{% trans %}Actor{% endtrans %}</td> |
30 | 30 | {% endif %} |
31 | 31 | {% if request.show.keyword %} |
32 | | - <td>{{ i18n.gettext('Keyword')|u }}</td> |
| 32 | + <td>{% trans %}Keyword{% endtrans %}</td> |
33 | 33 | {% endif %} |
34 | 34 | {% if request.show.title %} |
35 | | - <td>{{ i18n.gettext('Title')|u }}</td> |
| 35 | + <td>{% trans %}Title{% endtrans %}</td> |
36 | 36 | {% endif %} |
37 | 37 | {% if request.show.status %} |
38 | | - <td>{{ i18n.gettext('Status')|u }}</td> |
| 38 | + <td>{% trans %}Status{% endtrans %}</td> |
39 | 39 | {% endif %} |
40 | 40 | {% if request.show.creator %} |
41 | | - <td>{{ i18n.gettext('Creator')|u }}</td> |
| 41 | + <td>{% trans %}Creator{% endtrans %}</td> |
42 | 42 | {% endif %} |
43 | 43 | {% if request.show.assignedto %} |
44 | | - <td>{{ i18n.gettext('Assigned To')|u }}</td> |
| 44 | + <td>{% trans %}Assigned To{% endtrans %}</td> |
45 | 45 | {% endif %} |
46 | 46 | </tr> |
47 | 47 | {% for issue in request.batch() %} |
48 | 48 | <tr> |
49 | 49 | {% if request.show.priority %} |
50 | | - <td>{{ issue.priority.plain()|u|e }}</td> |
| 50 | + <td>{{ issue.priority.plain()|u }}</td> |
51 | 51 | {% endif %} |
52 | 52 | {% if request.show.id %} |
53 | 53 | <td>{{ issue.id }}</td> |
54 | 54 | {% endif %} |
55 | 55 | {% if request.show.activity %} |
56 | | - <td>{{ issue.activity.reldate()|u|e }}</td> |
| 56 | + <td>{{ issue.activity.reldate()|u }}</td> |
57 | 57 | {% endif %} |
58 | 58 | {% if request.show.actor %} |
59 | | - <td>{{ issue.actor.plain()|u|e }}</td> |
| 59 | + <td>{{ issue.actor.plain()|u }}</td> |
60 | 60 | {% endif %} |
61 | 61 | {% if request.show.keyword %} |
62 | | - <td>{{ issue.keyword.plain()|u|e }}</td> |
| 62 | + <td>{{ issue.keyword.plain()|u }}</td> |
63 | 63 | {% endif %} |
64 | 64 | {% if request.show.title %} |
65 | 65 | <td> |
66 | | - <a href='issue{{ issue.id }}'>{{ issue.title.plain(hyperlink=0)|u|e }}</a> |
| 66 | + <a href='issue{{ issue.id }}'>{{ issue.title.plain(hyperlink=0)|u }}</a> |
67 | 67 | </td> |
68 | 68 | {% endif %} |
69 | 69 | {% if request.show.status %} |
70 | | - <td>{{ issue.status.plain()|u|e }}</td> |
| 70 | + <td>{{ issue.status.plain()|u }}</td> |
71 | 71 | {% endif %} |
72 | 72 | {% if request.show.creator %} |
73 | | - <td>{{ issue.creator.plain()|u|e }}</td> |
| 73 | + <td>{{ issue.creator.plain()|u }}</td> |
74 | 74 | {% endif %} |
75 | 75 | {% if request.show.assignedto %} |
76 | | - <td>{{ issue.assignedto.plain()|u|e }}</td> |
| 76 | + <td>{{ issue.assignedto.plain()|u }}</td> |
77 | 77 | {% endif %} |
78 | 78 | </tr> |
79 | 79 | {% endfor %} |
|
83 | 83 | <div class='pull-right'> |
84 | 84 | <a class='btn btn-success' |
85 | 85 | href="{{ request.indexargs_url('issue', {'@action':'export_csv'}) }}"> |
86 | | - {{ i18n.gettext('Download as CSV')|u }} |
| 86 | + {% trans %}Download as CSV{% endtrans %} |
87 | 87 | </a> |
88 | 88 | </div> |
89 | 89 | </div> |
90 | 90 |
|
91 | 91 | {% include 'layout/sort.html' %} |
92 | 92 |
|
93 | 93 | {% else %} |
94 | | - <p class='text-error'>{{ i18n.gettext('There are no issues yet!')|u }}</p> |
| 94 | + <p class='text-error'>{% trans %}There are no issues yet!{% endtrans %}</p> |
95 | 95 | {% endif %} |
96 | 96 |
|
97 | 97 | {% endif %} |
|
0 commit comments