[% 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') %]
[% UNLESS run_info %] [% END %] [% FOREACH run_item IN run_info.reverse %] [% END %]
[% text('Upgrade run log') %]
[% text('Time') %] [% text('Run ID') %] [% text('Script path') %] [% text('Attention or Action required') %]
[% text('No schema upgrade scripts run') %]
[% 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 %]