sparkbooth anbindung gefixt
This commit is contained in:
@@ -50,6 +50,10 @@ class SparkboothConnections extends Page implements HasTable
|
||||
->label('Upload-Pfad')
|
||||
->copyable()
|
||||
->toggleable(),
|
||||
TextColumn::make('sparkbooth_username')
|
||||
->label('Benutzername')
|
||||
->copyable()
|
||||
->toggleable(),
|
||||
TextColumn::make('created_at')
|
||||
->label('Angelegt')
|
||||
->since()
|
||||
@@ -62,7 +66,7 @@ class SparkboothConnections extends Page implements HasTable
|
||||
->color('primary')
|
||||
->modalHeading('Upload-Zugangsdaten')
|
||||
->modalSubmitAction(false)
|
||||
->modalCancelActionLabel('Schließen')
|
||||
->modalCancelActionLabel('Schliessen')
|
||||
->modalContent(function (Gallery $record) {
|
||||
$plainToken = $record->regenerateUploadToken();
|
||||
|
||||
@@ -71,11 +75,14 @@ class SparkboothConnections extends Page implements HasTable
|
||||
'upload_token' => $plainToken,
|
||||
'upload_url' => route('api.sparkbooth.upload'),
|
||||
'gallery_url' => route('gallery.show', $record),
|
||||
'sparkbooth_username' => $record->sparkbooth_username,
|
||||
'sparkbooth_password' => $record->sparkbooth_password,
|
||||
'response_format' => $record->sparkbooth_response_format,
|
||||
];
|
||||
|
||||
Notification::make()
|
||||
->title('Upload-Token wurde erneuert.')
|
||||
->body('Bitte verwende den neuen Token in Sparkbooth.')
|
||||
->title('Zugangsdaten aktualisiert.')
|
||||
->body('Der Upload-Token wurde erneuert. Username/Passwort bleiben unveraendert.')
|
||||
->success()
|
||||
->send();
|
||||
|
||||
@@ -83,6 +90,9 @@ class SparkboothConnections extends Page implements HasTable
|
||||
}),
|
||||
])
|
||||
->emptyStateHeading('Keine Sparkbooth-Verbindungen')
|
||||
->emptyStateDescription('Lege eine neue Verbindung an oder aktiviere Uploads für eine Galerie.');
|
||||
->emptyStateDescription('Lege eine neue Verbindung an oder aktiviere Uploads fuer eine Galerie.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user