[% WRAPPER "ui-header.html" stylesheet="ledgersmb.css" include_stylesheet=["system/setup.css"] %] [% PROCESS elements.html %]

## [% text('Database Management Console') %]

[% INCLUDE 'setup/ui-db-credentials.html' %]
[% text('Database Schema Patches Log') %]

[% text('Upgrade run log') %]
[% text('Time') %] | [% text('Run ID') %] | [% text('Script path') %] | [% text('Attention or Action required') %]
--- | --- | --- | ---
[% UNLESS run_info %]
[% text('No schema upgrade scripts run') %]
[% END %] [% FOREACH run_item IN run_info.reverse %]
[% run_item.last_updated %] | [% run_item.run_id %] | [% run_item.path %] | [% IF run_item.messages; FOREACH msg IN run_item.messages ; NEXT IF msg.type != 'feedback'; msg.content.replace('\n\n', ' '); ' '; END ; END %]
[% END %]

[% END %]