34d3bd714d
* Refactored templates and templatetags * Added unfavourite views * Added button to favourite/unfavourite package * Panel for showing favourited objects Signed-off-by: volpino <fox91@anche.no>
56 lines
1.4 KiB
HTML
56 lines
1.4 KiB
HTML
{% extends "euscan/_datatable.html" %}
|
|
|
|
{% load euscan %}
|
|
{% load url from future %}
|
|
|
|
{% block title %}
|
|
{{ block.super }} - Maintainer: {{ maintainer.name }}
|
|
{% endblock %}
|
|
|
|
{% block menu_feed %}
|
|
{{ block.super }}
|
|
<li>
|
|
<img src="{{ STATIC_URL }}/img/feed.png" alt="feed" />
|
|
<a title="{{ maintainer.name }} Feed" href="{% url "maintainer_feed" maintainer.id %}">
|
|
{{ maintainer.name }}
|
|
</a>
|
|
</li>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h2>Maintainer: {{ maintainer.name }} <{{ maintainer.email }}></h2>
|
|
{% packages packages %}
|
|
|
|
<h3>Statistics</h2>
|
|
<h4>Current statistics</h4>
|
|
<p>
|
|
<img src="{% url "chart_maintainer" maintainer.id 'pie-versions' %}" />
|
|
<img src="{% url "chart_maintainer" maintainer.id 'pie-packages' %}" />
|
|
</p>
|
|
|
|
<h4>All Time</h4>
|
|
<p>
|
|
<img src="{% url "chart_maintainer" maintainer.id 'versions-weekly' %}" />
|
|
<img src="{% url "chart_maintainer" maintainer.id 'versions-monthly' %}" />
|
|
</p>
|
|
|
|
<p>
|
|
<img src="{% url "chart_maintainer" maintainer.id 'packages-weekly' %}" />
|
|
<img src="{% url "chart_maintainer" maintainer.id 'packages-monthly' %}" />
|
|
</p>
|
|
{% endblock %}
|
|
|
|
{% block menus %}
|
|
{{ block.super }}
|
|
<div class="menu">
|
|
<dl>
|
|
<dt>Versions</dt>
|
|
<dd><img src="{% url "chart_maintainer" maintainer.id 'versions-monthly-small' %}" /></dd>
|
|
<dt>Packages</dt>
|
|
<dd><img src="{% url "chart_maintainer" maintainer.id 'packages-monthly-small' %}" /></dd>
|
|
</dl>
|
|
</div>
|
|
|
|
{% endblock %}
|
|
5A
|