diff options
| author | Étienne Loks <etienne.loks@proxience.com> | 2015-01-29 00:43:20 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@proxience.com> | 2015-01-29 00:43:20 +0100 |
| commit | c7d253fc94038cd3eb20e190581eff3b461e463b (patch) | |
| tree | 48605e15c495926db24b34a9926a05d19ce3cfbd /archaeological_context_records/models.py | |
| parent | af29d3a7eb0dac8d46bed872b05502383d57e858 (diff) | |
| download | Ishtar-c7d253fc94038cd3eb20e190581eff3b461e463b.tar.bz2 Ishtar-c7d253fc94038cd3eb20e190581eff3b461e463b.zip | |
Fix Bibratce Import - Fix context record window
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index a94421ada..6a08e2f84 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -158,6 +158,10 @@ class ContextRecord(BaseHistorizedItem, OwnPerms, ShortMenuItem): ) @property + def name(self): + return self.label or "" + + @property def short_class_name(self): return pgettext("short", u"Context record") |
