2012-07-25 16:52:10 +02:00
|
|
|
{% load djeuscan_helpers %}
|
|
|
|
{% load url from future %}
|
|
|
|
|
|
|
|
<dl>
|
|
|
|
{% if package.description %}
|
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>{{ package.description }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.homepage %}
|
|
|
|
<dt>Homepage</dt>
|
|
|
|
<dd>
|
|
|
|
{% for homepage in package.homepages %}
|
|
|
|
<a href="{{ homepage }}">{{ homepage }}</a><br />
|
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.herds.all %}
|
|
|
|
<dt>Herds</dt>
|
|
|
|
<dd>
|
|
|
|
{% for herd in package.herds.all %}
|
2012-09-22 15:45:07 +02:00
|
|
|
<p>
|
|
|
|
<a href="{% url "herd" herd.herd %}">
|
|
|
|
{{ herd.herd }}
|
|
|
|
</a>
|
|
|
|
<{{ herd.email }}>
|
|
|
|
</p>
|
2012-07-25 16:52:10 +02:00
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.maintainers.all %}
|
|
|
|
<dt>Maintainers</dt>
|
|
|
|
<dd>
|
|
|
|
{% for maintainer in package.maintainers.all %}
|
2012-09-22 15:45:07 +02:00
|
|
|
<p>
|
|
|
|
{% if maintainer.name != maintainer.email %}
|
2012-10-29 12:47:32 +01:00
|
|
|
<a href="{% url "maintainer" maintainer.email %}">
|
2012-09-22 15:45:07 +02:00
|
|
|
{{ maintainer.name }}
|
|
|
|
</a>
|
|
|
|
<{{ maintainer.email }}>
|
|
|
|
{% else %}
|
2012-10-29 12:47:32 +01:00
|
|
|
<a href="{% url "maintainer" maintainer.email %}">
|
2012-09-22 15:45:07 +02:00
|
|
|
{{ maintainer.email }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
2012-07-25 16:52:10 +02:00
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if packaged %}
|
|
|
|
<dt>Packaged Versions</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
{% for version in packaged %}
|
2012-08-15 15:32:16 +02:00
|
|
|
<li id="version-{{ version.version }}-{{version.revision }}:{{ version.slot }}-{{ version.overlay }}">
|
2012-07-25 16:52:10 +02:00
|
|
|
{% if version.overlay == "gentoo" %}
|
|
|
|
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
|
|
|
{% else %}
|
|
|
|
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if version.vtype and not version.vtype|is_stable %}
|
|
|
|
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ version.version }}-{{ version.revision }} :{{ version.slot }} [{{ version.overlay }}]
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if upstream %}
|
|
|
|
<dt>Upstream versions</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
{% for version in upstream %}
|
2012-08-15 15:32:16 +02:00
|
|
|
<li id="version-{{ version.version }}-{{version.revision }}:{{ version.slot }}-{{ version.overlay }}">
|
2012-07-25 16:52:10 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
|
|
|
|
|
|
|
{% if version.vtype and not version.vtype|is_stable %}
|
|
|
|
<img src="{{ STATIC_URL }}img/unstable-icon.png" alt="unstable" title="{{ version.vtype }}" />
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ version.version }} - {{ version.urls }}
|
2012-08-15 15:32:16 +02:00
|
|
|
{% if confidence < 100 %}({{ version.confidence }}%){% endif %}
|
2012-07-25 16:52:10 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
2012-08-14 11:45:52 +02:00
|
|
|
{% include "euscan/_package_vlogs.html" %}
|
2012-07-25 16:52:10 +02:00
|
|
|
{% if log %}
|
|
|
|
<dt>euscan log</dt>
|
|
|
|
<dd>
|
2012-08-15 15:32:16 +02:00
|
|
|
<p>Date: {{ log.datetime }}</p>
|
2012-07-25 16:52:10 +02:00
|
|
|
<pre class="log">{{ msg|ansi_to_html|safe }}</pre>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
</dl>
|