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,
|
return '%s-%s:%s-%s' % (self.version, self.revision, self.slot,
|
||||||
self.overlay)
|
self.overlay)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def urls_list(self):
|
||||||
|
return self.urls.split()
|
||||||
|
|
||||||
def cpv(self):
|
def cpv(self):
|
||||||
return '%s/%s-%s%s' % (
|
return '%s/%s-%s%s' % (
|
||||||
self.package.category, self.package.name, self.version,
|
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 }}" />
|
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
|
||||||
{% endif %}
|
{% 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 %}
|
{% if confidence < 100 %}({{ version.confidence }}%){% endif %}
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
Loading…
Reference in New Issue
Block a user