73 lines
1.7 KiB
JSON
73 lines
1.7 KiB
JSON
{
|
|
"devMode": false,
|
|
"ignoreCodeBlockRestrictions": false,
|
|
"preferredDateFormat": "YYYY-MM-DD",
|
|
"firstWeekday": {
|
|
"index": 1,
|
|
"name": "Monday",
|
|
"shortName": "Mo"
|
|
},
|
|
"syncInterval": 200,
|
|
"minSyncInterval": 50,
|
|
"maxSyncInterval": 1000,
|
|
"enableJs": true,
|
|
"viewFieldDisplayNullAsEmpty": false,
|
|
"enableSyntaxHighlighting": true,
|
|
"enableEditorRightClickMenu": true,
|
|
"inputFieldTemplates": [],
|
|
"buttonTemplates": [
|
|
{
|
|
"label": "Vu aujourd'hui",
|
|
"icon": "",
|
|
"style": "default",
|
|
"class": "",
|
|
"cssStyle": "",
|
|
"backgroundImage": "",
|
|
"tooltip": "mettre à jour la date de dernier visionage du film",
|
|
"id": "film_update_date_last_seen",
|
|
"hidden": false,
|
|
"actions": [
|
|
{
|
|
"type": "updateMetadata",
|
|
"bindTarget": "nb_times_seen",
|
|
"evaluate": true,
|
|
"value": "parseInt(x) + 1"
|
|
},
|
|
{
|
|
"type": "updateMetadata",
|
|
"bindTarget": "date_last_seen",
|
|
"evaluate": true,
|
|
"value": "moment(Date.now()).format('YYYY/MM/DD')"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Jamais vu",
|
|
"icon": "",
|
|
"style": "destructive",
|
|
"class": "",
|
|
"cssStyle": "",
|
|
"backgroundImage": "",
|
|
"tooltip": "mettre à jour la date de dernier visionage du film",
|
|
"id": "film_jamais_vu",
|
|
"hidden": false,
|
|
"actions": [
|
|
{
|
|
"type": "updateMetadata",
|
|
"bindTarget": "nb_times_seen",
|
|
"evaluate": false,
|
|
"value": "0"
|
|
},
|
|
{
|
|
"type": "updateMetadata",
|
|
"bindTarget": "date_last_seen",
|
|
"evaluate": true,
|
|
"value": "null"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"excludedFolders": [
|
|
"templates"
|
|
]
|
|
} |