Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions assets/css/admin.css
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
15 changes: 4 additions & 11 deletions includes/class-fields.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
'<div class="odw-distribution-intro">' .
'<h4>' . esc_html__( 'Was ist eine Distribution?', 'open-data-wizard' ) . '</h4>' .
'<p class="description">' .
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' ) .
'</p>' .
'</div>'
),

Field::make( 'complex', 'odw_distributions', __( 'Wo können die Daten heruntergeladen werden?', 'open-data-wizard' ) )
->set_min( 1 )
->set_collapsed( false )
Expand Down Expand Up @@ -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' )
),
)
)

Expand Down
Loading