diff --git a/assets/css/admin.css b/assets/css/admin.css index 306264b..00c4d6e 100644 --- a/assets/css/admin.css +++ b/assets/css/admin.css @@ -467,18 +467,7 @@ Distribution intro text ========================================================================= */ -.odw-distribution-intro { - margin-bottom: 16px; - padding: 12px 16px; - background: var(--odw-color-bg-light); - border-left: 4px solid var(--odw-color-primary); - border-radius: 0 var(--odw-radius) var(--odw-radius) 0; -} -.odw-distribution-intro h4 { - margin: 0 0 6px; - font-size: 13px; -} /* ========================================================================= Composite file-size widget (Änderung 8) diff --git a/includes/class-fields.php b/includes/class-fields.php index 1f234a9..28c0d2a 100644 --- a/includes/class-fields.php +++ b/includes/class-fields.php @@ -118,16 +118,6 @@ private static function register_required_fields(): void { ->add_tab( __( '3 — Datenbereitstellung', 'open-data-wizard' ), array( - Field::make( 'html', 'odw_dist_intro' ) - ->set_html( - '
' . - '

' . esc_html__( 'Was ist eine Distribution?', 'open-data-wizard' ) . '

' . - '

' . - esc_html__( 'Eine Distribution beschreibt eine konkrete Bereitstellungsform Ihrer Daten — zum Beispiel eine CSV-Datei, eine JSON-API oder ein PDF-Dokument. Ein Datensatz kann mehrere Distributionen in verschiedenen Formaten haben. Jede Distribution erhält eine eigene Lizenz.', 'open-data-wizard' ) . - '

' . - '
' - ), - Field::make( 'complex', 'odw_distributions', __( 'Wo können die Daten heruntergeladen werden?', 'open-data-wizard' ) ) ->set_min( 1 ) ->set_collapsed( false ) @@ -173,7 +163,10 @@ private static function register_required_fields(): void { ->set_help_text( __( 'NAMENSNENNUNGSTEXT (dcatde:licenseAttributionByText)', 'open-data-wizard' ) . "\n\n" . __( 'Empfohlen bei CC BY und CC BY-SA Lizenzen. Beispiel: Datensatz von Musterorganisation e.V., bereitgestellt unter CC BY 4.0', 'open-data-wizard' ) ), ) ) - ->set_help_text( __( 'DISTRIBUTIONEN (dcat:distribution)', 'open-data-wizard' ) . "\n\n" . __( 'Sie können mehrere Dateiformate (z.B. CSV und JSON) als separate Distributionen anbieten.', 'open-data-wizard' ) ), + ->set_help_text( + __( 'DISTRIBUTIONEN (dcat:distribution)', 'open-data-wizard' ) . "\n\n" . + __( 'Eine Distribution beschreibt eine konkrete Bereitstellungsform — z.B. eine CSV-Datei, eine JSON-API oder ein PDF. Ein Datensatz kann mehrere Distributionen in verschiedenen Formaten haben. Jede Distribution erhält eine eigene Lizenz.', 'open-data-wizard' ) + ), ) )