summaryrefslogtreecommitdiff
path: root/archaeological_finds
diff options
context:
space:
mode:
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
commitdf2405cb949e268dda4c880d2685054c0eab4a80 (patch)
treee27f01bf29b9fe16dfccc157f2a1f2d6fcb872e4 /archaeological_finds
parentfa03f91834500f7589ba1912a681227186d7974e (diff)
downloadIshtar-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.html2
-rw-r--r--archaeological_finds/views.py2
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',