diff --git a/plinth/modules/syncthing/manifest.py b/plinth/modules/syncthing/manifest.py index 837cad950..76977f86b 100644 --- a/plinth/modules/syncthing/manifest.py +++ b/plinth/modules/syncthing/manifest.py @@ -36,14 +36,6 @@ clients = [{ 'type': 'package', 'format': 'homebrew', 'name': 'syncthing', - }, { - 'type': - 'download', - 'os': - 'all', - 'url': - 'https://github.com/syncthing/syncthing/releases/tag/v{}' - .format(metadata['syncthing']['version']) }, { 'type': 'download', 'os': Desktop_OS.GNU_LINUX.value, @@ -73,7 +65,7 @@ clients = [{ 'store_name': Store.GOOGLE_PLAY.value, 'fully_qualified_name': - 'com.nutomic.syncthingandroid', + metadata['syncthing']['android-package-id'], 'url': 'https://play.google.com/store/apps/details?id={}' .format(metadata['syncthing']['android-package-id']) @@ -85,7 +77,7 @@ clients = [{ 'store_name': Store.F_DROID.value, 'fully_qualified_name': - 'com.nutomic.syncthingandroid', + metadata['syncthing']['android-package-id'], 'url': 'https://f-droid.org/packages/{}' .format(metadata['syncthing']['android-package-id']) diff --git a/plinth/templates/clients.html b/plinth/templates/clients.html index ad54c01e1..805c1da13 100644 --- a/plinth/templates/clients.html +++ b/plinth/templates/clients.html @@ -19,88 +19,88 @@ {% load i18n %} {% load plinth_extras %} +{% load static %} {% if clients %}
-
-{% trans "Web Clients" %}: -
| Web | +{{ client.name }} | ++ + + + | +
|---|---|---|
| Desktop | +{{ client.name }} | +
+
+ {% for platform in client.platforms %}
+ {% if platform.type == 'download' %}
+
+ {% endif %}
+ {% endfor %}
+
+ |
+
| Mobile | +{{ client.name }} | +
+
+ {% for platform in client.platforms %}
+ {% if platform.type == 'store' and platform.os == 'android' %}
+
+ {% endif %}
+ {% endfor %}
+
+ |
+