Change confirmation prompt on trending management (#19626)
This commit is contained in:
parent
9538d9c298
commit
9bae237792
4 changed files with 20 additions and 10 deletions
|
@ -39,22 +39,22 @@
|
|||
.batch-table__toolbar__actions
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.links.allow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.links.confirm_allow') },
|
||||
name: :approve,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.links.allow_provider')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.links.confirm_allow_provider') },
|
||||
name: :approve_providers,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.links.disallow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.links.confirm_disallow') },
|
||||
name: :reject,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.links.disallow_provider')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.links.confirm_disallow_provider') },
|
||||
name: :reject_providers,
|
||||
type: :submit
|
||||
.batch-table__body
|
||||
|
|
|
@ -35,22 +35,22 @@
|
|||
.batch-table__toolbar__actions
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.statuses.allow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.statuses.confirm_allow') },
|
||||
name: :approve,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.statuses.allow_account')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.statuses.confirm_allow_account') },
|
||||
name: :approve_accounts,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.statuses.disallow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.statuses.confirm_disallow') },
|
||||
name: :reject,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.statuses.disallow_account')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.statuses.confirm_disallow_account') },
|
||||
name: :reject_accounts,
|
||||
type: :submit
|
||||
.batch-table__body
|
||||
|
|
|
@ -27,12 +27,12 @@
|
|||
.batch-table__toolbar__actions
|
||||
= f.button safe_join([material_symbol('check'), t('admin.trends.allow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.confirm_allow') },
|
||||
name: :approve,
|
||||
type: :submit
|
||||
= f.button safe_join([material_symbol('close'), t('admin.trends.disallow')]),
|
||||
class: 'table-action-link',
|
||||
data: { confirm: t('admin.reports.are_you_sure') },
|
||||
data: { confirm: t('admin.trends.confirm_disallow') },
|
||||
name: :reject,
|
||||
type: :submit
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue