remove the date field in metadata

This commit is contained in:
Jacky 2017-11-09 22:29:08 -05:00
parent e8f133887e
commit a53467f2cb
4 changed files with 7 additions and 4 deletions

View File

@ -71,7 +71,7 @@ public class GetAllProjectMetadataCommand extends Command {
ProjectMetadata pm = e.getValue(); ProjectMetadata pm = e.getValue();
if (pm != null) { if (pm != null) {
writer.key(e.getKey().toString()); writer.key(e.getKey().toString());
e.getValue().write(writer, options); pm.write(writer, options);
} }
} }
writer.endObject(); writer.endObject();

View File

@ -34,7 +34,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
var html = "text/html"; var html = "text/html";
var encoding = "UTF-8"; var encoding = "UTF-8";
var ClientSideResourceManager = Packages.com.google.refine.ClientSideResourceManager; var ClientSideResourceManager = Packages.com.google.refine.ClientSideResourceManager;
var bundle = false; var bundle = true;
var templatedFiles = { var templatedFiles = {
// Requests with last path segments mentioned here // Requests with last path segments mentioned here

View File

@ -32,8 +32,7 @@
"description": "Description:", "description": "Description:",
"rowCount": "Row Count:", "rowCount": "Row Count:",
"customMetadata": "Custom Metadata(JSON):", "customMetadata": "Custom Metadata(JSON):",
"id": "Project Id:", "id": "Project ID:",
"date": "Date:",
"importOptionMetadata": "Import Option Metadata(JSON):" "importOptionMetadata": "Import Option Metadata(JSON):"
}, },
"core-index-create": { "core-index-create": {

View File

@ -6,6 +6,10 @@ function EditMetadataDialog(metaData, targetRowElem) {
this._MetadataUI = function(tr, key, value, project) { this._MetadataUI = function(tr, key, value, project) {
var self = this; var self = this;
if (key === "date")
return;
var td0 = tr.insertCell(0); var td0 = tr.insertCell(0);
var keyLable = $.i18n._('core-index')[key] || key; var keyLable = $.i18n._('core-index')[key] || key;