diff --git a/template/nc_connector_admin.tpl b/template/nc_connector_admin.tpl index a3d3d84..8ed3b98 100644 --- a/template/nc_connector_admin.tpl +++ b/template/nc_connector_admin.tpl @@ -18,6 +18,17 @@ {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 && $NC_CONNECTOR.system.last_run_api_state == 'error'} +API: {$NC_CONNECTOR.system.last_run_api_message|escape:html}
+ {/if} + {if $nc_system_available && $NC_CONNECTOR.system.last_run_fallback_state == 'ok'} +Fallback: erfolgreich übernommen.
+ {elseif $nc_system_available && $NC_CONNECTOR.system.last_run_fallback_state == 'error'} +Fallback: {$NC_CONNECTOR.system.last_run_fallback_message|escape:html}
+ {/if} + {if $nc_system_available && $NC_CONNECTOR.system.last_run_error_detail} +Fehler: {$NC_CONNECTOR.system.last_run_error_detail|escape:html}
+ {/if}Ergebnis: {$connection.last_sync.message|escape:html}
+ {if $connection.last_sync.api_state == 'ok'} +API: erfolgreich
+ {elseif $connection.last_sync.api_state == 'error'} +API fehlgeschlagen: {$connection.last_sync.api_message|escape:html}
+ {/if} + {if $connection.last_sync.fallback_state == 'ok'} +Fallback: erfolgreich
+ {elseif $connection.last_sync.fallback_state == 'error'} +Fallback fehlgeschlagen: {$connection.last_sync.fallback_message|escape:html}
+ {/if} + {if $connection.last_sync.error_detail} +Technischer Fehler: {$connection.last_sync.error_detail|escape:html}
+ {/if} +{$NC_CONNECTOR.system.last_run_message|escape:html}
+Ergebnis: {$NC_CONNECTOR.system.last_run_message|escape:html}
+ {/if} + {if $nc_system_available && $NC_CONNECTOR.system.last_run_api_state == 'error'} +API fehlgeschlagen: {$NC_CONNECTOR.system.last_run_api_message|escape:html}
+ {/if} + {if $nc_system_available && $NC_CONNECTOR.system.last_run_fallback_state == 'ok'} +Fallback: erfolgreich
+ {elseif $nc_system_available && $NC_CONNECTOR.system.last_run_fallback_state == 'error'} +Fallback fehlgeschlagen: {$NC_CONNECTOR.system.last_run_fallback_message|escape:html}
+ {/if} + {if $nc_system_available && $NC_CONNECTOR.system.last_run_error_detail} +Technischer Fehler: {$NC_CONNECTOR.system.last_run_error_detail|escape:html}
{/if}