added localization for lot views

This commit is contained in:
Thomas Nahuel Rusiecki 2024-11-28 03:33:41 -03:00
parent d29ee817fa
commit c806318c63
2 changed files with 10 additions and 10 deletions

View file

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

View file

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