Danilo Bargen 7 лет назад
Родитель
Сommit
15bc060866
3 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      src/config.ts
  2. 1 1
      src/partials/dialog.version.html
  3. 1 0
      src/threema.d.ts

+ 2 - 1
src/config.ts

@@ -8,7 +8,8 @@ export default {
     // General
     SELF_HOSTED: false,
     VERSION_MOUNTAIN: 'Grosser Mythen',
-    VERSION_MOUNTAIN_URL: 'https://de.wikipedia.org/wiki/Mythen#/media/File:Die_Mythen.jpg',
+    VERSION_MOUNTAIN_URL: 'https://de.wikipedia.org/wiki/Mythen',
+    VERSION_MOUNTAIN_IMAGE_URL: 'https://commons.wikimedia.org/wiki/File:Die_Mythen.jpg',
     VERSION_MOUNTAIN_HEIGHT: 1898,
     PREV_PROTOCOL_LAST_VERSION: '1.8.2',
     GIT_BRANCH: 'ios',

+ 1 - 1
src/partials/dialog.version.html

@@ -15,7 +15,7 @@
                 <p>{{ ctrl.version }}</p>
 
                 <h2 translate>welcome.BACKGROUND_IMAGE</h2>
-                <p><a ng-href="{{ ctrl.config.VERSION_MOUNTAIN_URL }}" target="_blank" rel="noopener noreferrer">{{ ctrl.config.VERSION_MOUNTAIN }} ({{ ctrl.config.VERSION_MOUNTAIN_HEIGHT }}m)</a></p>
+                <p><a ng-href="{{ ctrl.config.VERSION_MOUNTAIN_URL }}" target="_blank" rel="noopener noreferrer">{{ ctrl.config.VERSION_MOUNTAIN }} ({{ ctrl.config.VERSION_MOUNTAIN_HEIGHT }}m)</a> / <a ng-href="{{ ctrl.config.VERSION_MOUNTAIN_IMAGE_URL }}" target="_blank" rel="noopener noreferrer">Source Image</a></p>
 
                 <h2 translate>about.CHANGELOG</h2>
                 <p>

+ 1 - 0
src/threema.d.ts

@@ -633,6 +633,7 @@ declare namespace threema {
         PREV_PROTOCOL_LAST_VERSION: string | null;
         VERSION_MOUNTAIN: string;
         VERSION_MOUNTAIN_URL: string;
+        VERSION_MOUNTAIN_IMAGE_URL: string;
         VERSION_MOUNTAIN_HEIGHT: number;
         GIT_BRANCH: string;
         SALTYRTC_PORT: number;