Development
This commit is contained in:
parent
59d3d65d18
commit
ac0aa4de22
4 changed files with 98 additions and 113 deletions
|
|
@ -603,7 +603,7 @@
|
|||
},
|
||||
{
|
||||
"type": "card",
|
||||
"label": "Pending Changes",
|
||||
"label": "Pending Actions",
|
||||
"client_requirement": "client_is_administrator+",
|
||||
"items": [
|
||||
{
|
||||
|
|
@ -613,22 +613,15 @@
|
|||
"items": [
|
||||
{
|
||||
"type": "raw_html",
|
||||
"html": "%PENDING_CHANGES_HTML%"
|
||||
"html": "%PENDING_ACTIONS_HTML%"
|
||||
},
|
||||
{
|
||||
"type": "button_row",
|
||||
"items": [
|
||||
{
|
||||
"type": "button_primary",
|
||||
"formaction": "/action/actions_cardpending_applynow",
|
||||
"text": "Apply Now",
|
||||
"disabled": "%NO_PENDING%"
|
||||
},
|
||||
{
|
||||
"type": "button_secondary",
|
||||
"formaction": "/action/actions_cardpending_revertselected",
|
||||
"text": "Revert Selected",
|
||||
"disabled": "%NO_PENDING%"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -648,7 +641,7 @@
|
|||
"name": "apply_changes_immediately",
|
||||
"input_type": "checkbox",
|
||||
"value": "%GENERAL_APPLY_ON_SAVE%",
|
||||
"hint": "When enabled, saved changes are queued immediately. When disabled, changes accumulate in Pending Changes until you click Apply Now."
|
||||
"hint": "When enabled, saved changes are queued immediately. When disabled, changes accumulate in Pending Actions until you click Apply Now."
|
||||
},
|
||||
{
|
||||
"type": "button_row",
|
||||
|
|
@ -675,8 +668,25 @@
|
|||
"client_requirement": "client_is_administrator+",
|
||||
"items": [
|
||||
{
|
||||
"type": "raw_html",
|
||||
"html": "%CHANGE_HISTORY_HTML%"
|
||||
"type": "form",
|
||||
"action": "/action/actions_cardhistory_revertselected",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "raw_html",
|
||||
"html": "%CHANGE_HISTORY_HTML%"
|
||||
},
|
||||
{
|
||||
"type": "button_row",
|
||||
"items": [
|
||||
{
|
||||
"type": "button_danger",
|
||||
"text": "Revert Selected",
|
||||
"disabled": "%NO_HISTORY%"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue