Update translated docs links to be https
authorMagnus Hagander <magnus@hagander.net>
Mon, 31 Aug 2020 08:40:41 +0000 (10:40 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 31 Aug 2020 08:40:41 +0000 (10:40 +0200)
The French docs had one link in http and one in https as noted by
Lætitia. In passing I also adjusted the japanese to link to the https
version directly as one is available. The remaining one (Chinese) does
not appear to have a responding https server, so that one is left as
http.

pgweb/util/contexts.py
templates/docs/index.html

index c2f0bbcb197eab7c44ab37bffba30e90c61bb661..288e54825c79cc88762110374772245d1063d3b0 100644 (file)
@@ -32,7 +32,7 @@ sitenav = {
             {'title': 'Archive', 'link': '/docs/manuals/archive/'},
             {'title': 'Chinese', 'link': 'http://www.postgres.cn/docs'},
             {'title': 'French', 'link': 'https://docs.postgresql.fr/'},
-            {'title': 'Japanese', 'link': 'http://www.postgresql.jp/document/'},
+            {'title': 'Japanese', 'link': 'https://www.postgresql.jp/document/'},
             {'title': 'Russian', 'link': 'https://postgrespro.ru/docs/postgresql'},
         ]},
         {'title': 'Release Notes', 'link': '/docs/release/'},
index 55d894c1ed0af8a5ba750cede352039b2a19b297..f54cdc83386a7d0397acc9108ba90901768282e9 100644 (file)
@@ -29,8 +29,8 @@
         <dd>
             <ul>
               <li><a href="http://www.postgres.cn/docs" target="_blank">Chinese</a></li>
-              <li><a href="http://docs.postgresql.fr" target="_blank">French</a></li>
-              <li><a href="http://www.postgresql.jp/document/" target="_blank">Japanese</a></li>
+              <li><a href="https://docs.postgresql.fr" target="_blank">French</a></li>
+              <li><a href="https://www.postgresql.jp/document/" target="_blank">Japanese</a></li>
               <li><a href="https://postgrespro.ru/docs/postgresql" target="_blank">Russian</a></li>
             </ul>
         </dd>