Translation support and minor login view changes #35

Open
rskthomas wants to merge 20 commits from feature/translation into main
2 changed files with 10 additions and 10 deletions
Showing only changes of commit c806318c63 - Show all commits

View file

@ -14,18 +14,18 @@
<a href="{% url 'lot:add_annotation' lot.pk %}" class="btn btn-primary"> <a href="{% url 'lot:add_annotation' lot.pk %}" class="btn btn-primary">
<i class="bi bi-plus"></i> <i class="bi bi-plus"></i>
Add new annotation {%trans "Add new annotation"%}
<span class="caret"></span> <span class="caret"></span>
</a> </a>
</div> </div>
<h5 class="card-title mt-2">Annotations</h5> <h5 class="card-title mt-2">{% trans "Annotations" %}</h5>
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th scope="col">Key</th> <th scope="col">{%trans "Key"%}</th>
<th scope="col">Value</th> <th scope="col">{%trans "Value"%}</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Created on</th> <th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">{%trans "Created on" %}</th>
<th></th> <th></th>
<th></th> <th></th>
</tr> </tr>

View file

@ -14,18 +14,18 @@
<a href="{% url 'lot:add_document' lot.pk %}" class="btn btn-primary"> <a href="{% url 'lot:add_document' lot.pk %}" class="btn btn-primary">
<i class="bi bi-plus"></i> <i class="bi bi-plus"></i>
Add new document {% trans "Add new document"%}
<span class="caret"></span> <span class="caret"></span>
</a> </a>
</div> </div>
<h5 class="card-title mt-2">Documents</h5> <h5 class="card-title mt-2">{%trans "Documents"%}</h5>
<table class="table table-striped"> <table class="table table-striped">
<thead> <thead>
<tr> <tr>
<th scope="col">Key</th> <th scope="col">{% trans "Key"%}</th>
<th scope="col">Value</th> <th scope="col">{% trans "Value"%}</th>
<th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">Created on</th> <th scope="col" data-type="date" data-format="YYYY-MM-DD hh:mm">{%trans " Created on" %}</th>
<th></th> <th></th>
<th></th> <th></th>
</tr> </tr>