diff options
Diffstat (limited to 'archaeological_context_records')
| -rw-r--r-- | archaeological_context_records/admin.py | 2 | ||||
| -rw-r--r-- | archaeological_context_records/locale/django.pot | 18 | ||||
| -rw-r--r-- | archaeological_context_records/templates/ishtar/sheet_contextrecord.html | 2 |
3 files changed, 9 insertions, 13 deletions
diff --git a/archaeological_context_records/admin.py b/archaeological_context_records/admin.py index 353d75925..2f6bb3291 100644 --- a/archaeological_context_records/admin.py +++ b/archaeological_context_records/admin.py @@ -37,7 +37,7 @@ class ContextRecordAdmin(HistorizedObjectAdmin): list_display = ('label', 'length', 'width', 'thickness', 'depth') list_filter = ('has_furniture',) - search_fields = ('parcel__operation__name', "datings__period__label") + search_fields = ('label', 'parcel__operation__common_name', 'datings__period__label') model = models.ContextRecord admin.site.register(models.ContextRecord, ContextRecordAdmin) diff --git a/archaeological_context_records/locale/django.pot b/archaeological_context_records/locale/django.pot index e42400f29..11f313b1f 100644 --- a/archaeological_context_records/locale/django.pot +++ b/archaeological_context_records/locale/django.pot @@ -92,8 +92,8 @@ msgstr "" msgid "Depth (m)" msgstr "" -#: forms.py:147 models.py:196 models.py:457 -msgid "Unit" +#: forms.py:147 forms.py:355 models.py:196 models.py:457 +msgid "Context record type" msgstr "" #: forms.py:148 models.py:198 @@ -216,10 +216,6 @@ msgstr "" msgid "Period of the context record" msgstr "" -#: forms.py:355 -msgid "Unit type of the context record" -msgstr "" - #: forms.py:368 msgid "Documentation search" msgstr "" @@ -273,15 +269,15 @@ msgid "Order" msgstr "" #: models.py:79 -msgid "Parent unit" +msgid "Parent context record type" msgstr "" #: models.py:83 -msgid "Unit Type" +msgid "Context record Type" msgstr "" #: models.py:84 -msgid "Unit Types" +msgid "Context record Types" msgstr "" #: models.py:97 @@ -426,7 +422,7 @@ msgid "ID (left)" msgstr "" #: models.py:413 -msgid "Unit (left)" +msgid "Context record type (left)" msgstr "" #: models.py:414 @@ -446,7 +442,7 @@ msgid "ID (right)" msgstr "" #: models.py:419 -msgid "Unit (right)" +msgid "Context record type (right)" msgstr "" #: models.py:420 diff --git a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html index e5304f9cb..e44597961 100644 --- a/archaeological_context_records/templates/ishtar/sheet_contextrecord.html +++ b/archaeological_context_records/templates/ishtar/sheet_contextrecord.html @@ -16,7 +16,7 @@ <ul class='form-flex'> <li><label>{% if item.operation.code_patriarche %}{%trans "Complete ID:"%}{% else %}{%trans "Temporary ID:"%}{% endif %}</label><span class='value'>{{item.full_label}}</span></li> {% field_li "Creation date" item.creation_date %} -{% field_li "Created by" item.history_creator.ishtaruser.full_label %} +{% field_li_detail "Created by" item.history_creator.ishtaruser.person %} {% field_li "Type" item.unit %} {% field_li_multiple "Chronology" item.datings %} {% field_li "Town" item.parcel.town %} |
