euscanwww: slot is not part of unique_together. Better version strings

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino
2012-11-25 23:17:59 +01:00
parent 882f8b0fba
commit 0601222691
3 changed files with 207 additions and 11 deletions

View File

@ -51,7 +51,7 @@
<dd>
<ul>
{% for version in packaged %}
<li id="version-{{ version.version }}-{{version.revision }}:{{ version.slot }}-{{ version.overlay }}">
<li id="version-{{ version.tag }}">
{% if version.overlay == "gentoo" %}
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
{% else %}
@ -64,7 +64,7 @@
{% if version.ebuild_path %}
<a href="{% url "package_version_ebuild" package.category package.name version.tag %}">
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
{{ version.version }}{% if version.revision != "r0" %}-{{ version.revision }}{% endif %}{% if version.slot != "0" %}:{{ version.slot }}{% endif %}
</a>
{% endif %}
{% if version.metadata_path %}