preset filters 4

This commit is contained in:
Yuri Kuznetsov
2014-07-22 17:37:21 +03:00
parent f0e7a8f029
commit 217d0f6540
5 changed files with 47 additions and 18 deletions
@@ -28,5 +28,9 @@
"labels": {
"Create Email": "Archive Email",
"Compose": "Compose"
},
"presetFilters": {
"sent": "Sent",
"archived": "Archived"
}
}
@@ -109,7 +109,8 @@
"You": "You",
"you": "you",
"change": "change",
"Primary": "Primary"
"Primary": "Primary",
"Save Filters": "Save Filters"
},
"messages": {
"notModified": "You have not modified the record",
@@ -1,6 +1,7 @@
[
"emailAddress",
"dateSent",
"status",
"parent",
"body"
]
@@ -1,19 +1,39 @@
{
"controller": "Controllers.Record",
"model": "Models.Email",
"views":{
"list":"Email.List"
},
"menu": {
"list": {
"buttons": [
{
"label": "Compose",
"action": "composeEmail",
"style": "danger",
"acl": "edit"
}
]
}
}
"controller": "Controllers.Record",
"model": "Models.Email",
"views":{
"list":"Email.List"
},
"menu": {
"list": {
"buttons": [
{
"label": "Compose",
"action": "composeEmail",
"style": "danger",
"acl": "edit"
}
]
}
},
"presetFilters": [
{
"name":"archived",
"data": {
"status": {
"type": "in",
"value": ["Archived"]
}
}
},
{
"name":"sent",
"data": {
"status": {
"type": "in",
"value": ["Sent"]
}
}
}
]
}
@@ -41,6 +41,9 @@
"dashletOptions": {
"type": "text"
},
"presetFilters": {
"type": "text"
},
"smtpEmailAddress": {
"type": "varchar",
"readOnly": true,