2
2
3
3
{% load evaluation_filters %}
4
4
5
- {% block title %}{% trans 'Your EvaP' %} - {{ block.super }}{% endblock %}
5
+ {% block title %}{% translate 'Your EvaP' %} - {{ block.super }}{% endblock %}
6
6
7
7
{% block breadcrumb_bar %}
8
8
< div class ="breadcrumb-bar ">
18
18
19
19
< div class ="callout callout-info small ">
20
20
{% if editable %}
21
- {% blocktrans %}Please review the evaluation's details below, add all contributors and select suitable questionnaires. Once everything is okay, please approve the evaluation on the bottom of the page.{% endblocktrans %}
21
+ {% blocktranslate %}Please review the evaluation's details below, add all contributors and select suitable questionnaires. Once everything is okay, please approve the evaluation on the bottom of the page.{% endblocktranslate %}
22
22
{% else %}
23
- {% blocktrans %}You cannot edit this evaluation because it has already been approved.{% endblocktrans %}
23
+ {% blocktranslate %}You cannot edit this evaluation because it has already been approved.{% endblocktranslate %}
24
24
{% endif %}
25
25
</ div >
26
26
< h3 >
31
31
{% csrf_token %}
32
32
< div class ="card mb-3 ">
33
33
< div class ="card-body ">
34
- < h5 class ="card-title "> {% trans 'Course data' %}</ h5 >
34
+ < h5 class ="card-title "> {% translate 'Course data' %}</ h5 >
35
35
< div class ="d-flex ">
36
- < label class ="col-md-3 pe-4 form-label "> {% trans 'Name (German)' %}</ label >
36
+ < label class ="col-md-3 pe-4 form-label "> {% translate 'Name (German)' %}</ label >
37
37
< div class ="col-md-7 form-static-text "> {{ evaluation.course.name_de }}</ div >
38
38
</ div >
39
39
< div class ="d-flex ">
40
- < label class ="col-md-3 pe-4 form-label "> {% trans 'Name (English)' %}</ label >
40
+ < label class ="col-md-3 pe-4 form-label "> {% translate 'Name (English)' %}</ label >
41
41
< div class ="col-md-7 form-static-text "> {{ evaluation.course.name_en }}</ div >
42
42
</ div >
43
43
< div class ="d-flex ">
44
- < label class ="col-md-3 pe-4 form-label "> {% trans 'Responsibles' %}</ label >
44
+ < label class ="col-md-3 pe-4 form-label "> {% translate 'Responsibles' %}</ label >
45
45
< div class ="col-md-7 form-static-text "> {{ evaluation.course.responsibles_names }}</ div >
46
46
</ div >
47
47
< div class ="d-flex ">
48
- < label class ="col-md-3 pe-4 form-label "> {% trans 'Degrees' %}</ label >
48
+ < label class ="col-md-3 pe-4 form-label "> {% translate 'Degrees' %}</ label >
49
49
< div class ="col-md-7 form-static-text ">
50
50
{% for degree in evaluation.course.degrees.all %}
51
51
< span class ="badge bg-primary "> {{ degree }}</ span >
52
52
{% endfor %}
53
53
</ div >
54
54
</ div >
55
55
< div class ="d-flex ">
56
- < label class ="col-md-3 pe-4 form-label "> {% trans 'Course type' %}</ label >
56
+ < label class ="col-md-3 pe-4 form-label "> {% translate 'Course type' %}</ label >
57
57
< div class ="col-md-7 form-static-text ">
58
58
< span class ="badge bg-secondary "> {{ evaluation.course.type }}</ span >
59
59
</ div >
@@ -63,17 +63,17 @@ <h5 class="card-title">{% trans 'Course data' %}</h5>
63
63
< div class ="card mb-3 ">
64
64
< div class ="card-body table-responsive ">
65
65
< div class ="d-flex ">
66
- < h5 class ="card-title me-auto "> {% trans 'Evaluation data' %}</ h5 >
66
+ < h5 class ="card-title me-auto "> {% translate 'Evaluation data' %}</ h5 >
67
67
{% if evaluation.allow_editors_to_edit %}
68
68
< div >
69
69
< button type ="button " class ="btn btn-sm btn-light mb-3 createAccountRequestModalShowButton ">
70
- {% trans 'Request creation of new account' %}
70
+ {% translate 'Request creation of new account' %}
71
71
</ button >
72
72
</ div >
73
73
{% else %}
74
74
< div >
75
75
< button type ="button " class ="btn btn-sm btn-light changeEvaluationRequestModalShowButton ">
76
- {% trans 'Request changes' %}
76
+ {% translate 'Request changes' %}
77
77
</ button >
78
78
</ div >
79
79
{% endif %}
@@ -90,22 +90,22 @@ <h5 class="card-title me-auto">{% trans 'Evaluation data' %}</h5>
90
90
< div class ="card card-submit-area card-submit-area-3 text-center mb-3 ">
91
91
< div class ="card-body ">
92
92
{% if editable %}
93
- < button name ="operation " value ="preview " type ="submit " class ="btn btn-light "> {% trans 'Preview' %}</ button >
94
- < button name ="operation " value ="save " type ="submit " class ="btn btn-primary "> {% trans 'Save' %}</ button >
93
+ < button name ="operation " value ="preview " type ="submit " class ="btn btn-light "> {% translate 'Preview' %}</ button >
94
+ < button name ="operation " value ="save " type ="submit " class ="btn btn-primary "> {% translate 'Save' %}</ button >
95
95
96
96
< confirmation-modal type ="submit " name ="operation " value ="approve ">
97
- < span slot ="title "> {% trans 'Approve evaluation' %}</ span >
98
- < span slot ="action-text "> {% trans 'Approve evaluation' %}</ span >
97
+ < span slot ="title "> {% translate 'Approve evaluation' %}</ span >
98
+ < span slot ="action-text "> {% translate 'Approve evaluation' %}</ span >
99
99
< span slot ="question ">
100
- {% blocktrans trimmed %}
100
+ {% blocktranslate trimmed %}
101
101
Do you want to approve this evaluation? This will allow the evaluation team to proceed with the preparation, but you won't be able to make any further changes.
102
- {% endblocktrans %}
102
+ {% endblocktranslate %}
103
103
</ span >
104
104
105
- < button slot ="show-button " type ="button " class ="btn btn-success "> {% trans 'Save and approve' %}</ button >
105
+ < button slot ="show-button " type ="button " class ="btn btn-success "> {% translate 'Save and approve' %}</ button >
106
106
</ confirmation-modal >
107
107
{% endif %}
108
- < a href ="{% url 'contributor:index' %} " class ="btn btn-light "> {% if edit %}{% trans 'Cancel' %}{% else %}{% trans 'Back' %}{% endif %}</ a >
108
+ < a href ="{% url 'contributor:index' %} " class ="btn btn-light "> {% if edit %}{% translate 'Cancel' %}{% else %}{% translate 'Back' %}{% endif %}</ a >
109
109
</ div >
110
110
</ div >
111
111
</ form >
@@ -115,14 +115,14 @@ <h5 class="card-title me-auto">{% trans 'Evaluation data' %}</h5>
115
115
< div class ="modal-dialog modal-xl " role ="document ">
116
116
< div class ="modal-content ">
117
117
< div class ="modal-header ">
118
- < h5 class ="modal-title " id ="previewModalLabel "> {% trans 'Preview' %}</ h5 >
118
+ < h5 class ="modal-title " id ="previewModalLabel "> {% translate 'Preview' %}</ h5 >
119
119
< button type ="button " class ="btn-close " data-bs-dismiss ="modal " aria-label ="Close "> </ button >
120
120
</ div >
121
121
< div class ="modal-body ">
122
122
{{ preview_html }}
123
123
</ div >
124
124
< div class ="modal-footer ">
125
- < button type ="button " class ="btn btn-light " data-bs-dismiss ="modal "> {% trans 'Close' %}</ button >
125
+ < button type ="button " class ="btn btn-light " data-bs-dismiss ="modal "> {% translate 'Close' %}</ button >
126
126
</ div >
127
127
</ div >
128
128
</ div >
@@ -133,12 +133,12 @@ <h5 class="modal-title" id="previewModalLabel">{% trans 'Preview' %}</h5>
133
133
{% block modals %}
134
134
{{ block.super }}
135
135
136
- {% blocktrans asvar title with evaluation_name=evaluation.full_name %}Request account creation for {{ evaluation_name }}{% endblocktrans %}
137
- {% trans 'Please tell us which new account we should create. We need the name and email for all new accounts.' as teaser %}
136
+ {% blocktranslate asvar title with evaluation_name=evaluation.full_name %}Request account creation for {{ evaluation_name }}{% endblocktranslate %}
137
+ {% translate 'Please tell us which new account we should create. We need the name and email for all new accounts.' as teaser %}
138
138
{% include 'contact_modal.html' with modal_id='createAccountRequestModal' user=request.user title=title teaser=teaser %}
139
139
140
- {% blocktrans asvar title with evaluation_name=evaluation.full_name %}Request evaluation changes for {{ evaluation_name }}{% endblocktrans %}
141
- {% trans 'Please tell us what changes to the evaluation we should make.' as teaser %}
140
+ {% blocktranslate asvar title with evaluation_name=evaluation.full_name %}Request evaluation changes for {{ evaluation_name }}{% endblocktranslate %}
141
+ {% translate 'Please tell us what changes to the evaluation we should make.' as teaser %}
142
142
{% include 'contact_modal.html' with modal_id='changeEvaluationRequestModal' user=request.user title=title teaser=teaser %}
143
143
{% endblock %}
144
144
0 commit comments