Development
This commit is contained in:
parent
33b639a353
commit
113328c566
3 changed files with 27 additions and 15 deletions
|
|
@ -680,7 +680,8 @@ def collect_tokens():
|
|||
pending_html = '<p class="text-muted">No pending actions.</p>'
|
||||
|
||||
tokens['PENDING_ACTIONS_HTML'] = pending_html
|
||||
tokens['NO_PENDING'] = 'true' if not pending_items else ''
|
||||
tokens['NO_PENDING'] = 'true' if not pending_items else ''
|
||||
tokens['NO_DISMISSIBLE_PENDING'] = 'true' if not any(c != 'fix problems' for _, _, c, _ in pending_items) else ''
|
||||
tokens['APPLY_WARNING'] = (
|
||||
f'<span class="btn-notice btn-notice-warning">'
|
||||
f'{_load_icon("arrow-right")}'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue