diff --git a/static/js/infoView.mdr.js b/static/js/infoView.mdr.js
index 8722f17..c62c033 100644
--- a/static/js/infoView.mdr.js
+++ b/static/js/infoView.mdr.js
@@ -208,7 +208,83 @@ pandora.ui.infoView = function(data) {
pandora.createLinks($info);
}
- // depositor & collection --------------------------------------------------------
+ // Title -------------------------------------------------------------------
+
+ $('
')
+ .css({
+ marginTop: '-2px',
+ marginBottom: '12px'
+ })
+ .append(
+ Ox.EditableContent({
+ editable: canEdit,
+ placeholder: formatLight(Ox._('No Title')),
+ tooltip: canEdit ? pandora.getEditTooltip() : '',
+ value: data.title
+ })
+ .css({
+ fontWeight: 'bold',
+ fontSize: '13px'
+ })
+ .bindEvent({
+ submit: function(event) {
+ editMetadata('title', event.value);
+ }
+ })
+ )
+ .appendTo($text);
+
+ // Groups ------------------------------------------------------------------
+
+ renderGroup(['location', 'date', 'language', 'format']);
+
+ renderGroup([
+ 'director', 'cinematographer', 'editor',
+ 'writer', 'producer', 'featuring'
+ ]);
+
+ renderGroup(['themes']);
+
+ // Summary -------------------------------------------------------------
+
+ if (canEdit || data.summary) {
+ $('
')
+ .css({
+ marginTop: '12px',
+ marginBottom: '12px'
+ })
+ .append(
+ Ox.EditableContent({
+ clickLink: pandora.clickLink,
+ collapseToEnd: false,
+ editable: canEdit,
+ format: function(value) {
+ return value.replace(
+ /
').css({width: '1px', height: 0, clear: 'both'}).appendTo($text);
+ }
+
+ // depositor & collection --------------------------------------------------
['collection', 'depositor'].forEach(function(key) {
if (canEdit || data[key]) {
@@ -273,82 +349,6 @@ pandora.ui.infoView = function(data) {
}
});
- // Title -------------------------------------------------------------------
-
- $('
')
- .css({
- marginTop: '-2px',
- marginBottom: '12px'
- })
- .append(
- Ox.EditableContent({
- editable: canEdit,
- placeholder: formatLight(Ox._('No Title')),
- tooltip: canEdit ? pandora.getEditTooltip() : '',
- value: data.title
- })
- .css({
- fontWeight: 'bold',
- fontSize: '13px'
- })
- .bindEvent({
- submit: function(event) {
- editMetadata('title', event.value);
- }
- })
- )
- .appendTo($text);
-
- // Groups ------------------------------------------------------------------
-
- renderGroup(['location', 'date', 'language']);
-
- renderGroup([
- 'director', 'cinematographer', 'editor',
- 'writer', 'producer', 'featuring'
- ]);
-
- renderGroup(['themes']);
-
- // Summary -------------------------------------------------------------
-
- if (canEdit || data.summary) {
- $('
')
- .css({
- marginTop: '12px',
- marginBottom: '12px'
- })
- .append(
- Ox.EditableContent({
- clickLink: pandora.clickLink,
- collapseToEnd: false,
- editable: canEdit,
- format: function(value) {
- return value.replace(
- /
').css({width: '1px', height: 0, clear: 'both'}).appendTo($text);
- }
-
$('
')
.addClass('OxSelectable')
.css(css)