Merge pull request #1318 from jackyq2015/master

remove the date field in metadata
This commit is contained in:
Jacky 2017-11-09 22:30:47 -05:00 committed by GitHub
commit 7d7798cb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 4 deletions

View File

@ -71,7 +71,7 @@ public class GetAllProjectMetadataCommand extends Command {
ProjectMetadata pm = e.getValue();
if (pm != null) {
writer.key(e.getKey().toString());
e.getValue().write(writer, options);
pm.write(writer, options);
}
}
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 encoding = "UTF-8";
var ClientSideResourceManager = Packages.com.google.refine.ClientSideResourceManager;
var bundle = false;
var bundle = true;
var templatedFiles = {
// Requests with last path segments mentioned here

View File

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

View File

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