diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-09-06 11:36:13 +0200 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-09-06 11:36:13 +0200 | 
| commit | 73daa6a45ce0eb0ca2629518a4b35bf1970c1a94 (patch) | |
| tree | 1dffdeccee04fa99370e106c63ccdcc80f9d5514 /archaeological_context_records/models.py | |
| parent | 0e5f45823423ffc63efc9b963a04ab8ebcd35a2a (diff) | |
| download | Ishtar-73daa6a45ce0eb0ca2629518a4b35bf1970c1a94.tar.bz2 Ishtar-73daa6a45ce0eb0ca2629518a4b35bf1970c1a94.zip  | |
Context record: display operation code in label (refs #1317)
Diffstat (limited to 'archaeological_context_records/models.py')
| -rw-r--r-- | archaeological_context_records/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/archaeological_context_records/models.py b/archaeological_context_records/models.py index 34204ebfa..637c386f0 100644 --- a/archaeological_context_records/models.py +++ b/archaeological_context_records/models.py @@ -208,7 +208,7 @@ class ContextRecord(BaseHistorizedItem, ImageModel, OwnPerms, ShortMenuItem):      @property      def short_label(self):          return settings.JOINT.join([unicode(item) for item in [ -            self.parcel, self.label] if item]) +            self.operation.get_reference(), self.parcel, self.label] if item])      @property      def show_url(self):  | 
