From 678a89ff89eb6b00b8ba82849e66a32b410afd04 Mon Sep 17 00:00:00 2001 From: Kevin Ngai Date: Mon, 12 Aug 2024 17:26:03 +0000 Subject: [PATCH] Fix breadcrumb links and add collections/schema.html - Remove use of non existant data['id'] on certain templates - Use data['collections_path'] in breadcrumb as the first URL pathing in most cases --- locale/en/LC_MESSAGES/messages.po | 178 ++++++++++++------- locale/fr/LC_MESSAGES/messages.mo | Bin 10802 -> 10892 bytes locale/fr/LC_MESSAGES/messages.po | 155 +++++++++------- theme/templates/collections/collection.html | 4 +- theme/templates/collections/index.html | 2 +- theme/templates/collections/items/index.html | 2 +- theme/templates/collections/items/item.html | 4 +- theme/templates/collections/queryables.html | 6 +- theme/templates/collections/schema.html | 49 +++++ 9 files changed, 260 insertions(+), 140 deletions(-) create mode 100644 theme/templates/collections/schema.html diff --git a/locale/en/LC_MESSAGES/messages.po b/locale/en/LC_MESSAGES/messages.po index 68de2f52..ccccb017 100644 --- a/locale/en/LC_MESSAGES/messages.po +++ b/locale/en/LC_MESSAGES/messages.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: PROJECT VERSION\n" "Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" -"POT-Creation-Date: 2022-05-12 19:43+0000\n" +"POT-Creation-Date: 2024-08-12 17:10+0000\n" "PO-Revision-Date: 2022-04-14 15:12-0700\n" "Last-Translator: \n" "Language: en_CA\n" @@ -16,162 +16,170 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.8.0\n" +"Generated-By: Babel 2.7.0\n" -#: theme/templates/_base.html:33 +#: theme/templates/_base.html:46 msgid "Skip to main content" msgstr "" -#: theme/templates/_base.html:36 +#: theme/templates/_base.html:49 msgid "Skip to \"About government\"" msgstr "" -#: theme/templates/_base.html:98 theme/templates/_base.html:100 +#: theme/templates/_base.html:58 +msgid "Format and language selection" +msgstr "" + +#: theme/templates/_base.html:115 theme/templates/_base.html:117 msgid "Environment & Climate Change Canada" msgstr "" -#: theme/templates/_base.html:112 +#: theme/templates/_base.html:125 +msgid "You are here:" +msgstr "" + +#: theme/templates/_base.html:129 theme/templates/landing_page.html:2 msgid "Home" msgstr "" -#: theme/templates/_base.html:123 +#: theme/templates/_base.html:140 msgid "Powered by" msgstr "" -#: theme/templates/_base.html:133 +#: theme/templates/_base.html:150 msgid "About government" msgstr "" -#: theme/templates/_base.html:135 +#: theme/templates/_base.html:152 msgid "https://www.canada.ca/en/contact.html" msgstr "" -#: theme/templates/_base.html:135 +#: theme/templates/_base.html:152 msgid "Contact us" msgstr "" -#: theme/templates/_base.html:136 +#: theme/templates/_base.html:153 msgid "https://www.canada.ca/en/government/dept.html" msgstr "" -#: theme/templates/_base.html:136 +#: theme/templates/_base.html:153 msgid "Departments and agencies" msgstr "" -#: theme/templates/_base.html:137 +#: theme/templates/_base.html:154 msgid "https://www.canada.ca/en/government/publicservice.html" msgstr "" -#: theme/templates/_base.html:137 +#: theme/templates/_base.html:154 msgid "Public service and military" msgstr "" -#: theme/templates/_base.html:138 +#: theme/templates/_base.html:155 msgid "https://www.canada.ca/en/news.html" msgstr "" -#: theme/templates/_base.html:138 +#: theme/templates/_base.html:155 msgid "News" msgstr "" -#: theme/templates/_base.html:139 +#: theme/templates/_base.html:156 msgid "https://www.canada.ca/en/government/system/laws.html" msgstr "" -#: theme/templates/_base.html:139 +#: theme/templates/_base.html:156 msgid "Treaties, laws and regulations" msgstr "" -#: theme/templates/_base.html:140 +#: theme/templates/_base.html:157 msgid "https://www.canada.ca/en/transparency/reporting.html" msgstr "" -#: theme/templates/_base.html:140 +#: theme/templates/_base.html:157 msgid "Government-wide reporting" msgstr "" -#: theme/templates/_base.html:141 +#: theme/templates/_base.html:158 msgid "https://pm.gc.ca/eng" msgstr "" -#: theme/templates/_base.html:141 +#: theme/templates/_base.html:158 msgid "Prime Minister" msgstr "" -#: theme/templates/_base.html:142 +#: theme/templates/_base.html:159 msgid "https://www.canada.ca/en/government/system.html" msgstr "" -#: theme/templates/_base.html:142 +#: theme/templates/_base.html:159 msgid "How government works" msgstr "" -#: theme/templates/_base.html:143 +#: theme/templates/_base.html:160 msgid "https://open.canada.ca/en/" msgstr "" -#: theme/templates/_base.html:143 +#: theme/templates/_base.html:160 msgid "Open government" msgstr "" -#: theme/templates/_base.html:151 +#: theme/templates/_base.html:168 msgid "About this site" msgstr "" -#: theme/templates/_base.html:153 +#: theme/templates/_base.html:170 msgid "https://www.canada.ca/en/social.html" msgstr "" -#: theme/templates/_base.html:153 +#: theme/templates/_base.html:170 msgid "Social media" msgstr "" -#: theme/templates/_base.html:154 +#: theme/templates/_base.html:171 msgid "https://www.canada.ca/en/mobile.html" msgstr "" -#: theme/templates/_base.html:154 +#: theme/templates/_base.html:171 msgid "Mobile applications" msgstr "" -#: theme/templates/_base.html:155 +#: theme/templates/_base.html:172 msgid "https://www1.canada.ca/en/newsite.html" msgstr "" -#: theme/templates/_base.html:155 +#: theme/templates/_base.html:172 msgid "About Canada.ca" msgstr "" -#: theme/templates/_base.html:156 +#: theme/templates/_base.html:173 msgid "https://www.canada.ca/en/transparency/terms.html" msgstr "" -#: theme/templates/_base.html:156 +#: theme/templates/_base.html:173 msgid "Terms and conditions" msgstr "" -#: theme/templates/_base.html:157 +#: theme/templates/_base.html:174 msgid "https://www.canada.ca/en/transparency/privacy.html" msgstr "" -#: theme/templates/_base.html:157 +#: theme/templates/_base.html:174 msgid "Privacy" msgstr "" -#: theme/templates/_base.html:161 +#: theme/templates/_base.html:178 msgid "Top of page" msgstr "" -#: theme/templates/_base.html:164 +#: theme/templates/_base.html:181 msgid "Symbol of the Government of Canada" msgstr "" -#: theme/templates/conformance.html:4 theme/templates/conformance.html:8 -#: theme/templates/landing_page.html:74 +#: theme/templates/conformance.html:2 theme/templates/conformance.html:4 +#: theme/templates/conformance.html:8 theme/templates/landing_page.html:74 msgid "Conformance" msgstr "" -#: theme/templates/exception.html:7 +#: theme/templates/exception.html:2 theme/templates/exception.html:7 msgid "Exception" msgstr "" @@ -182,10 +190,12 @@ msgstr "" #: theme/templates/collections/collection.html:4 #: theme/templates/collections/coverage/domainset.html:4 #: theme/templates/collections/coverage/rangetype.html:4 +#: theme/templates/collections/index.html:2 #: theme/templates/collections/index.html:4 #: theme/templates/collections/items/index.html:16 #: theme/templates/collections/items/item.html:25 #: theme/templates/collections/queryables.html:4 +#: theme/templates/collections/schema.html:4 #: theme/templates/collections/tiles/index.html:4 #: theme/templates/collections/tiles/metadata.html:4 #: theme/templates/landing_page.html:32 theme/templates/stac/collection.html:13 @@ -270,6 +280,10 @@ msgstr "" msgid "Contact URL" msgstr "" +#: theme/templates/landing_page.html:122 +msgid "Hours" +msgstr "" + #: theme/templates/landing_page.html:126 msgid "Contact instructions" msgstr "" @@ -331,6 +345,7 @@ msgstr "" #: theme/templates/collections/index.html:23 #: theme/templates/collections/index.html:79 +#: theme/templates/collections/schema.html:19 #: theme/templates/collections/tiles/index.html:109 #: theme/templates/processes/index.html:14 theme/templates/stac/catalog.html:29 #: theme/templates/stac/catalog.html:101 @@ -340,6 +355,7 @@ msgstr "" #: theme/templates/collections/index.html:29 #: theme/templates/collections/index.html:83 +#: theme/templates/collections/schema.html:21 msgid "Type" msgstr "" @@ -352,6 +368,25 @@ msgstr "" msgid "Description" msgstr "" +#: theme/templates/collections/schema.html:6 +#: theme/templates/collections/schema.html:17 +msgid "Schema" +msgstr "" + +#: theme/templates/collections/schema.html:20 +#: theme/templates/processes/process.html:23 +#: theme/templates/processes/process.html:54 +msgid "Title" +msgstr "" + +#: theme/templates/collections/schema.html:22 +msgid "Units" +msgstr "" + +#: theme/templates/collections/schema.html:23 +msgid "Values" +msgstr "" + #: theme/templates/collections/coverage/domainset.html:11 msgid "Coverage domain set" msgstr "" @@ -433,15 +468,15 @@ msgstr "" msgid "Items" msgstr "" -#: theme/templates/collections/items/index.html:32 +#: theme/templates/collections/items/index.html:34 msgid "Items in this collection." msgstr "" -#: theme/templates/collections/items/index.html:47 +#: theme/templates/collections/items/index.html:49 msgid "Only show items by map view" msgstr "" -#: theme/templates/collections/items/index.html:51 +#: theme/templates/collections/items/index.html:53 msgid "" "No results. Please modify your search query or reset the table." msgstr "" -#: theme/templates/collections/items/index.html:58 -#: theme/templates/collections/items/index.html:63 +#: theme/templates/collections/items/index.html:60 +#: theme/templates/collections/items/index.html:65 msgid "Filter table content" msgstr "" -#: theme/templates/collections/items/index.html:73 +#: theme/templates/collections/items/index.html:75 msgid "Reset" msgstr "" -#: theme/templates/collections/items/index.html:75 +#: theme/templates/collections/items/index.html:77 msgid "Apply column keyword search queries to the entire collection" msgstr "" -#: theme/templates/collections/items/index.html:79 +#: theme/templates/collections/items/index.html:81 msgid "Search by keywords" msgstr "" -#: theme/templates/collections/items/index.html:97 +#: theme/templates/collections/items/index.html:99 msgid "Keyword search for: [% th.key %]" msgstr "" -#: theme/templates/collections/items/index.html:101 +#: theme/templates/collections/items/index.html:103 msgid "" "eg. "BC QC ON" will search for "BC" or "ON"" " or "QC"" msgstr "" -#: theme/templates/collections/items/index.html:103 +#: theme/templates/collections/items/index.html:105 msgid "Keyword" msgstr "" -#: theme/templates/collections/items/index.html:142 +#: theme/templates/collections/items/index.html:144 msgid "Limit:" msgstr "" -#: theme/templates/collections/items/index.html:160 +#: theme/templates/collections/items/index.html:162 msgid "Higher limits are not recommended" msgstr "" #: theme/templates/collections/items/index.html:166 +msgid "Previous" +msgstr "" + +#: theme/templates/collections/items/index.html:168 #, python-format msgid "Page [% currentPage %] / [% maxPages %]" msgstr "" -#: theme/templates/collections/items/index.html:168 +#: theme/templates/collections/items/index.html:170 #: theme/templates/collections/items/item.html:62 msgid "Next" msgstr "" -#: theme/templates/collections/items/index.html:195 +#: theme/templates/collections/items/index.html:198 msgid "" "Clear column keyword search queries and reset to display the default " "results" msgstr "" +#: theme/templates/collections/items/index.html:203 +msgid "Showing $firstPage to $upper of $itemsTotal" +msgstr "" + +#: theme/templates/collections/items/index.html:204 +msgid "Showing 0 results" +msgstr "" + +#: theme/templates/collections/items/index.html:248 +msgid "filtered from $totalSize total entry" +msgstr "" + +#: theme/templates/collections/items/index.html:249 +msgid "filtered from $totalSize total entries" +msgstr "" + +#: theme/templates/collections/items/index.html:250 +msgid "Showing $startEntryOfPage to $lastEntryOfPage of $filteredNumEntries" +msgstr "" + #: theme/templates/collections/items/item.html:60 msgid "Prev" msgstr "" @@ -642,11 +701,6 @@ msgstr "" msgid "ID" msgstr "" -#: theme/templates/processes/process.html:23 -#: theme/templates/processes/process.html:54 -msgid "Title" -msgstr "" - #: theme/templates/processes/process.html:24 msgid "Data type" msgstr "" diff --git a/locale/fr/LC_MESSAGES/messages.mo b/locale/fr/LC_MESSAGES/messages.mo index bbd677b829f9f9b46d115a833c835f49f431fddf..6997fc8c050f0801935dc225514a24560ff816c8 100644 GIT binary patch delta 2874 zcmYM!3ry8z7{~EfI22Q%tNC$|E35S~kL99u#nHrivO(cOBNdsMmRtj{8$+V3% z7m=0I+%!qET41ic%}bK4T#*&6`?6NT9J%Sjmelv>dAFSUdEfv4y*$tJzW*~+-B;uN zG14($_;Y}NiTrB|Q1Aag$3l!rrh6Qt@h9})RSd_}Ta1aoe7qIQZNCZw={Mos*osbk z14Hp00+CSj}lv zg6A;`$8YL2W|~GY4Ihl!{S=3ykx$8@YlEzp7S_%a6J5Guf-~nR%p@xF ze^CiJDVzEslKqW~h9ZtbMV5`Ta6W3IdejkYLz%Ix#Ss12%63)i9oZ9rxA47#xgway+?h2BIZ zb_li4IqUfd&R-9{;K2zTL!IeM+$5T22z9AW^B=*Q3z&hwpaKtZ`HVrW<3??mh8pid z1yY6@Ux7NBWvGhOx~RV8lUR3*Dmm3?EqoAF+9AxuZ&6=^KeP2d5w&m%CZPwF!TqSSUyd60 zAgc6rw%>{hbRBx|X}kjmF-zb7r!;hluA?%DC0#{Uf-7+$rsH1J#7|He|B0&H6f)IB z&E(uM6SJ`r3$YV(a2V&}MbtWRvD%OGFQcIc4VaI;sDbZeE?!0jkVH9@VTE#8p%Vp`@b{C8PSwkYG(SGS+n3=L4vX4&W*r zLT%*Yrs|T$p)Oe}>JH39ie&CVUB(*Jkv)rEP3)zy5&KYQ?BwRrG?A#j2X$#mkYboc zsLS*S>a5%GPVB){dI+B#hLRIKKRHiGC56C=@T6Z%lkv^P*1E_JQymr7hcEHc5g)d<- zPTGE^+jpBis0Eu*muwB{u5_R(unkqA7g6JO;a9j1m1t+OFR*t}74e?655C3>9*m9A+0#u+&QNI)Q7_0BUmxdx^w408If%;e0;-fhpfdam6>(^$Z=-xHrQeA9#oUQS_&HJ(6U3rSG1;hjHCTcj zSb&Ey2ghfd%9}qN3H*9Ec~D_pVy&{)VhHaWQJ1m}gK-n8LYu8yho1{63k+y#X=N4z@<-7BWO7e312jjN(=f}(; zjOG+7!A?xZ{)alo4AO|@!fjlJv#1H9c{&Lb(TCZn30}f9+>J4K7!}|#^x{d>e3wv_ z_!gD<5GtXYwm&9W-`t|1i2p!EwtyL!NPV?X0cs1%(S>_Z3+_Wb*Nl;P47Jb+R05|_ zJD)2Gu6l$J1)PjGZ z#{Y{7Bt9`bJ_WTk9#lp05~;r)*ko_Kg6daWYf%9;pcZ@|m3h1EpTQLRU8qW3MxB}O zaW#(OCUkL;rYT1ST7%26)}f(2Y(dVQX~&1B6g6=_YQbUTV{Y=LEx3!yYz`mC2dF(y zr_RbS2Q_a1DS~+cRnclxpu14>ItOT|q%D|>7f^4(fE_S}ns^2?@o!WHOPO7Jo{lQ@ zO4NjY^kWfbV;!!+qo}iT2^H`N5{P5&)2QKsi*$Whi+b<_RED3UO7#^o)C}P&oWy*L zTWU-(uEPRs#3DS0n&$>;!Fk(Xk!sA7^q<2b);IfU6mp>l6~GuOlL*Qn-PU+(GAgh% zR4KDiTT*~}4U4Vo@$CqH{ZIjPbK;c1PpAq_sIT`wf%FK@c#*ND1U0Y{wa{*S6ZfGO z8bTe$o2Wx|3$^F>kfN9c)Zt6!JUa0a64L!%5WP z@u2oNfO+^VdT|fx`43U!dQpj7MJ+Ib9-KgJi4K6CTZ_bK-pHW-iflg@^xCzc_Oun1 zQ6F-!%~gAU2$j(&>bY_2Z^*|?^QAyyIH}tEH1y#{Q~>p;ihhE6{(L6&*WUDSL3=lV z3S8n+#P#aA!Y>i;6GS`S*#Ys?O1^AsNaY0a1qW} z|Fq6qHArX0oku=8d`Vo0MGr<{p4A_^61Tw}T1ea$ncP(GY24{)s(-h+p|0L+-LdyT zedxUsxlNvn#DsOT76o*Jt0{u 1);\n" +"Plural-Forms: nplurals=2; plural=(n > 1)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.7.0\n" -#: theme/templates/_base.html:34 +#: theme/templates/_base.html:46 msgid "Skip to main content" msgstr "Passer au contenu principal" -#: theme/templates/_base.html:37 +#: theme/templates/_base.html:49 msgid "Skip to \"About government\"" msgstr "Passer à « À propos de ce site »" -#: theme/templates/_base.html:46 +#: theme/templates/_base.html:58 msgid "Format and language selection" msgstr "Sélection du format et de la langue" -#: theme/templates/_base.html:103 theme/templates/_base.html:105 +#: theme/templates/_base.html:115 theme/templates/_base.html:117 msgid "Environment & Climate Change Canada" msgstr "Environnement et Changement climatique Canada" -#: theme/templates/_base.html:113 +#: theme/templates/_base.html:125 msgid "You are here:" msgstr "Vous êtes ici :" -#: theme/templates/_base.html:117 theme/templates/landing_page.html:2 +#: theme/templates/_base.html:129 theme/templates/landing_page.html:2 msgid "Home" msgstr "Accueil" -#: theme/templates/_base.html:128 +#: theme/templates/_base.html:140 msgid "Powered by" msgstr "Propulsé par" -#: theme/templates/_base.html:138 +#: theme/templates/_base.html:150 msgid "About government" msgstr "Au sujet du gouvernement" -#: theme/templates/_base.html:140 +#: theme/templates/_base.html:152 msgid "https://www.canada.ca/en/contact.html" msgstr "https://www.canada.ca/fr/contact.html" -#: theme/templates/_base.html:140 +#: theme/templates/_base.html:152 msgid "Contact us" msgstr "Contactez-nous" -#: theme/templates/_base.html:141 +#: theme/templates/_base.html:153 msgid "https://www.canada.ca/en/government/dept.html" msgstr "https://www.canada.ca/fr/gouvernement/min.html" -#: theme/templates/_base.html:141 +#: theme/templates/_base.html:153 msgid "Departments and agencies" msgstr "Ministères et agences" -#: theme/templates/_base.html:142 +#: theme/templates/_base.html:154 msgid "https://www.canada.ca/en/government/publicservice.html" msgstr "https://www.canada.ca/fr/gouvernement/fonctionpublique.html" -#: theme/templates/_base.html:142 +#: theme/templates/_base.html:154 msgid "Public service and military" msgstr "Fonction publique et force militaire" -#: theme/templates/_base.html:143 +#: theme/templates/_base.html:155 msgid "https://www.canada.ca/en/news.html" msgstr "https://www.canada.ca/fr/nouvelles.html" -#: theme/templates/_base.html:143 +#: theme/templates/_base.html:155 msgid "News" msgstr "Nouvelles" -#: theme/templates/_base.html:144 +#: theme/templates/_base.html:156 msgid "https://www.canada.ca/en/government/system/laws.html" msgstr "https://www.canada.ca/fr/gouvernement/systeme/lois.html" -#: theme/templates/_base.html:144 +#: theme/templates/_base.html:156 msgid "Treaties, laws and regulations" msgstr "Traités, lois et règlements" -#: theme/templates/_base.html:145 +#: theme/templates/_base.html:157 msgid "https://www.canada.ca/en/transparency/reporting.html" msgstr "https://www.canada.ca/fr/transparence/rapports.html" -#: theme/templates/_base.html:145 +#: theme/templates/_base.html:157 msgid "Government-wide reporting" msgstr "Rapports à l'échelle du gouvernement" -#: theme/templates/_base.html:146 +#: theme/templates/_base.html:158 msgid "https://pm.gc.ca/eng" msgstr "https://pm.gc.ca/fra" -#: theme/templates/_base.html:146 +#: theme/templates/_base.html:158 msgid "Prime Minister" msgstr "Premier ministre" -#: theme/templates/_base.html:147 +#: theme/templates/_base.html:159 msgid "https://www.canada.ca/en/government/system.html" msgstr "https://www.canada.ca/fr/gouvernement/systeme.html" -#: theme/templates/_base.html:147 +#: theme/templates/_base.html:159 msgid "How government works" msgstr "Comment le gouvernement fonctionne" -#: theme/templates/_base.html:148 +#: theme/templates/_base.html:160 msgid "https://open.canada.ca/en/" msgstr "https://ouvert.canada.ca/" -#: theme/templates/_base.html:148 +#: theme/templates/_base.html:160 msgid "Open government" msgstr "Gouvernement ouvert" -#: theme/templates/_base.html:156 +#: theme/templates/_base.html:168 msgid "About this site" msgstr "À propos de ce site" -#: theme/templates/_base.html:158 +#: theme/templates/_base.html:170 msgid "https://www.canada.ca/en/social.html" msgstr "https://www.canada.ca/fr/sociaux.html" -#: theme/templates/_base.html:158 +#: theme/templates/_base.html:170 msgid "Social media" msgstr "Médias sociaux" -#: theme/templates/_base.html:159 +#: theme/templates/_base.html:171 msgid "https://www.canada.ca/en/mobile.html" msgstr "https://www.canada.ca/fr/mobile.html" -#: theme/templates/_base.html:159 +#: theme/templates/_base.html:171 msgid "Mobile applications" msgstr "Applications mobiles" -#: theme/templates/_base.html:160 +#: theme/templates/_base.html:172 msgid "https://www1.canada.ca/en/newsite.html" msgstr "https://www1.canada.ca/fr/nouveausite.html" -#: theme/templates/_base.html:160 +#: theme/templates/_base.html:172 msgid "About Canada.ca" msgstr "À propos de Canada.ca" -#: theme/templates/_base.html:161 +#: theme/templates/_base.html:173 msgid "https://www.canada.ca/en/transparency/terms.html" msgstr "https://www.canada.ca/fr/transparence/avis.html" -#: theme/templates/_base.html:161 +#: theme/templates/_base.html:173 msgid "Terms and conditions" msgstr "Termes et conditions" -#: theme/templates/_base.html:162 +#: theme/templates/_base.html:174 msgid "https://www.canada.ca/en/transparency/privacy.html" msgstr "https://www.canada.ca/fr/transparence/confidentialite.html" -#: theme/templates/_base.html:162 +#: theme/templates/_base.html:174 msgid "Privacy" msgstr "Confidentialité" -#: theme/templates/_base.html:166 +#: theme/templates/_base.html:178 msgid "Top of page" msgstr "Haut de la page" -#: theme/templates/_base.html:169 +#: theme/templates/_base.html:181 msgid "Symbol of the Government of Canada" msgstr "Symbole du gouvernement du Canada" @@ -195,6 +195,7 @@ msgstr "Documentation utilisateur de la plateforme GeoMet du SMC" #: theme/templates/collections/items/index.html:16 #: theme/templates/collections/items/item.html:25 #: theme/templates/collections/queryables.html:4 +#: theme/templates/collections/schema.html:4 #: theme/templates/collections/tiles/index.html:4 #: theme/templates/collections/tiles/metadata.html:4 #: theme/templates/landing_page.html:32 theme/templates/stac/collection.html:13 @@ -344,6 +345,7 @@ msgstr "Collections dans ce service" #: theme/templates/collections/index.html:23 #: theme/templates/collections/index.html:79 +#: theme/templates/collections/schema.html:19 #: theme/templates/collections/tiles/index.html:109 #: theme/templates/processes/index.html:14 theme/templates/stac/catalog.html:29 #: theme/templates/stac/catalog.html:101 @@ -353,6 +355,7 @@ msgstr "Nom" #: theme/templates/collections/index.html:29 #: theme/templates/collections/index.html:83 +#: theme/templates/collections/schema.html:21 msgid "Type" msgstr "Type" @@ -365,6 +368,25 @@ msgstr "Type" msgid "Description" msgstr "Description" +#: theme/templates/collections/schema.html:6 +#: theme/templates/collections/schema.html:17 +msgid "Schema" +msgstr "Schéma" + +#: theme/templates/collections/schema.html:20 +#: theme/templates/processes/process.html:23 +#: theme/templates/processes/process.html:54 +msgid "Title" +msgstr "Titre" + +#: theme/templates/collections/schema.html:22 +msgid "Units" +msgstr "Unités" + +#: theme/templates/collections/schema.html:23 +msgid "Values" +msgstr "Valeurs" + #: theme/templates/collections/coverage/domainset.html:11 msgid "Coverage domain set" msgstr "Ensemble des domaines de couverture" @@ -446,15 +468,15 @@ msgstr "CSV" msgid "Items" msgstr "Items" -#: theme/templates/collections/items/index.html:32 +#: theme/templates/collections/items/index.html:34 msgid "Items in this collection." msgstr "Items dans cette collection." -#: theme/templates/collections/items/index.html:47 +#: theme/templates/collections/items/index.html:49 msgid "Only show items by map view" msgstr "Afficher les items uniquement par la vue de la carte" -#: theme/templates/collections/items/index.html:51 +#: theme/templates/collections/items/index.html:53 msgid "" "No results. Please modify your search query or remettre le tableau." -#: theme/templates/collections/items/index.html:58 -#: theme/templates/collections/items/index.html:63 +#: theme/templates/collections/items/index.html:60 +#: theme/templates/collections/items/index.html:65 msgid "Filter table content" msgstr "Filtrer le contenu du tableau" -#: theme/templates/collections/items/index.html:73 +#: theme/templates/collections/items/index.html:75 msgid "Reset" msgstr "Remettre" -#: theme/templates/collections/items/index.html:75 +#: theme/templates/collections/items/index.html:77 msgid "Apply column keyword search queries to the entire collection" msgstr "" "Appliquer des requêtes de recherche par mots-clés en colonnes à " "l'ensemble de la collection" -#: theme/templates/collections/items/index.html:79 +#: theme/templates/collections/items/index.html:81 msgid "Search by keywords" msgstr "Recherche par mots-clés" -#: theme/templates/collections/items/index.html:97 +#: theme/templates/collections/items/index.html:99 msgid "Keyword search for: [% th.key %]" msgstr "Recherche de mots-clés pour : [% th.key %]" -#: theme/templates/collections/items/index.html:101 +#: theme/templates/collections/items/index.html:103 msgid "" "eg. "BC QC ON" will search for "BC" or "ON"" " or "QC"" msgstr "Par exemple, « BC QC ON » recherchera « BC » ou « ON » ou « QC »" -#: theme/templates/collections/items/index.html:103 +#: theme/templates/collections/items/index.html:105 msgid "Keyword" msgstr "Mot clé" -#: theme/templates/collections/items/index.html:142 +#: theme/templates/collections/items/index.html:144 msgid "Limit:" msgstr "Limite :" -#: theme/templates/collections/items/index.html:160 +#: theme/templates/collections/items/index.html:162 msgid "Higher limits are not recommended" msgstr "Des limites plus élevées ne sont pas recommandées" -#: theme/templates/collections/items/index.html:164 +#: theme/templates/collections/items/index.html:166 msgid "Previous" msgstr "Précédent" -#: theme/templates/collections/items/index.html:166 +#: theme/templates/collections/items/index.html:168 #, python-format msgid "Page [% currentPage %] / [% maxPages %]" msgstr "Page [% currentPage %] / [% maxPages %]" -#: theme/templates/collections/items/index.html:168 +#: theme/templates/collections/items/index.html:170 #: theme/templates/collections/items/item.html:62 msgid "Next" msgstr "Suivant" -#: theme/templates/collections/items/index.html:196 +#: theme/templates/collections/items/index.html:198 msgid "" "Clear column keyword search queries and reset to display the default " "results" @@ -529,23 +551,23 @@ msgstr "" "Effacer les requêtes de recherche par mots-clés des colonnes et " "réinitialiser pour afficher les résultats par défaut" -#: theme/templates/collections/items/index.html:201 +#: theme/templates/collections/items/index.html:203 msgid "Showing $firstPage to $upper of $itemsTotal" msgstr "Affichage de $firstPage jusqu'à $upper de $itemsTotal" -#: theme/templates/collections/items/index.html:202 +#: theme/templates/collections/items/index.html:204 msgid "Showing 0 results" msgstr "Affichage de 0 résultats" -#: theme/templates/collections/items/index.html:246 +#: theme/templates/collections/items/index.html:248 msgid "filtered from $totalSize total entry" msgstr "filtré de $totalSize entrée au total" -#: theme/templates/collections/items/index.html:247 +#: theme/templates/collections/items/index.html:249 msgid "filtered from $totalSize total entries" msgstr "filtrées de $totalSize entrées au total" -#: theme/templates/collections/items/index.html:248 +#: theme/templates/collections/items/index.html:250 msgid "Showing $startEntryOfPage to $lastEntryOfPage of $filteredNumEntries" msgstr "" "Affichage de $startEntryOfPage jusqu'à $lastEntryOfPage de " @@ -689,11 +711,6 @@ msgstr "Entrées" msgid "ID" msgstr "ID" -#: theme/templates/processes/process.html:23 -#: theme/templates/processes/process.html:54 -msgid "Title" -msgstr "Titre" - #: theme/templates/processes/process.html:24 msgid "Data type" msgstr "Type de données" diff --git a/theme/templates/collections/collection.html b/theme/templates/collections/collection.html index c1273752..e769aebb 100644 --- a/theme/templates/collections/collection.html +++ b/theme/templates/collections/collection.html @@ -1,8 +1,8 @@ {% extends "_base.html" %} {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} {% block crumbs %}{{ super() }} -
  • {% trans %}Collections{% endtrans %}
  • -
  • {{ data['title'] }}
  • +
  • {% trans %}Collections{% endtrans %}
  • +
  • {{ data['title'] | truncate( 25 ) }}
  • {% endblock %} {% block extrahead %} diff --git a/theme/templates/collections/index.html b/theme/templates/collections/index.html index 9497982a..a479c39b 100644 --- a/theme/templates/collections/index.html +++ b/theme/templates/collections/index.html @@ -1,7 +1,7 @@ {% extends "_base.html" %} {% block title %}{{ super() }} {% trans %}Collections{% endtrans %} {% endblock %} {% block crumbs %}{{ super() }} -
  • {% trans %}Collections{% endtrans %}
  • +
  • {% trans %}Collections{% endtrans %}
  • {% endblock %} {% block body %}
    diff --git a/theme/templates/collections/items/index.html b/theme/templates/collections/items/index.html index 54b862d5..d5bd8d76 100644 --- a/theme/templates/collections/items/index.html +++ b/theme/templates/collections/items/index.html @@ -16,7 +16,7 @@
  • {% trans %}Collections{% endtrans %}
  • {% for link in data['links'] %} {% if link.rel == 'collection' %} -
  • {{ link['title'] }}
  • +
  • {{ link['title'] | truncate( 25 ) }}
  • {% set col_title = link['title'] %} {% endif %} {% endfor %} diff --git a/theme/templates/collections/items/item.html b/theme/templates/collections/items/item.html index ff24476b..934a8809 100644 --- a/theme/templates/collections/items/item.html +++ b/theme/templates/collections/items/item.html @@ -22,10 +22,10 @@ {%- endmacro %} {% block title %}{{ super() }} {{ data['title'] }} - {{ data['id'] }}{% endblock %} {% block crumbs %}{{ super() }} -
  • {% trans %}Collections{% endtrans %}
  • +
  • {% trans %}Collections{% endtrans %}
  • {% for link in data['links'] %} {% if link.rel == 'collection' %} -
  • {{ link['title'] }}
  • +
  • {{ link['title'] | truncate( 25 ) }}
  • {% endif %} {% endfor %}
  • {% trans %}Items{% endtrans %}
  • diff --git a/theme/templates/collections/queryables.html b/theme/templates/collections/queryables.html index 1cf66649..918985c7 100644 --- a/theme/templates/collections/queryables.html +++ b/theme/templates/collections/queryables.html @@ -1,9 +1,9 @@ {% extends "_base.html" %} {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} {% block crumbs %}{{ super() }} -
  • {% trans %}Collections{% endtrans %}
  • -
  • {{ data['title'] }}
  • -
  • {% trans %}Queryables{% endtrans %}
  • +
  • {% trans %}Collections{% endtrans %}
  • +
  • {{ data['title'] | truncate( 25 ) }}
  • +
  • {% trans %}Queryables{% endtrans %}
  • {% endblock %} {% block body %}
    diff --git a/theme/templates/collections/schema.html b/theme/templates/collections/schema.html new file mode 100644 index 00000000..6de94588 --- /dev/null +++ b/theme/templates/collections/schema.html @@ -0,0 +1,49 @@ +{% extends "_base.html" %} +{% block title %}{{ super() }} {{ data['title'] }} {% endblock %} +{% block crumbs %}{{ super() }} +
  • {% trans %}Collections{% endtrans %}
  • +
  • {{ data['title'] | truncate( 25 ) }}
  • +
  • {% trans %}Schema{% endtrans %}
  • +{% endblock %} +{% block body %} +
    +

    {{ data['title'] }}

    +

    {{ data['description'] }}

    +

    + {% for kw in data['keywords'] %} + {{ kw }} + {% endfor %} +

    +

    {% trans %}Schema{% endtrans %}

    + + + + + + + {% for qname, qinfo in data['properties'].items() %} + + + + {% if qname == 'geometry' %} + + {% else %} + + {% endif %} + + + + {% endfor %} +
    {% trans %}Name{% endtrans %}{% trans %}Title{% endtrans %}{% trans %}Type{% endtrans %}{% trans %}Units{% endtrans %}{% trans %}Values{% endtrans %}
    {{ qname }}{{ qinfo['title'] }}{{ qname }} {{ qinfo['type'] }} + {% if 'format' in qinfo %} + ({{ qinfo['format'] }}) + {% endif %} + {{ qinfo['x-ogc-unit'] }} +
      + {% for value in qinfo['enum'] %} +
    • {{ value }}
    • + {% endfor %} +
    +
    +
    +{% endblock %} \ No newline at end of file