euscanwww: Upstream urls now are anchors
Signed-off-by: volpino <fox91@anche.no>
This commit is contained in:
parent
7f55e00ed0
commit
90f55433d1
@ -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,
|
||||
|
@ -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 %}
|
||||
|
Loading…
Reference in New Issue
Block a user