mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
PHRAS-2808-2806_disable-cterms_mask-writable-fields_4.1
new : checkbox in admin/field to allow gui (prod) editing, default=checked. rename "publish_cterms" to "generate_cterms" todo : implement "gui_editable" in edit ux (hide field when =false) todo : 2 new strings (ckbox labels) to trans
This commit is contained in:
@@ -26,7 +26,8 @@ define([
|
||||
"type": "string",
|
||||
"thumbtitle": "0",
|
||||
"tbranch": "",
|
||||
"publish_cterms": false,
|
||||
"generate_cterms": false,
|
||||
"gui_editable": true,
|
||||
"separator": "",
|
||||
"required": false,
|
||||
"report": true,
|
||||
|
@@ -44,8 +44,12 @@ define([
|
||||
this.field.get('tbranch').should.equal("");
|
||||
});
|
||||
|
||||
it("should default publish_cterms property to '0'", function () {
|
||||
this.field.get('publish_cterms').should.equal("0");
|
||||
it("should default generate_cterms property to '1'", function () {
|
||||
this.field.get('generate_cterms').should.equal("1");
|
||||
});
|
||||
|
||||
it("should default gui_editable property to '1'", function () {
|
||||
this.field.get('gui_editable').should.equal("1");
|
||||
});
|
||||
|
||||
it("should default separator property to 'empty'", function () {
|
||||
|
Reference in New Issue
Block a user