From feee03dba50cc14c7539a13867747b0160e61b9d Mon Sep 17 00:00:00 2001 From: Tom Elliott Date: Mon, 5 Feb 2018 14:59:11 -0600 Subject: [PATCH] added 'object_location' and 'object_language' fields to the exhbition object content type to support the 'romance and reason' exhibition --- .../isaw/exhibitions/browser/exhibition_object.pt | 4 +++- src/isaw.exhibitions/isaw/exhibitions/interfaces/__init__.py | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/isaw.exhibitions/isaw/exhibitions/browser/exhibition_object.pt b/src/isaw.exhibitions/isaw/exhibitions/browser/exhibition_object.pt index 6f626c30d..e9a77b3c6 100644 --- a/src/isaw.exhibitions/isaw/exhibitions/browser/exhibition_object.pt +++ b/src/isaw.exhibitions/isaw/exhibitions/browser/exhibition_object.pt @@ -15,7 +15,9 @@
Artist:
Artist
Title:
Title
-
Medium:
Medium
+
Languge:
Object Language
+
Medium:
Medium
+
Location:
Object Location
Dimensions:
Running time:
diff --git a/src/isaw.exhibitions/isaw/exhibitions/interfaces/__init__.py b/src/isaw.exhibitions/isaw/exhibitions/interfaces/__init__.py index 6ee0bc1da..027946e43 100644 --- a/src/isaw.exhibitions/isaw/exhibitions/interfaces/__init__.py +++ b/src/isaw.exhibitions/isaw/exhibitions/interfaces/__init__.py @@ -32,6 +32,8 @@ class IExhibitionObject(model.Schema): dimensions = schema.TextLine(title=_(u'Dimensions'), required=False) + object_language = schema.TextLine(title=_(u'Object Language'), required=False) + inventory_num = schema.TextLine(title=_(u'Inventory Number'), required=True) @@ -44,6 +46,8 @@ class IExhibitionObject(model.Schema): medium = schema.TextLine(title=_(u'Medium'), required=False) + object_location = schema.TextLine(title=_(u'Object Location'), required=False) + notes = schema.TextLine(title=_(u'Notes'), required=False)