{% comment %} # # This file is part of Plinth. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . # {% endcomment %} {% load i18n %} {% load plinth_extras %} {% load static %} {% if clients %}

{% if clients|has_web_clients %} {% with clients|of_type:'web' as web_clients %} {% with web_clients|first as client %} {% for platform in client.platforms %} {% if platform.type == 'web' %} {% endif %} {% endfor %} {% endwith %} {% for client in web_clients|slice:"1:" %} {% for platform in client.platforms %} {% if platform.type == 'web' %} {% endif %} {% endfor %} {% endfor %} {% endwith %} {% endif %} {% if clients|has_desktop_clients %} {% with clients|of_type:'desktop' as desktop_clients %} {% with desktop_clients|first as client %} {% endwith %} {% for client in desktop_clients|slice:"1:" %} {% endfor %} {% endwith %} {% endif %} {% if clients|has_mobile_clients %} {% with clients|of_type:'mobile' as mobile_clients %} {% with mobile_clients|first as client %} {% endwith %} {% for client in mobile_clients|slice:"1:" %} {% endfor %} {% endwith %} {% endif %} {% if clients|has_package_clients %} {% with clients|of_type:'package' as package_clients %} {% with package_clients|first as client %} {% endwith %} {% for client in package_clients|slice:"1:" %} {% endfor %} {% endwith %} {% endif %}
Web {{ client.name }}
{{ client.name }}
Desktop {{ client.name }}
{% for platform in client.platforms %} {% if platform.type == 'download' %} {% endif %} {% endfor %}
{{ 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' or platform.os == 'ios' %} {% endif %} {% endfor %}
{{ client.name }}
{% for platform in client.platforms %} {% if platform.type == 'store' and platform.os == 'android' or platform.os == 'ios' %} {% endif %} {% endfor %}
Package {{ client.name }}
    {% for platform in client.platforms %} {% if platform.type == 'package' and platform.format == 'deb' %}
  • Debian: {{ platform.name }}
  • {% endif %} {% if platform.type == 'package' and platform.format == 'brew' %}
  • HomeBrew: {{ platform.name }}
  • {% endif %} {% endfor %}
{{ client.name }}
    {% for platform in client.platforms %} {% if platform.type == 'package' %} {% if platform.type == 'package' and platform.format == 'deb' %}
  • Debian: {{ platform.name }}
  • {% endif %} {% if platform.type == 'package' and platform.format == 'homebrew' %}
  • HomeBrew: {{ platform.name }}
  • {% endif %} {% endif %} {% endfor %}
{% endif %}