diff --git a/plinth/modules/ejabberd/manifest.py b/plinth/modules/ejabberd/manifest.py index b80eca90a..99356751e 100644 --- a/plinth/modules/ejabberd/manifest.py +++ b/plinth/modules/ejabberd/manifest.py @@ -86,8 +86,8 @@ _clients = [{ _('Gajim'), 'platforms': [{ 'type': 'package', - 'os': 'Debian', - 'package_name': 'gajim' + 'format': 'deb', + 'name': 'gajim' }, { 'type': 'download', 'os': Desktop_OS.WINDOWS.value, diff --git a/plinth/modules/infinoted/manifest.py b/plinth/modules/infinoted/manifest.py index 46b1d3502..3d2fc11e1 100644 --- a/plinth/modules/infinoted/manifest.py +++ b/plinth/modules/infinoted/manifest.py @@ -37,7 +37,7 @@ clients = [{ 'url': 'http://releases.0x539.de/gobby/gobby-stable.exe' }, { 'type': 'package', - 'os': 'Debian', - 'package_name': 'gobby' + 'format': 'deb', + 'name': 'gobby' }] }] diff --git a/plinth/modules/jsxc/manifest.py b/plinth/modules/jsxc/manifest.py index 4c83196e8..dcfee1c40 100644 --- a/plinth/modules/jsxc/manifest.py +++ b/plinth/modules/jsxc/manifest.py @@ -22,8 +22,8 @@ clients = [{ _('JSXC'), 'platforms': [{ 'type': 'package', - 'os': 'Debian', - 'package_name': 'libjs-jsxc' + 'format': 'deb', + 'name': 'libjs-jsxc' }, { 'type': 'web', 'url': '/jsxc' diff --git a/plinth/modules/quassel/manifest.py b/plinth/modules/quassel/manifest.py index f763f28ff..976e67769 100644 --- a/plinth/modules/quassel/manifest.py +++ b/plinth/modules/quassel/manifest.py @@ -32,8 +32,8 @@ clients = [{ 'url': quassel_download_url, }, { 'type': 'package', - 'os': 'Debian', - 'package_name': 'quassel-client', + 'format': 'deb', + 'name': 'quassel-client', }] }, { 'name': diff --git a/plinth/modules/radicale/manifest.py b/plinth/modules/radicale/manifest.py index ec44426f9..01029dae1 100644 --- a/plinth/modules/radicale/manifest.py +++ b/plinth/modules/radicale/manifest.py @@ -41,8 +41,8 @@ clients = [{ _('GNOME Calendar'), 'platforms': [{ 'type': 'package', - 'os': 'Debian', - 'package-name': 'gnome-calendar' + 'format': 'deb', + 'name': 'gnome-calendar' }] }, { 'name': @@ -59,7 +59,7 @@ clients = [{ 'calendars and address books.'), 'platforms': [{ 'type': 'package', - 'os': 'Debian', - 'package-name': 'gnome-calendar' + 'format': 'deb', + 'name': 'evolution' }] }] diff --git a/plinth/templates/clients.html b/plinth/templates/clients.html index 3e3d65e07..df3bca305 100644 --- a/plinth/templates/clients.html +++ b/plinth/templates/clients.html @@ -22,141 +22,187 @@ {% load static %} {% if clients %} -
- -
++ +
-| Web | - {% with web_clients|first as client %} - {% for platform in client.platforms %} - {% if platform.type == 'web' %} -{{ client.name }} | -- - - - | - {% endif %} - {% endfor %} - {% endwith %} -
|---|---|---|
| {{ client.name }} | -- - - - | -|
| Web | + {% with web_clients|first as client %} + {% for platform in client.platforms %} + {% if platform.type == 'web' %} +{{ client.name }} | ++ + + + | + {% endif %} + {% endfor %} + {% endwith %} +
| {{ client.name }} | ++ + + + | +|
| Desktop | - {% with desktop_clients|first as client %} -{{ client.name }} | -
-
- {% for platform in client.platforms %}
- {% if platform.type == 'download' %}
-
- {% endif %}
- {% endfor %}
-
- |
- {% endwith %}
-
| {{ client.name }} | -
-
- {% for platform in client.platforms %}
- {% if platform.type == 'download' %}
-
- {% endif %}
- {% endfor %}
-
- |
- |
| Desktop | + {% with desktop_clients|first as client %} +{{ client.name }} | +
+
+ {% for platform in client.platforms %}
+ {% if platform.type == 'download' %}
+
+ {% endif %}
+ {% endfor %}
+
+ |
+ {% endwith %}
+
| {{ client.name }} | +
+
+ {% for platform in client.platforms %}
+ {% if platform.type == 'download' %}
+
+ {% endif %}
+ {% endfor %}
+
+ |
+ |
| Mobile | - {% with mobile_clients|first as client %} -{{ client.name }} | -
-
- {% for platform in client.platforms %}
- {% if platform.type == 'store' and platform.os == 'android' or platform.os == 'ios' %}
-
- {% endif %}
- {% endfor %}
-
- |
- {% endwith %}
-
| {{ client.name }} | -
-
- {% for platform in client.platforms %}
- {% if platform.type == 'store' and platform.os == 'android' or platform.os == 'ios' %}
-
- {% endif %}
- {% endfor %}
-
- |
- |
| Mobile | + {% with mobile_clients|first as client %} +{{ client.name }} | +
+
+ {% for platform in client.platforms %}
+ {% if platform.type == 'store' and platform.os == 'android' or platform.os == 'ios' %}
+
+ {% endif %}
+ {% endfor %}
+
+ |
+ {% endwith %}
+
| {{ client.name }} | +
+
+ {% for platform in client.platforms %}
+ {% if platform.type == 'store' and platform.os == 'android' or platform.os == 'ios' %}
+
+ {% endif %}
+ {% endfor %}
+
+ |
+