Skip to content

Commit

Permalink
mark datasets from external organizations
Browse files Browse the repository at this point in the history
  • Loading branch information
knudmoeller committed Apr 25, 2024
1 parent 05f1985 commit 5cd8cae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Development

- Mark external organizations.
- Add new metadata field `hvd_category` (to link to the category of high-value datasets as defined by the [EU commission implementing regulation 2023/138](https://eur-lex.europa.eu/eli/reg_impl/2023/138/oj?uri=CELEX:32023R0138)).
- Add new metadata field `sample_record` (to link to the matching "Musterdatensatz", see https://www.dcat-ap.de/def/dcatde/2.0/implRules/#verwendung-des-musterdatenkatalogs-fur-kommunen).

Expand Down
13 changes: 13 additions & 0 deletions ckanext/datasetsnippets/templates/datasetsnippets/dataset.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,19 @@
</div>
<div id="layout-grid__area--maincontent">
<h1 class="title">{{ h.dataset_display_name(package) }}</h1>
{% if h.berlin_org_is_external(package.owner_org) %}
<div class="modul-text_wichtig dp-message">
<div>
<h2 class="title">{{ _('Externer Datensatz')}}</h2>
<div class="text textile">
<p>
Dies ist ein externer Datensatz, der nicht von einer Behörde der Berliner Verwaltung veröffentlicht wurde.
</p>
</div>
</div>
<div class="dp-message-icon"><i class="fas fa-exclamation-circle"></i></div>
</div>
{% endif %}
<section class="modul-text_bild imagealignleft">
{% if package.preview_image %}
<div class="image">
Expand Down

0 comments on commit 5cd8cae

Please sign in to comment.