Verified Commit de5e920b authored by Mattia Rizzolo's avatar Mattia Rizzolo
Browse files

Merge branch 'fix/package-table-width' of salsa.debian.org:lyknode/debexpo into live

MR: mentors.debian.net-team/debexpo!170


Signed-off-by: Mattia Rizzolo's avatarMattia Rizzolo <mattia@debian.org>
parents 31e8d445 b7cc4df9
Pipeline #199696 failed with stage
in 12 minutes and 9 seconds
......@@ -1087,3 +1087,31 @@ ul.sub-list {
.outcome-ready {
color: green;
}
table.pkg {
width: 100%;
}
table.pkg th {
vertical-align: middle;
}
th.pkg-pkg {
width: 15%;
}
th.pkg-ver {
width: 20%;
}
th.pkg-up {
width: 15%;
}
th.pkg-rfs {
width: 75px;
}
th.pkg-new {
width: 90px;
}
......@@ -10,7 +10,7 @@
<th>{% trans 'Name:' %}</th>
<td>{{ package.name }}
{% if package.in_debian %}
(<a href="https://tracker.debian.org/pkg/{{ package.name }}">PTS</a
(<a href="https://tracker.debian.org/pkg/{{ package.name|urlencode }}">PTS</a
>)
{% endif %}
</td>
......
......@@ -4,14 +4,14 @@
{% if group.packages|length > 0 %}
<h2>{{ group.label }}</h2>
<table width="100%">
<table class="pkg">
<tr>
<th width="15%">{% trans 'Package' %}</th>
<th width="30%">{% trans 'Description' %}</th>
<th width="20%">{% trans 'Version' %}</th>
<th width="15%">{% trans 'Uploader' %}</th>
<th width="10%">{% trans 'Needs a sponsor' %}</th>
<th width="10%">{% trans 'Already in Debian' %}</th>
<th class="pkg-pkg">{% trans 'Package' %}</th>
<th class="pkg-desc">{% trans 'Description' %}</th>
<th class="pkg-ver">{% trans 'Version' %}</th>
<th class="pkg-up">{% trans 'Uploader' %}</th>
<th class="pkg-rfs">{% trans 'Needs a sponsor' %}</th>
<th class="pkg-new">{% trans 'Already in Debian' %}</th>
</tr>
{% for pkg in group.packages %}
......@@ -35,7 +35,7 @@
</td>
<td class="lines">
{% if pkg.in_debian %}
{% trans 'Yes' %}
<a href="https://tracker.debian.org/pkg/{{ pkg.name|urlencode }}">{% trans 'Yes' %}</a>
{% else %}
{% trans 'No' %}
{% endif %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment