diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-12 20:24:30 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-12-12 20:24:30 -0500 |
commit | f9ae4f860ccf57e84032d7be9426331a9e06e979 (patch) | |
tree | c9d837d7e2750d22ba9049abc7cf3c4125f0c9e4 /templates/packages | |
parent | 6c5c3355a97d35afb7f1eee284966ad0bf8cee3b (diff) | |
parent | 206000df736fde75a49c3178a8522d17f30a955e (diff) |
Merge tag 'release_2012-04-21'
Migrations, moving code around, random small improvements
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/details.html | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 00b2c70c..8e4b2bb0 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -81,7 +81,7 @@ {% with pkg.split_packages as splits %}{% if splits %} <tr> <th>Split Packages:</th> - <td>{% for s in splits %}{% pkg_details_link s %}<br/>{% endfor %}</td> + <td class="wrap">{% for s in splits %}{% pkg_details_link s %}{% if not forloop.last %}, {% endif %}{% endfor %}</td> </tr> {% endif %}{% endwith %} {% else %} @@ -104,22 +104,33 @@ title="Visit the website for {{ pkg.pkgname }}">{{ pkg.url|url_unquote }}</a>{% endif %}</td> </tr><tr> <th>License(s):</th> - <td>{{ pkg.licenses.all|join:", " }}</td> + <td class="wrap">{{ pkg.licenses.all|join:", " }}</td> </tr> {% with pkg.groups.all as groups %}{% if groups %} <tr> <th>Groups:</th> - <td>{% for g in groups %} + <td class="wrap">{% for g in groups %} <a href="/groups/{{ pkg.arch.name }}/{{ g.name }}/" - title="Group details for {{ g.name }}">{{ g.name }}</a><br/> - {% endfor %} + title="Group details for {{ g.name }}">{{ g.name }}</a>{% if not forloop.last %}, {% endif %}{% endfor %} </td> </tr> {% endif %}{% endwith %} {% with pkg.provides.all as provides %}{% if provides %} <tr> <th>Provides:</th> - <td>{% for p in provides %}{{ p.name }}{% if p.version %}={{ p.version }}{% endif %}<br/>{% endfor %}</td> + <td class="wrap">{{ provides|join:", " }}</td> + </tr> + {% endif %}{% endwith %} + {% with pkg.conflicts.all as conflicts %}{% if conflicts %} + <tr> + <th>Conflicts:</th> + <td class="wrap">{{ conflicts|join:", " }}</td> + </tr> + {% endif %}{% endwith %} + {% with pkg.replaces.all as replaces %}{% if replaces %} + <tr> + <th>Replaces:</th> + <td class="wrap">{{ replaces|join:", " }}</td> </tr> {% endif %}{% endwith %} <tr> |