mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-06 10:20:43 +00:00
clients: Fix formatting of package row in table
Adjust row so that package entries are evenly distributed Signed-off-by: Frederico Gomes <fredericojfgomes@gmail.com> [sunil: Fix indentation] [sunil: Convert tabs to spaces] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
15b7a34072
commit
f99f3bd382
@ -119,15 +119,17 @@
|
||||
<td>
|
||||
{% for platform in client.platforms %}
|
||||
{% if platform.type == 'package' %}
|
||||
{% if platform.format == 'deb' %}
|
||||
<div><strong>{% trans "Debian:" %}</strong> {{ platform.name }}</div>
|
||||
{% endif %}
|
||||
{% if platform.format == 'brew' %}
|
||||
<div><strong>{% trans "Homebrew:" %}</strong> {{ platform.name }}</div>
|
||||
{% endif %}
|
||||
{% if platform.format == 'rpm' %}
|
||||
<p><strong>{% trans "RPM:" %}</strong> {{ platform.name }}</p>
|
||||
{% endif %}
|
||||
<div>
|
||||
{% if platform.format == 'deb' %}
|
||||
<strong>{% trans "Debian:" %}</strong> {{ platform.name }}
|
||||
{% endif %}
|
||||
{% if platform.format == 'brew' %}
|
||||
<strong>{% trans "Homebrew:" %}</strong> {{ platform.name }}
|
||||
{% endif %}
|
||||
{% if platform.format == 'rpm' %}
|
||||
<strong>{% trans "RPM:" %}</strong> {{ platform.name }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</td>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user