feat(12.1-01): declared record actions with an applicability rule
- pact.HasAdminRecordActions with AdminRecordAction (Applies, Run)
- config_form.yaml recordActions, compiled fail-loud
- show response meta.actions lists the permitted actions that apply
- POST .../{controller}/{id}/actions/{action}: record loaded and locked
through the form scope; 404 out of scope, 409 when it does not apply
- RecordActions.vue with confirm and request flow (mounted by plan 02)
- roster fixture, smoke tests, OpenAPI, TS types, READMEs, docs
This commit is contained in:
@@ -91,6 +91,9 @@ form:
|
||||
tab_errors:
|
||||
one: ":count error"
|
||||
other: ":count errors"
|
||||
action_confirm: "Run “:action” on this record?"
|
||||
action_done: Action completed.
|
||||
action_stale: This action no longer applies to this record. The page has been refreshed.
|
||||
relation:
|
||||
add: Add
|
||||
link: Link
|
||||
|
||||
@@ -101,6 +101,9 @@ form:
|
||||
few: ":count błędy"
|
||||
many: ":count błędów"
|
||||
other: ":count błędu"
|
||||
action_confirm: "Wykonać „:action” na tym rekordzie?"
|
||||
action_done: Akcja została wykonana.
|
||||
action_stale: Ta akcja nie dotyczy już tego rekordu. Strona została odświeżona.
|
||||
relation:
|
||||
add: Dodaj
|
||||
link: Dołącz
|
||||
|
||||
Reference in New Issue
Block a user