{% extends "base.html" %} {% block title %}{{ _('Automatic Schema Updates') }} — {{ service_name }}{% endblock %} {% block stylesheets %} {{ super() }} {% endblock %} {% block content %}
{{ _('Administrators can use automatic schema updates to update the schemas of all objects which do not need any changes to their data to match the current schema of their action.') }}
{% if checking_in_progress %}{{ _('%(service_name)s is currently checking for objects that can have their schemas updated automatically. This may take a few minutes.', service_name=service_name) }}
{% else %}{{ _('To be able to perform automatic schema updates, %(service_name)s can check for objects that can have their schemas updated automatically. This may take a few minutes.', service_name=service_name) }}
{% if check_for_updatable_objects_form %}| {{ _('Updatable Object Check') }} | {{ _('Automatic Schema Update') }} | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ _('User') }} | {{ _('Datetime') }} | {{ _('Status') }} | {{ _('Updatable Objects') }} | {{ _('User') }} | {{ _('Datetime') }} | {{ _('Status') }} | {{ _('Updated Objects') }} | ||||||||||||
| {{ _('Automatic') }} | {{ _('Manual') }} | {{ _('Success') }} | {{ _('Failure') }} | ||||||||||||||||
| {{ user_reference(updatable_object_check.user_id) }} | {{ updatable_object_check.utc_datetime | babel_format_datetime }} |
= 0 %}
data-toggle="tooltip" data-placement="top" title="{{ updatable_object_check.result.previous_object_id }} / {{ max_object_id }}"
{% endif %}
>
|
{% if updatable_object_check.result and 'automatically_updatable_objects' in updatable_object_check.result %} {{ updatable_object_check.result.automatically_updatable_objects | length }} {% else %} — {% endif %} | {% if updatable_object_check.result and 'manually_updatable_objects' in updatable_object_check.result %} {{ updatable_object_check.result.manually_updatable_objects | length }} {% else %} — {% endif %} | {% if loop.first and updatable_object_check.status == UpdatableObjectsCheckStatus.DONE and updatable_object_check.automatic_schema_update is none and (updatable_object_check.result.automatically_updatable_objects or updatable_object_check.result.manually_updatable_objects) %}{% elif updatable_object_check.automatic_schema_update is none %} | — | {% else %}{{ user_reference(updatable_object_check.automatic_schema_update.user_id) }} | {{ updatable_object_check.automatic_schema_update.utc_datetime | babel_format_datetime }} |
{% if updatable_object_check.automatic_schema_update.status == AutomaticSchemaUpdateStatus.DONE %}
{% elif updatable_object_check.automatic_schema_update.result is none or (updatable_object_check.automatic_schema_update.result.object_ids_failure | length == 0 and updatable_object_check.automatic_schema_update.result.object_ids_success | length == 0) %}
{% else %}
{% endif %}
|
{% if updatable_object_check.automatic_schema_update and updatable_object_check.automatic_schema_update.status == AutomaticSchemaUpdateStatus.DONE %} {% if updatable_object_check.automatic_schema_update.result.object_ids_success %} {{ updatable_object_check.automatic_schema_update.result.object_ids_success | length }} {% else %} 0 {% endif %} {% else %} — {% endif %} | {% if updatable_object_check.automatic_schema_update and updatable_object_check.automatic_schema_update.status == AutomaticSchemaUpdateStatus.DONE %} {% if updatable_object_check.automatic_schema_update.result.object_ids_failure %} {{ updatable_object_check.automatic_schema_update.result.object_ids_failure | length }} {% else %} 0 {% endif %} {% else %} — {% endif %} | {% endif %}||||||||