aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/exordefects
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/admin/exordefects')
-rw-r--r--templates/web/base/admin/exordefects/index.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/web/base/admin/exordefects/index.html b/templates/web/base/admin/exordefects/index.html
index 06d2aa7a5..dba58198d 100644
--- a/templates/web/base/admin/exordefects/index.html
+++ b/templates/web/base/admin/exordefects/index.html
@@ -1,4 +1,4 @@
-[% INCLUDE 'admin/header.html' title=loc('Download Exor RDI') -%]
+[% INCLUDE 'admin/header.html' title=('Download Exor RDI') -%]
[% IF error_message %]
<h2>Error</h2>
@@ -7,20 +7,20 @@
<form method="get" action="[% c.uri_for('download') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
<p>
- <label for="start_date">[% loc('Start Date:') %]</label><input type="text" class="form-control"
- placeholder="[% loc('Click here or enter as dd/mm/yyyy') %]" name="start_date" id="start_date"
+ <label for="start_date">[% ('Start Date:') %]</label><input type="text" class="form-control"
+ placeholder="[% ('Click here or enter as dd/mm/yyyy') %]" name="start_date" id="start_date"
value="[% start_date ? start_date.strftime( '%d/%m/%Y') : '' | html %]" />
</p>
<p>
- <label for="end_date">[% loc('End Date:') %]</label><input type="text" class="form-control"
- placeholder="[% loc('Click here or enter as dd/mm/yyyy') %]" name="end_date" id="end_date" size="5"
+ <label for="end_date">[% ('End Date:') %]</label><input type="text" class="form-control"
+ placeholder="[% ('Click here or enter as dd/mm/yyyy') %]" name="end_date" id="end_date" size="5"
value="[% end_date ? end_date.strftime( '%d/%m/%Y') : '' | html %]" />
</p>
<p>
- [% loc('Inspector:') %] <select class="form-control" id='user_id' name='user_id'>
- <option value=''>[% loc('All inspectors') %]</option>
+ [% ('Inspector:') %] <select class="form-control" id='user_id' name='user_id'>
+ <option value=''>[% ('All inspectors') %]</option>
[% FOR inspector IN inspectors %]
<option value="[% inspector.id %]" [% 'selected' IF user_id == inspector.id %]>[% inspector.name %] ([% inspector.get_extra_metadata('initials') %])</option>
[% END %]