2012-06-12 15:27:28 +02:00
|
|
|
{% extends "_base.html" %}
|
|
|
|
{% load url from future %}
|
2012-07-14 13:56:21 +02:00
|
|
|
{% load sub %}
|
2012-06-12 15:27:28 +02:00
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ block.super }} - Welcome {{ user }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2012-08-08 10:46:36 +02:00
|
|
|
<h2>
|
|
|
|
Welcome {{ user }}
|
2012-07-14 13:56:21 +02:00
|
|
|
|
2012-08-08 10:46:36 +02:00
|
|
|
<span class="pull-right">
|
|
|
|
<a href="{% url "auth_password_change" %}" class="btn">
|
|
|
|
Change password
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<a href="{% url "accounts_preferences" %}" class="btn">
|
|
|
|
Preferences
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</h2>
|
2012-07-14 13:56:21 +02:00
|
|
|
|
|
|
|
<h3 class="padded">Summary</h3>
|
|
|
|
|
|
|
|
<div class="row-fluid padded">
|
|
|
|
<div class="padded span6">
|
|
|
|
{% with categories|length as num_categories %}
|
2012-08-08 09:28:48 +02:00
|
|
|
Watching {{ num_categories }} categor{{ num_categories|pluralize:"y,ies"}}
|
2012-07-14 13:56:21 +02:00
|
|
|
<ul>
|
|
|
|
<li>{{ categories_upstream }} new upstream version{{ categories_upstream|pluralize:"s"}}</li>
|
|
|
|
{% if categories_upstream %}
|
|
|
|
<li>
|
|
|
|
Hot categories:
|
|
|
|
<ul>
|
|
|
|
{% for c in categories|slice:":3" %}
|
2012-08-03 21:58:24 +02:00
|
|
|
<li><a href="{% url "category" c.category %}">{{ c.category }}</a> ({{ c.n_versions|sub:c.n_packaged|sub:c.n_overlay }})</li>
|
2012-07-14 13:56:21 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="padded span6">
|
|
|
|
{% with herds|length as num_herds %}
|
|
|
|
Watching {{ num_herds }} herd{{ num_herds|pluralize:"s"}}
|
|
|
|
<ul>
|
|
|
|
<li>{{ herds_upstream }} new upstream version{{ herds_upstream|pluralize:"s"}}</li>
|
|
|
|
{% if herds_upstream %}
|
|
|
|
<li>
|
|
|
|
Hot herds:
|
|
|
|
<ul>
|
|
|
|
{% for c in herds|slice:":3" %}
|
2012-08-03 21:58:24 +02:00
|
|
|
<li><a href="{% url "herd" c.herds__herd %}">{{ c.herds__herd }}</a> ({{ c.n_versions|sub:c.n_packaged|sub:c.n_overlay }})</li>
|
2012-07-14 13:56:21 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="padded row-fluid">
|
|
|
|
|
|
|
|
<div class="padded span6">
|
|
|
|
{% with maintainers|length as num_maintainers %}
|
|
|
|
Watching {{ num_maintainers }} maintainer{{ num_maintainers|pluralize:"s"}}
|
|
|
|
<ul>
|
|
|
|
<li>{{ maintainers_upstream }} new upstream version{{ maintainers_upstream|pluralize:"s"}}</li>
|
|
|
|
{% if maintainers_upstream %}
|
|
|
|
<li>
|
|
|
|
Hot maintainers:
|
|
|
|
<ul>
|
|
|
|
{% for c in maintainers|slice:":3" %}
|
2012-08-03 21:58:24 +02:00
|
|
|
<li><a href="{% url "maintainer" c.maintainers__id %}">{{ c.maintainers__name }}</a> ({{ c.n_versions|sub:c.n_packaged|sub:c.n_overlay }})</li>
|
2012-07-14 13:56:21 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="padded span6">
|
|
|
|
{% with packages|length as num_packages %}
|
|
|
|
Watching {{ num_packages }} package{{ num_packages|pluralize:"s"}}
|
|
|
|
<ul>
|
|
|
|
<li>{{ packages_upstream }} new upstream version{{ packages_upstream|pluralize:"s"}}</li>
|
|
|
|
{% if packages_upstream %}
|
|
|
|
<li>
|
|
|
|
Hot packages:
|
|
|
|
<ul>
|
|
|
|
{% for c in packages|slice:":3" %}
|
2012-08-03 21:58:24 +02:00
|
|
|
<li><a href="{% url "package" c.category c.name %}">{{ c }}</a> ({{ c.n_versions|sub:c.n_packaged|sub:c.n_overlay }})</li>
|
2012-07-14 13:56:21 +02:00
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
{% endif %}
|
|
|
|
</ul>
|
|
|
|
{% endwith %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2012-06-12 15:27:28 +02:00
|
|
|
{% endblock %}
|