euscanwww: Upstream urls now are anchors

Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
volpino 2012-11-08 15:46:16 +01:00
parent 7f55e00ed0
commit 90f55433d1
2 changed files with 8 additions and 1 deletions

View File

@ -161,6 +161,10 @@ class Version(models.Model):
return '%s-%s:%s-%s' % (self.version, self.revision, self.slot,
self.overlay)
@property
def urls_list(self):
return self.urls.split()
def cpv(self):
return '%s/%s-%s%s' % (
self.package.category, self.package.name, self.version,

View File

@ -89,7 +89,10 @@
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
{% endif %}
{{ version.version }} - {{ version.urls }}
{{ version.version }} -
{% for url in version.urls_list %}
<a href="{{ url }}">{{ url }}</a>
{% endfor %}
{% if confidence < 100 %}({{ version.confidence }}%){% endif %}
</li>
{% endfor %}