summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormconway <michael_conway@unc.edu>2013-06-11 13:04:11 (GMT)
committer mconway <michael_conway@unc.edu>2013-06-11 13:04:11 (GMT)
commit715fd691a99ba645fc9942fb770f4589a6c8a123 (patch)
treeba2cf460e18fc6b3842ea6fc44f16039f8086536
parentec6d757c19a4efc9e2984fa4cbe34676b93ce893 (diff)
downloadQCG-Data-715fd691a99ba645fc9942fb770f4589a6c8a123.zip
QCG-Data-715fd691a99ba645fc9942fb770f4589a6c8a123.tar.gz
QCG-Data-715fd691a99ba645fc9942fb770f4589a6c8a123.tar.bz2
[#1475] sharing panel not showing
-rwxr-xr-xidrop-web/grails-app/i18n/messages.properties1
-rwxr-xr-xidrop-web/grails-app/views/browse/collectionInfo.gsp26
-rw-r--r--idrop-web/grails-app/views/browse/dataObjectInfo.gsp64
3 files changed, 60 insertions, 31 deletions
diff --git a/idrop-web/grails-app/i18n/messages.properties b/idrop-web/grails-app/i18n/messages.properties
index ee59e36..b82e74a 100755
--- a/idrop-web/grails-app/i18n/messages.properties
+++ b/idrop-web/grails-app/i18n/messages.properties
@@ -131,6 +131,7 @@ text.type=Type
text.tools=Tools
text.unit=Unit
text.update=Update
+text.update.tags=Update Tags
text.updated=Updated
text.upload=Upload
text.upload.and.download=Upload and Download
diff --git a/idrop-web/grails-app/views/browse/collectionInfo.gsp b/idrop-web/grails-app/views/browse/collectionInfo.gsp
index 407d4a7..cf4b20d 100755
--- a/idrop-web/grails-app/views/browse/collectionInfo.gsp
+++ b/idrop-web/grails-app/views/browse/collectionInfo.gsp
@@ -41,7 +41,7 @@
<div class="tab-content" style="width: 100%;">
<div class="tab-pane active" id="info">
- <div class="container-fluid">
+ <div class="container">
<div class="row">
<div class="span12">
<h4>
@@ -56,7 +56,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.created" />:</label>
+ <strong><g:message code="text.created" />:</strong>
</div>
<div class="span10">
${collection.createdAt}
@@ -64,7 +64,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.updated" />:</label>
+ <strong><g:message code="text.updated" />:</strong>
</div>
<div class="span10">
${collection.modifiedAt}
@@ -72,7 +72,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.owner" />:</label>
+ <strong><g:message code="text.owner" />:</strong>
</div>
<div class="span10">
${collection.collectionOwnerName}
@@ -80,7 +80,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.owner.zone" />:</label>
+ <strong><g:message code="text.owner.zone" />:</strong>
</div>
<div class="span10">
${collection.collectionOwnerZone}
@@ -88,7 +88,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.type" />:</label>
+ <strong><g:message code="text.type" />:</strong>
</div>
<div class="span10">
${collection.specColType}
@@ -96,7 +96,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.object.path" />:</label>
+ <strong><g:message code="text.object.path" />:</strong>
</div>
<div class="span10">
${collection.objectPath}
@@ -104,7 +104,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.description" />:</label>
+ <strong><g:message code="text.description" />:</strong>
</div>
<div class="span10">
${collection.comments}
@@ -112,7 +112,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.info" />1:</label>
+ <strong><g:message code="text.info" />1:</strong>
</div>
<div class="span10">
${collection.info1}
@@ -120,7 +120,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.info" />2:</label>
+ <strong><g:message code="text.info" />2:</strong>
</div>
<div class="span10">
${collection.info2}
@@ -129,7 +129,7 @@
<div class="row">
<div class="span2">
- <label><g:message code="text.tags" />:</label>
+ <strong><g:message code="text.tags" />:</strong>
</div>
<div class="span10">
<g:textField id="infoTags" name="tags"
@@ -138,7 +138,7 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.comment" />:</label>
+ <strong><g:message code="text.comment" />:</strong>
</div>
<div class="span10">
<g:textArea id="infoComment" name="comment" rows="5" cols="80"
@@ -149,7 +149,7 @@
<div class="span2"></div>
<div class="span10">
<button type="button" id="updateTags" value="updateTags"
- onclick="updateTags()">Update Tags</button>
+ onclick="updateTags()"><g:message code="text.update.tags" /></button>
</div>
</div>
</div>
diff --git a/idrop-web/grails-app/views/browse/dataObjectInfo.gsp b/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
index 93c5f19..d0dbc7c 100644
--- a/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
+++ b/idrop-web/grails-app/views/browse/dataObjectInfo.gsp
@@ -45,7 +45,19 @@
<div class="tab-content">
<div class="tab-pane active" id="info">
- <div class="container-fluid">
+ <div class="container">
+ <div class="row">
+ <div class="span12">
+ <h4>
+ <g:message code="text.info" />
+ </h4>
+ </div>
+ </div>
+ <div class="row alert alert-info">
+ <div class="span12">
+ <g:message code="heading.info" />
+ </div>
+ </div>
<div class="row" id="infoThumbnailLoadArea">
<div class="span12">
@@ -62,7 +74,8 @@
<div class="row">
<div class="span2">
- <label><g:message code="text.length" />:</label>
+ <strong><g:message code="text.length" />
+ :</strong>
</div>
<div class="span10">
${dataObject.displayDataSize}
@@ -71,7 +84,8 @@
<div class="row">
<div class="span2">
- <label><g:message code="text.created" />:</label>
+ <strong><g:message code="text.created" />
+ :</strong>
</div>
<div class="span10">
${dataObject.createdAt}
@@ -79,7 +93,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.modified" />:</label>
+ <strong><g:message code="text.modified" />
+ :</strong>
</div>
<div class="span10">
${dataObject.updatedAt}
@@ -87,7 +102,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.owner" />:</label>
+ <strong><g:message code="text.owner" />
+ :</strong>
</div>
<div class="span10">
${dataObject.dataOwnerName}
@@ -95,7 +111,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.owner.zone" />:</label>
+ <strong><g:message code="text.owner.zone" />
+ :</strong>
</div>
<div class="span10">
${dataObject.dataOwnerZone}
@@ -103,7 +120,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.data.path" />:</label>
+ <strong><g:message code="text.data.path" />
+ :</strong>
</div>
<div class="span10 longText" style="overflow: auto;">
${dataObject.dataPath}
@@ -111,7 +129,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.resource.group" />:</label>
+ <strong><g:message code="text.resource.group" />
+ :</strong>
</div>
<div class="span10">
${dataObject.resourceGroupName}
@@ -119,7 +138,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.checksum" />:</label>
+ <strong><g:message code="text.checksum" />
+ :</strong>
</div>
<div class="span10">
${dataObject.checksum}
@@ -127,7 +147,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.resource" />:</label>
+ <strong><g:message code="text.resource" />
+ :</strong>
</div>
<div class="span10">
${dataObject.resourceName}
@@ -135,7 +156,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.replica.number" />:</label>
+ <strong><g:message code="text.replica.number" />
+ :</strong>
</div>
<div class="span10">
${dataObject.dataReplicationNumber}
@@ -143,7 +165,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.replication.status" />:</label>
+ <strong><g:message code="text.replication.status" />
+ :</strong>
</div>
<div class="span10">
${dataObject.replicationStatus}
@@ -151,7 +174,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.status" />:</label>
+ <strong><g:message code="text.status" />
+ :</strong>
</div>
<div class="span10">
${dataObject.dataStatus}
@@ -159,7 +183,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.type" />:</label>
+ <strong><g:message code="text.type" />
+ :</strong>
</div>
<div class="span10">
${dataObject.dataTypeName}
@@ -167,7 +192,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.version" />:</label>
+ <strong><g:message code="text.version" />
+ :</strong>
</div>
<div class="span10">
${dataObject.dataVersion}
@@ -176,7 +202,8 @@
<div class="row">
<div class="span2">
- <label><g:message code="text.tags" />:</label>
+ <strong><g:message code="text.tags" />
+ :</strong>
</div>
<div class="span10">
<g:textField id="infoTags" name="tags"
@@ -185,7 +212,8 @@
</div>
<div class="row">
<div class="span2">
- <label><g:message code="text.comment" />:</label>
+ <strong><g:message code="text.comment" />
+ :</strong>
</div>
<div class="span10">
<g:textArea id="infoComment" name="comment" rows="5" cols="80"
@@ -196,7 +224,7 @@
<div class="span2"></div>
<div class="span10">
<button type="button" id="updateTags" value="updateTags"
- onclick="updateTags()">Update Tags</button>
+ onclick="updateTags()"><g:message code="text.update.tags" /></button>
</div>
</div>