Skip to content
Open
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
8 changes: 8 additions & 0 deletions _data/eupl-translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
EUPL-1.1:
label: EUPL-1.1
official_translations: https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-11
note: Official EUPL 1.1 text in 22 languages of the European Union (Joinup).
EUPL-1.2:
label: EUPL-1.2
official_translations: https://joinup.ec.europa.eu/collection/eupl/eupl-text-eupl-12
note: Official EUPL 1.2 text in 23 languages of the European Union (Joinup).
8 changes: 8 additions & 0 deletions _includes/eupl-translations.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% assign eupl = site.data.eupl-translations[page.spdx-id] %}
{% if eupl %}
<div class="eupl-translations">
<h3 id="eupl-translations">Official translations</h3>
<p>{{ eupl.note }}</p>
<p><a href="{{ eupl.official_translations }}">EU translations on Joinup</a></p>
</div>
{% endif %}
2 changes: 2 additions & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ <h3>Who’s using this license?</h3>
</div>
{% endif %}

{% include eupl-translations.html %}

</div> <!-- /sidebar -->