2011-04-15 00:24:45 +02:00
|
|
|
{% extends "euscan/_datatable.html" %}
|
|
|
|
|
|
|
|
{% load sub %}
|
|
|
|
|
2011-08-25 15:39:54 +02:00
|
|
|
{% block meta %}
|
|
|
|
{{ block.super }}
|
|
|
|
<link rel="alternate" type="application/atom+xml" title="{{ package }} Feed" href="{% url package_feed package.category package.name %}" />
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block menu_feed %}
|
|
|
|
{{ block.super }}
|
|
|
|
<li>
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
2011-08-25 15:39:54 +02:00
|
|
|
<a title="{{ package }} Feed" href="{% url package_feed package.category package.name %}">{{ package }}</a>
|
|
|
|
</li>
|
|
|
|
{% endblock %}
|
|
|
|
|
2011-04-15 00:24:45 +02:00
|
|
|
{% block title %}
|
|
|
|
{{ block.super }} - {{ package.category }}/{{ package.name }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h2>{{ package.category }}/{{ package.name }}</h2>
|
|
|
|
<dl>
|
|
|
|
{% if package.description %}
|
|
|
|
<dt>Description</dt>
|
|
|
|
<dd>{{ package.description }}</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.homepage %}
|
|
|
|
<dt>Homepage</dt>
|
2011-04-19 11:33:28 +02:00
|
|
|
<dd>
|
|
|
|
{% for homepage in package.homepages %}
|
2011-04-25 22:27:32 +02:00
|
|
|
<a href="{{ homepage }}">{{ homepage }}</a><br />
|
2011-04-19 11:33:28 +02:00
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
2011-04-15 00:24:45 +02:00
|
|
|
{% endif %}
|
|
|
|
{% if package.herds.all %}
|
|
|
|
<dt>Herds</dt>
|
|
|
|
<dd>
|
|
|
|
{% for herd in package.herds.all %}
|
|
|
|
<a href="{% url euscan.views.herd herd.herd %}">
|
|
|
|
{{ herd.herd }}
|
|
|
|
</a>
|
|
|
|
<{{ herd.email }}>
|
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if package.maintainers.all %}
|
|
|
|
<dt>Maintainers</dt>
|
|
|
|
<dd>
|
|
|
|
{% for maintainer in package.maintainers.all %}
|
|
|
|
{% if maintainer.name != maintainer.email %}
|
|
|
|
<a href="{% url euscan.views.maintainer maintainer.id %}">
|
|
|
|
{{ maintainer.name }}
|
|
|
|
</a>
|
|
|
|
<{{ maintainer.email }}>
|
|
|
|
{% else %}
|
|
|
|
<a href="{% url euscan.views.maintainer maintainer.id %}">
|
|
|
|
{{ maintainer.email }}
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
|
|
|
{% if packaged %}
|
|
|
|
<dt>Packaged Versions</dt>
|
|
|
|
<dd>
|
|
|
|
<ul>
|
|
|
|
{% for version in packaged %}
|
2011-08-28 11:22:17 +02:00
|
|
|
<li id="{{ version.version }}-{{version.revision }}:{{ version.slot }}-[{{ version.overlay }}]">
|
2012-03-28 09:08:00 +02:00
|
|
|
{% if version.overlay == "gentoo" %}
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
2012-03-28 09:08:00 +02:00
|
|
|
{% else %}
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
2012-03-28 09:08:00 +02:00
|
|
|
{% endif %}
|
2011-04-15 00:24:45 +02:00
|
|
|
{{ 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 %}
|
|
|
|
<li>
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
2011-04-15 19:28:37 +02:00
|
|
|
{{ version.version }} - {{ version.urls }}
|
2011-04-15 00:24:45 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
2011-08-25 15:39:54 +02:00
|
|
|
<dt>Version history</dt>
|
|
|
|
<dd>
|
|
|
|
<ul class="log">
|
|
|
|
{% for version in vlog %}
|
|
|
|
{% if version.action == version.VERSION_ADDED %}
|
|
|
|
<li class="added">
|
|
|
|
{% else %}
|
|
|
|
<li class="removed">
|
|
|
|
{% endif %}
|
2012-03-28 09:08:00 +02:00
|
|
|
{% if version.overlay == "gentoo" %}
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/gentoo-icon.png" alt="gentoo" title="In Gentoo" />
|
2012-03-28 09:08:00 +02:00
|
|
|
{% else %}{% if version.overlay %}
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/overlay-icon.png" alt="overlays" title="In Overlays" />
|
2012-03-28 09:08:00 +02:00
|
|
|
{% else %}
|
2012-04-04 14:33:40 +02:00
|
|
|
<img src="{{ STATIC_URL }}img/upstream-icon.png" alt="upstream" title="Upstream" />
|
2012-03-28 09:08:00 +02:00
|
|
|
{% endif %}{% endif %}
|
2011-08-25 15:39:54 +02:00
|
|
|
{{ version }} - {{ version.datetime }}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</dt>
|
2011-04-18 21:49:27 +02:00
|
|
|
{% if log %}
|
|
|
|
<dt>euscan log</dt>
|
|
|
|
<dd>
|
|
|
|
<p>Date: {{ log.datetime }}
|
2011-08-25 15:39:54 +02:00
|
|
|
<pre class="log">
|
2011-04-18 21:49:27 +02:00
|
|
|
{{ log.result }}
|
|
|
|
</pre>
|
|
|
|
</dd>
|
|
|
|
{% endif %}
|
2011-04-15 00:24:45 +02:00
|
|
|
</dl>
|
|
|
|
{% endblock %}
|