Skip to content

Commit

Permalink
more compact
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Jul 20, 2024
1 parent 97e57e0 commit cd4a9ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
8 changes: 3 additions & 5 deletions app/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,11 @@ <h4 class="card-title">Base Package: <a href="{{ s.name }}">{{ s.name }}</a></h4
<dl class="row mb-0">
{% for ext_id, info in s.external_infos %}
<dt>{{ ext_id.name }}</dt>
<dd>
<ul class="list-unstyled mb-0">
<li><a href="{{ info.url }}">{{ info.version or info.name }}</a></li>
<dd class="mb-1">
<a href="{{ info.url }}">{{ info.version or info.name }}</a>
{% for url, label in info.other_urls|dictsort %}
<li><a href="{{ url }}">{{ label }}</a></li>
| <a href="{{ url }}">{{ label }}</a>
{% endfor %}
</ul>
</dd>
{% endfor %}
</dl>
Expand Down
8 changes: 3 additions & 5 deletions app/templates/package.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,11 @@ <h4 class="card-title">Package: <a href="{{ package_url(p) }}">{{ p.name }}</a><
<dl class="row mb-0">
{% for ext_id, info in s.external_infos %}
<dt>{{ ext_id.name }}</dt>
<dd>
<ul class="list-unstyled mb-0">
<li><a href="{{ info.url }}">{{ info.version or info.name }}</a></li>
<dd class="mb-1">
<a href="{{ info.url }}">{{ info.version or info.name }}</a>
{% for url, label in info.other_urls|dictsort %}
<li><a href="{{ url }}">{{ label }}</a></li>
| <a href="{{ url }}">{{ label }}</a>
{% endfor %}
</ul>
</dd>
{% endfor %}
</dl>
Expand Down

0 comments on commit cd4a9ac

Please sign in to comment.