diff --git a/template/nc_connector_admin.tpl b/template/nc_connector_admin.tpl index f978622..32fccda 100644 --- a/template/nc_connector_admin.tpl +++ b/template/nc_connector_admin.tpl @@ -264,14 +264,28 @@ {if $NC_CONNECTOR.connection_count > 0} {foreach from=$NC_CONNECTOR.connections item=connection}
- {$connection.display_name|escape:html} · {if $connection.enabled}aktiv{else}{$connection.takeover_state|escape:html}{/if} + {$connection.display_name|escape:html} · {if $connection.enabled}aktiv{else}{$connection.takeover_state|escape:html}{/if}{if isset($connection.last_sync) && ($connection.last_sync.state == 'error' || $connection.last_sync.state == 'warning')} · Laufzeitproblem{/if}
{if $connection.adapter == 'local' && !$connection.enabled}
{/if} - {if !$connection.enabled && $connection.takeover_state != 'active'}
{/if} +
- {if isset($connection.last_sync) && $connection.last_sync.timestamp > 0}

Letzter Abgleich: {$connection.last_sync.label|escape:html} · {$connection.last_sync.message|escape:html}

{/if} + {if isset($connection.last_sync) && $connection.last_sync.timestamp > 0} +

Letzter Abgleich: {$connection.last_sync.label|escape:html} · {$connection.last_sync.message|escape:html}

+ {if $connection.last_sync.state == 'error'}

Laufzeitfehler: {$connection.last_sync.message|escape:html}

{/if} + {if $connection.last_sync.state == 'warning'}

Laufzeitwarnung: {$connection.last_sync.message|escape:html}

{/if} + {if $connection.last_sync.api_state == 'error'}

API: {$connection.last_sync.api_message|escape:html}

{/if} + {if $connection.last_sync.fallback_state == 'error'}

Fallback: {$connection.last_sync.fallback_message|escape:html}

{/if} + {if $connection.last_sync.error_detail}
Technische Laufzeitdetails

{$connection.last_sync.error_detail|escape:html}

{/if} + {else} +

Laufzeit: Noch kein Laufstatus für diese Verbindung vorhanden.

+ {/if} + {if isset($connection.config.api_enabled)} +

Piwigo-Zugang dieser Verbindung: {if $connection.config.api_enabled}eigene API{elseif $connection.fallback_stored}Fallback{else}kein Zugang gespeichert{/if}

+ {else} +

Piwigo-Zugang: bestehende Legacy-Konfiguration

+ {/if} {if $connection.verification_checks|@count > 0}
Letzte Prüfung
    {foreach from=$connection.verification_checks item=check}
  • {if $check.ok}✓{else}✗{/if} {$check.name|escape:html}: {$check.detail|escape:html}
  • {/foreach}
{/if}
Technische Einstellungen {if $connection.enabled || $connection.takeover_state == 'active'}

Aktive Verbindungen können technisch nicht geändert werden.

{else}