diff --git a/ckanext/odsh/i18n/ckanext-odsh.pot b/ckanext/odsh/i18n/ckanext-odsh.pot index 32e57994a11c31e0a7e4d6ffb4bd0a9ab4536676..8fbf82b38e4741db0051de265a8b266b4df8c498 100644 --- a/ckanext/odsh/i18n/ckanext-odsh.pot +++ b/ckanext/odsh/i18n/ckanext-odsh.pot @@ -1,14 +1,14 @@ # Translations template for ckanext-odsh. -# Copyright (C) 2019 ORGANIZATION +# Copyright (C) 2021 ORGANIZATION # This file is distributed under the same license as the ckanext-odsh project. -# FIRST AUTHOR <EMAIL@ADDRESS>, 2019. +# FIRST AUTHOR <EMAIL@ADDRESS>, 2021. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: ckanext-odsh 0.0.1\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2019-10-08 12:09+0000\n" +"POT-Creation-Date: 2021-04-15 13:23+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" @@ -17,41 +17,41 @@ msgstr "" "Content-Transfer-Encoding: 8bit\n" "Generated-By: Babel 2.3.4\n" -#: ckanext/odsh/plugin.py:158 ckanext/odsh/plugin.py:165 ckanext/odsh/plugin.py:171 +#: ckanext/odsh/plugin.py:176 ckanext/odsh/plugin.py:183 ckanext/odsh/plugin.py:189 msgid "Herausgeber" msgstr "" -#: ckanext/odsh/plugin.py:159 ckanext/odsh/plugin.py:168 ckanext/odsh/plugin.py:174 +#: ckanext/odsh/plugin.py:177 ckanext/odsh/plugin.py:186 ckanext/odsh/plugin.py:192 msgid "Kategorie" msgstr "" -#: ckanext/odsh/plugin.py:160 +#: ckanext/odsh/plugin.py:178 msgid "Informationsgegenstand" msgstr "" -#: ckanext/odsh/plugin.py:161 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:223 +#: ckanext/odsh/plugin.py:179 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:225 msgid "Tags" msgstr "" -#: ckanext/odsh/plugin.py:166 ckanext/odsh/plugin.py:172 +#: ckanext/odsh/plugin.py:184 ckanext/odsh/plugin.py:190 msgid "Dateiformat" msgstr "" -#: ckanext/odsh/plugin.py:167 ckanext/odsh/plugin.py:173 +#: ckanext/odsh/plugin.py:185 ckanext/odsh/plugin.py:191 msgid "Lizenz" msgstr "" -#: ckanext/odsh/validation.py:261 +#: ckanext/odsh/validation.py:302 #, python-format msgid "Tag \"%s\" must be alphanumeric characters or symbols: -_.:()" msgstr "" -#: ckanext/odsh/validation.py:312 +#: ckanext/odsh/validation.py:353 msgid "Subject must be a known URI." msgstr "" -#: ckanext/odsh/validation.py:334 +#: ckanext/odsh/validation.py:375 msgid "Subject must not be empty." msgstr "" @@ -73,12 +73,12 @@ msgid "Upload" msgstr "" #: ckanext/odsh/fanstatic/odsh_image-upload.js:75 -#: ckanext/odsh/templates/macros/form.html:342 +#: ckanext/odsh/templates/macros/form.html:357 msgid "Remove" msgstr "" #: ckanext/odsh/fanstatic/odsh_image-upload.js:83 -#: ckanext/odsh/templates/macros/form.html:528 +#: ckanext/odsh/templates/macros/form.html:559 msgid "Image" msgstr "" @@ -246,8 +246,8 @@ msgstr "" #: ckanext/odsh/templates/datarequests/snippets/datarequest_form.html:21 #: ckanext/odsh/templates/organization/snippets/organization_form.html:20 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:27 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:32 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:29 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:34 msgid "Description" msgstr "" @@ -260,10 +260,9 @@ msgid "Are you sure you want to delete this data request?" msgstr "" #: ckanext/odsh/templates/datarequests/snippets/datarequest_form.html:30 -#: ckanext/odsh/templates/organization/snippets/organization_form.html:60 +#: ckanext/odsh/templates/organization/snippets/organization_form.html:51 #: ckanext/odsh/templates/package/edit_view.html:19 -#: ckanext/odsh/templates/package/snippets/package_form.html:32 -#: ckanext/odsh/templates/package/snippets/resource_form.html:96 +#: ckanext/odsh/templates/user/edit_user_form.html:48 msgid "Delete" msgstr "" @@ -284,30 +283,30 @@ msgstr "" msgid "Welcome" msgstr "" -#: ckanext/odsh/templates/macros/form.html:374 +#: ckanext/odsh/templates/macros/form.html:405 msgid "Custom" msgstr "" -#: ckanext/odsh/templates/macros/form.html:374 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:59 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:94 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:249 +#: ckanext/odsh/templates/macros/form.html:405 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:61 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:96 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:251 msgid "This field is required" msgstr "" -#: ckanext/odsh/templates/macros/form.html:510 +#: ckanext/odsh/templates/macros/form.html:541 msgid "Required field" msgstr "" -#: ckanext/odsh/templates/macros/form.html:526 +#: ckanext/odsh/templates/macros/form.html:557 msgid "http://example.com/my-image.jpg" msgstr "" -#: ckanext/odsh/templates/macros/form.html:527 +#: ckanext/odsh/templates/macros/form.html:558 msgid "Image URL" msgstr "" -#: ckanext/odsh/templates/macros/form.html:544 +#: ckanext/odsh/templates/macros/form.html:575 msgid "Clear Upload" msgstr "" @@ -316,7 +315,7 @@ msgstr "" #: ckanext/odsh/templates/organization/index.html:33 #: ckanext/odsh/templates/organization/read_base.html:3 #: ckanext/odsh/templates/organization/read_base.html:6 -#: ckanext/odsh/templates/package/base.html:14 +#: ckanext/odsh/templates/package/base.html:21 msgid "Organizations" msgstr "" @@ -368,7 +367,7 @@ msgid "Issued Descending" msgstr "" #: ckanext/odsh/templates/organization/read.html:32 -#: ckanext/odsh/templates/snippets/package_item.html:90 +#: ckanext/odsh/templates/snippets/package_item.html:101 #: ckanext/odsh/templates/snippets/search_form.html:20 msgid "Popular" msgstr "" @@ -379,17 +378,17 @@ msgid "Search datasets..." msgstr "" #: ckanext/odsh/templates/organization/read.html:37 -#: ckanext/odsh/templates/package/base.html:7 -#: ckanext/odsh/templates/package/base.html:17 -#: ckanext/odsh/templates/package/read.html:17 -#: ckanext/odsh/templates/package/read.html:22 +#: ckanext/odsh/templates/package/base.html:14 +#: ckanext/odsh/templates/package/base.html:24 +#: ckanext/odsh/templates/package/read.html:31 +#: ckanext/odsh/templates/package/read.html:39 #: ckanext/odsh/templates/package/search.html:5 -#: ckanext/odsh/templates/snippets/organization.html:59 +#: ckanext/odsh/templates/snippets/organization.html:102 msgid "Documents" msgstr "" #: ckanext/odsh/templates/organization/read_base.html:29 -#: ckanext/odsh/templates/snippets/organization.html:47 +#: ckanext/odsh/templates/snippets/organization.html:90 msgid "There is no description for this organization" msgstr "" @@ -410,32 +409,27 @@ msgstr "" msgid "A little information about my organization..." msgstr "" -#: ckanext/odsh/templates/organization/snippets/organization_form.html:35 -#: ckanext/odsh/templates/organization/snippets/organization_form.html:48 -msgid "Custom Field" -msgstr "" - -#: ckanext/odsh/templates/organization/snippets/organization_form.html:60 +#: ckanext/odsh/templates/organization/snippets/organization_form.html:51 msgid "" "Are you sure you want to delete this Organization? This will delete all the " "public and private datasets belonging to this organization." msgstr "" -#: ckanext/odsh/templates/organization/snippets/organization_form.html:63 +#: ckanext/odsh/templates/organization/snippets/organization_form.html:54 msgid "Save Organization" msgstr "" #: ckanext/odsh/templates/organization/snippets/organization_item.html:15 -#: ckanext/odsh/templates/snippets/package_item.html:75 +#: ckanext/odsh/templates/snippets/package_item.html:87 msgid "View {organization_name}" msgstr "" -#: ckanext/odsh/templates/package/base.html:22 +#: ckanext/odsh/templates/package/base.html:29 msgid "Dokuments" msgstr "" -#: ckanext/odsh/templates/package/base.html:23 -#: ckanext/odsh/templates/package/read.html:23 +#: ckanext/odsh/templates/package/base.html:30 +#: ckanext/odsh/templates/package/read.html:40 msgid "Create Dataset" msgstr "" @@ -466,7 +460,7 @@ msgstr "" #: ckanext/odsh/templates/package/edit_view.html:21 #: ckanext/odsh/templates/package/new_view.html:31 -#: ckanext/odsh/templates/package/read.html:81 +#: ckanext/odsh/templates/package/read.html:116 msgid "Preview" msgstr "" @@ -513,47 +507,47 @@ msgid "" msgstr "" #: ckanext/odsh/templates/package/new_view.html:32 -#: ckanext/odsh/templates/package/snippets/resource_form.html:111 +#: ckanext/odsh/templates/package/snippets/resource_form.html:103 msgid "Add" msgstr "" -#: ckanext/odsh/templates/package/read.html:35 -#: ckanext/odsh/templates/snippets/package_item.html:79 +#: ckanext/odsh/templates/package/read.html:52 +#: ckanext/odsh/templates/snippets/package_item.html:91 msgid "Draft" msgstr "" -#: ckanext/odsh/templates/package/read.html:38 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:279 -#: ckanext/odsh/templates/snippets/organization.html:25 -#: ckanext/odsh/templates/snippets/package_item.html:81 +#: ckanext/odsh/templates/package/read.html:55 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:281 +#: ckanext/odsh/templates/snippets/organization.html:24 +#: ckanext/odsh/templates/snippets/package_item.html:93 msgid "Deleted" msgstr "" -#: ckanext/odsh/templates/package/read.html:44 +#: ckanext/odsh/templates/package/read.html:61 msgid "Manage Dataset" msgstr "" -#: ckanext/odsh/templates/package/read.html:51 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:255 -#: ckanext/odsh/templates/snippets/package_item.html:70 +#: ckanext/odsh/templates/package/read.html:68 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:257 +#: ckanext/odsh/templates/snippets/package_item.html:82 msgid "Private" msgstr "" -#: ckanext/odsh/templates/package/read.html:62 -msgid "Publisher" +#: ckanext/odsh/templates/package/read.html:79 +msgid "Detailinformationen" msgstr "" -#: ckanext/odsh/templates/package/read.html:101 +#: ckanext/odsh/templates/package/read.html:139 msgid "latest collection member" msgstr "" -#: ckanext/odsh/templates/package/read.html:106 -#: ckanext/odsh/templates/package/read.html:111 +#: ckanext/odsh/templates/package/read.html:144 +#: ckanext/odsh/templates/package/read.html:149 msgid "predecessor" msgstr "" -#: ckanext/odsh/templates/package/read.html:116 -#: ckanext/odsh/templates/package/read.html:121 +#: ckanext/odsh/templates/package/read.html:154 +#: ckanext/odsh/templates/package/read.html:159 msgid "successor" msgstr "" @@ -660,20 +654,20 @@ msgid "Format" msgstr "" #: ckanext/odsh/templates/package/resource_read.html:170 -#: ckanext/odsh/templates/package/snippets/info.html:94 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:93 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:99 +#: ckanext/odsh/templates/package/snippets/info.html:98 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:95 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:101 msgid "License" msgstr "" #: ckanext/odsh/templates/package/search.html:63 -#: ckanext/odsh/templates/package/snippets/info.html:72 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:142 +#: ckanext/odsh/templates/package/snippets/info.html:75 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:144 msgid "timerange" msgstr "" #: ckanext/odsh/templates/package/search.html:78 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:160 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:162 #: ckanext/odsh/templates/snippets/search_form.html:117 msgid "from" msgstr "" @@ -693,7 +687,7 @@ msgid "wrong_start_date_for_search" msgstr "" #: ckanext/odsh/templates/package/search.html:93 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:174 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:176 #: ckanext/odsh/templates/snippets/search_form.html:144 msgid "to" msgstr "" @@ -724,37 +718,37 @@ msgid "View preview" msgstr "" #: ckanext/odsh/templates/package/snippets/info.html:27 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:85 -#: ckanext/odsh/templates/snippets/package_item.html:114 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:87 +#: ckanext/odsh/templates/snippets/package_item.html:127 msgid "subject" msgstr "" #: ckanext/odsh/templates/package/snippets/info.html:38 -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:237 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:239 msgid "language" msgstr "" -#: ckanext/odsh/templates/package/snippets/info.html:50 -#: ckanext/odsh/templates/snippets/package_item.html:97 +#: ckanext/odsh/templates/package/snippets/info.html:51 +#: ckanext/odsh/templates/snippets/package_item.html:109 msgid " category: " msgid_plural " categories: " msgstr[0] "" msgstr[1] "" -#: ckanext/odsh/templates/package/snippets/info.html:82 -#: ckanext/odsh/templates/snippets/package_item.html:115 +#: ckanext/odsh/templates/package/snippets/info.html:86 +#: ckanext/odsh/templates/snippets/package_item.html:128 msgid "issued" msgstr "" -#: ckanext/odsh/templates/package/snippets/info.html:87 +#: ckanext/odsh/templates/package/snippets/info.html:91 msgid "modified" msgstr "" -#: ckanext/odsh/templates/package/snippets/info.html:110 +#: ckanext/odsh/templates/package/snippets/info.html:114 msgid "share this dataset" msgstr "" -#: ckanext/odsh/templates/package/snippets/info.html:125 +#: ckanext/odsh/templates/package/snippets/info.html:129 msgid "send an email" msgstr "" @@ -762,52 +756,48 @@ msgstr "" msgid "Enter title" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:36 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:38 msgid "Enter description" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:58 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:60 msgid "Organization" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:66 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:68 msgid "No organization" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:119 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:121 #: ckanext/odsh/templates/user/snippets/login_form.html:23 msgid "enter name" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:229 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:231 msgid "odsh tags placeholder" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:243 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:245 msgid "Spatial uri" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:248 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:250 msgid "Visibility" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:255 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:257 msgid "Public" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:269 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:271 msgid "State" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:276 +#: ckanext/odsh/templates/package/snippets/package_basic_fields.html:278 msgid "Active" msgstr "" -#: ckanext/odsh/templates/package/snippets/package_form.html:31 -msgid "Are you sure you want to delete this dataset?" -msgstr "" - -#: ckanext/odsh/templates/package/snippets/package_form.html:38 +#: ckanext/odsh/templates/package/snippets/package_form.html:32 msgid "Next: Add Data" msgstr "" @@ -865,11 +855,7 @@ msgstr "" msgid "eg. CSV, XML or JSON" msgstr "" -#: ckanext/odsh/templates/package/snippets/resource_form.html:95 -msgid "Are you sure you want to delete this resource?" -msgstr "" - -#: ckanext/odsh/templates/package/snippets/resource_form.html:106 +#: ckanext/odsh/templates/package/snippets/resource_form.html:98 msgid "Upload dataset" msgstr "" @@ -885,8 +871,8 @@ msgstr "" msgid "Resource count" msgstr "" -#: ckanext/odsh/templates/package/snippets/resource_item.html:24 -#: ckanext/odsh/templates/package/snippets/resource_item.html:41 +#: ckanext/odsh/templates/package/snippets/resource_item.html:28 +#: ckanext/odsh/templates/package/snippets/resource_item.html:45 msgid "download file" msgstr "" @@ -964,15 +950,19 @@ msgstr "" msgid "map" msgstr "" -#: ckanext/odsh/templates/snippets/organization.html:44 +#: ckanext/odsh/templates/snippets/organization.html:87 msgid "read more" msgstr "" -#: ckanext/odsh/templates/snippets/organization.html:55 +#: ckanext/odsh/templates/snippets/organization.html:98 msgid "Followers" msgstr "" -#: ckanext/odsh/templates/snippets/package_item.html:65 +#: ckanext/odsh/templates/snippets/package_item.html:74 +msgid "historical" +msgstr "" + +#: ckanext/odsh/templates/snippets/package_item.html:77 msgid "NEW" msgstr "" @@ -998,19 +988,19 @@ msgid "Date Descending" msgstr "" #: ckanext/odsh/templates/snippets/search_form.html:16 -msgid "Start Date Descending" +msgid "Start Date Ascending" msgstr "" #: ckanext/odsh/templates/snippets/search_form.html:17 -msgid "Start Date Ascending" +msgid "Start Date Descending" msgstr "" #: ckanext/odsh/templates/snippets/search_form.html:18 -msgid "End Date Descending" +msgid "End Date Ascending" msgstr "" #: ckanext/odsh/templates/snippets/search_form.html:19 -msgid "End Date Ascending" +msgid "End Date Descending" msgstr "" #: ckanext/odsh/templates/snippets/search_form.html:45 @@ -1121,17 +1111,91 @@ msgstr[1] "" msgid "No organizations found" msgstr "" -#: ckanext/odsh/templates/user/login.html:3 -#: ckanext/odsh/templates/user/login.html:6 -#: ckanext/odsh/templates/user/login.html:12 +#: ckanext/odsh/templates/user/edit_user_form.html:9 +msgid "Change details" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:10 +#: ckanext/odsh/templates/user/snippets/login_form.html:22 +msgid "Username" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:12 +msgid "Full name" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:12 +msgid "eg. Joe Bloggs" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:14 +msgid "Email" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:14 +msgid "eg. joe@example.com" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:16 +msgid "About" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:16 +msgid "A little information about yourself" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:19 +msgid "Subscribe to notification emails" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:28 +msgid "Change password" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:31 +msgid "Sysadmin Password" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:31 +msgid "Old Password" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:40 +#: ckanext/odsh/templates/user/snippets/login_form.html:29 +msgid "Password" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:42 +msgid "Confirm Password" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:48 +msgid "Are you sure you want to delete this User?" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:53 +msgid "Are you sure you want to regenerate the API key?" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:53 +msgid "Regenerate API Key" +msgstr "" + +#: ckanext/odsh/templates/user/edit_user_form.html:57 +msgid "Update Profile" +msgstr "" + +#: ckanext/odsh/templates/user/login.html:5 +#: ckanext/odsh/templates/user/login.html:15 +#: ckanext/odsh/templates/user/login.html:21 msgid "Login" msgstr "" -#: ckanext/odsh/templates/user/login.html:25 +#: ckanext/odsh/templates/user/login.html:34 msgid "Forgotten your password?" msgstr "" -#: ckanext/odsh/templates/user/login.html:28 +#: ckanext/odsh/templates/user/login.html:37 msgid "change password" msgstr "" @@ -1148,14 +1212,6 @@ msgstr "" msgid "You are now logged out." msgstr "" -#: ckanext/odsh/templates/user/snippets/login_form.html:22 -msgid "Username" -msgstr "" - -#: ckanext/odsh/templates/user/snippets/login_form.html:29 -msgid "Password" -msgstr "" - #: ckanext/odsh/templates/user/snippets/login_form.html:30 msgid "enter password" msgstr "" diff --git a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo index e5231b5c445d99ba368944a4870058a2d41ed820..1c4da89d6d4406861348878d27777743c76b16af 100644 Binary files a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo and b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.mo differ diff --git a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po index 67d07054ce4865ff9540a1ace832104c2edeebca..7df7151bd9a9f16195958fb828cf37f1aac2e475 100644 --- a/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po +++ b/ckanext/odsh/i18n/de/LC_MESSAGES/ckanext-odsh.po @@ -541,4 +541,7 @@ msgid "Name Ascending" msgstr "Name: A – Z" msgid "Name Descending" -msgstr "Name: Z – A" \ No newline at end of file +msgstr "Name: Z – A" + +msgid "historical" +msgstr "historisch" \ No newline at end of file diff --git a/ckanext/odsh/public/odsh.css b/ckanext/odsh/public/odsh.css index eff66dca8d91941a7afa332ade1ef719e42cec48..3530e9c7d6ab4900ea6662fed1bf1e5c2dd2e2a9 100644 --- a/ckanext/odsh/public/odsh.css +++ b/ckanext/odsh/public/odsh.css @@ -739,6 +739,10 @@ label.rangesearch.disabled { border-bottom: none; } +.opaque { + opacity: 0.6; +} + .preview-image-container { display: flex; flex-direction: column; @@ -2363,8 +2367,7 @@ span.clear { { display: inline-block; box-sizing: border-box; - height: 20px; - padding: 3px 10px; + padding: 1px 10px; background-color: #dbdbdb; border-radius: 3px; font-size: 12px; @@ -2608,12 +2611,18 @@ p.package-info-issued { .new-dataset-label { background-color: #d4004b!important;; - padding: 3px 3px 1px 3px; + padding: 2px 3px 2px 3px; font-size: 14px; margin-right: 4px; text-shadow: none; } +.historical-dataset-label +{ + padding: 2px 3px 2px 3px; + text-shadow: none; +} + .comments-heading{ color: black; font-weight: normal; diff --git a/ckanext/odsh/templates/snippets/package_item.html b/ckanext/odsh/templates/snippets/package_item.html index 90ea7af05f4a0355d99e29f590a60a11beb52b7c..c94fa9a412b4661923e853018c154a7192737055 100644 --- a/ckanext/odsh/templates/snippets/package_item.html +++ b/ckanext/odsh/templates/snippets/package_item.html @@ -30,9 +30,11 @@ Example: {% set language_of_package = h.tpsh_get_language_of_package(package) %} {% set language_icon = h.get_language_icon(package) %} {% set thumbnail = package.get('thumbnail') %} +{% set collection = h.get_collection(package) %} +{% set successor_url = collection['successor']['url'] if collection else None %} {% block package_item %} -<li class="odsh-dataset-item"> +<li class="odsh-dataset-item {% if successor_url %}opaque{% endif %}"> <div class="preview-image-container"> {% if thumbnail %} <a href={{ h.url_for(controller='package', action='read', id=package.name) }}> @@ -68,6 +70,9 @@ Example: <p>{{ org }}</p> <h3 class="dataset-heading"> {% block heading_private %} + {% if successor_url %} + <span class='label historical-dataset-label'>{{ _('historical') }}</span> + {% endif %} {% if package.is_new %} <span class='label new-dataset-label'>{{ _('NEW') }}</span> {% endif %}