diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2015-09-29 02:43:19 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2015-09-29 02:43:19 +0200 |
commit | df2405cb949e268dda4c880d2685054c0eab4a80 (patch) | |
tree | e27f01bf29b9fe16dfccc157f2a1f2d6fcb872e4 /archaeological_finds | |
parent | fa03f91834500f7589ba1912a681227186d7974e (diff) | |
download | Ishtar-df2405cb949e268dda4c880d2685054c0eab4a80.tar.bz2 Ishtar-df2405cb949e268dda4c880d2685054c0eab4a80.zip |
Display dynamicaly large tables in windows
Diffstat (limited to 'archaeological_finds')
-rw-r--r-- | archaeological_finds/templates/ishtar/sheet_find.html | 2 | ||||
-rw-r--r-- | archaeological_finds/views.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/archaeological_finds/templates/ishtar/sheet_find.html b/archaeological_finds/templates/ishtar/sheet_find.html index 94ec12903..660e32117 100644 --- a/archaeological_finds/templates/ishtar/sheet_find.html +++ b/archaeological_finds/templates/ishtar/sheet_find.html @@ -87,7 +87,7 @@ {% if forloop.counter0 %}<hr/>{% endif %} {% endfor %} -<table> +<table class='simple'> <caption>{%trans "Documents"%}</caption> <tr> <th>{% trans "Title" %}</th> diff --git a/archaeological_finds/views.py b/archaeological_finds/views.py index 2383dcad7..880a3bdfa 100644 --- a/archaeological_finds/views.py +++ b/archaeological_finds/views.py @@ -44,6 +44,8 @@ get_find = get_item( 'base_finds__context_record__parcel__town', 'base_finds__context_record__operation__year': 'base_finds__context_record__operation__year__contains', + 'base_finds__context_record__operation': + 'base_finds__context_record__operation__pk', 'base_finds__context_record__operation__code_patriarche': 'base_finds__context_record__operation__code_patriarche', 'dating__period': 'dating__period__pk', |