diff --git a/template/nc_connector_admin.tpl b/template/nc_connector_admin.tpl index 08e59b6..2c3edcf 100644 --- a/template/nc_connector_admin.tpl +++ b/template/nc_connector_admin.tpl @@ -12,8 +12,12 @@ Connector-Verbindungen{$NC_CONNECTOR.connection_count|escape:html} Timer aktiv{if $nc_system_available && $NC_CONNECTOR.system.timer_active}Ja{else}Nein{/if} Timer aktiviert{if $nc_system_available && $NC_CONNECTOR.system.timer_enabled}Ja{else}Nein{/if} + Letzter Lauf{if $nc_system_available}{$NC_CONNECTOR.system.last_run_label|escape:html}{else}Nicht verfügbar{/if} Nächster Lauf{if $nc_system_available}{$NC_CONNECTOR.system.next_run_label|escape:html}{else}Nicht verfügbar{/if} + {if $nc_system_available && $NC_CONNECTOR.system.last_run_message} +

Letztes Ergebnis: {$NC_CONNECTOR.system.last_run_message|escape:html}

+ {/if} {if !$nc_system_available}

Systemstatus konnte nicht geladen werden. Die Connector-Verbindung selbst wird dadurch nicht verändert.

{/if} @@ -112,10 +116,8 @@

php /var/www/piwigo/plugins/bratonien_tools/nc-connector-cutover-v2.php {$connection.id|escape:html}

{elseif $connection.takeover_state == 'active'}

Connector aktiv. Der Connector-Timer übernimmt die regelmäßige Prüfung.

-

Nächster geplanter Lauf: {if $nc_system_available}{$NC_CONNECTOR.system.next_run_label|escape:html}{else}Nicht verfügbar{/if}

- {if isset($connection.config.takeover.first_run.result)} -

Erster Connector-Lauf: {$connection.config.takeover.first_run.result|escape:html}{if isset($connection.config.takeover.first_run.checked_at)} · {$connection.config.takeover.first_run.checked_at|escape:html}{/if}

- {/if} +

Letzter Lauf: {if $nc_system_available}{$NC_CONNECTOR.system.last_run_label|escape:html}{else}Nicht verfügbar{/if}{if $nc_system_available && $NC_CONNECTOR.system.last_run_message} · {$NC_CONNECTOR.system.last_run_message|escape:html}{/if}

+

Nächster Lauf: {if $nc_system_available}{$NC_CONNECTOR.system.next_run_label|escape:html}{else}Nicht verfügbar{/if}

{if isset($connection.config.takeover.runtime) && $connection.config.takeover.runtime == 'plugin-runtime'}

Runtime: Bratonien Tools

{/if} @@ -139,8 +141,12 @@

Sync-Zustand

Connector-Timer{if $nc_system_available && $NC_CONNECTOR.system.timer_active}Aktiv{else}Nicht aktiv{/if} + Letzter Lauf{if $nc_system_available}{$NC_CONNECTOR.system.last_run_label|escape:html}{else}Nicht verfügbar{/if} Nächster Lauf{if $nc_system_available}{$NC_CONNECTOR.system.next_run_label|escape:html}{else}Nicht verfügbar{/if}
+ {if $nc_system_available && $NC_CONNECTOR.system.last_run_message} +

{$NC_CONNECTOR.system.last_run_message|escape:html}

+ {/if}