storyboard/storyboard/projects/templates/projects.project.html
Thierry Carrez f521b399df Introducing project groups
Project groups are convenient ways to display tasks that matter to you.
All views support listing per-project or per-projectgroup, so you can
create a "Nova program" group that will include nova and
python-novaclient, so that the Nova team can do all its bug triaging
in a single view.

Change-Id: Iaa32ab2c528033bcd4917fc5df5ab30839c5d3d7
2013-08-07 16:26:50 +02:00

30 lines
1.3 KiB
HTML

{% extends "projects.base.html" %}
{% block extranav %}
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">{{ref.name}}</li>
<li><a href="/project{% if is_group %}group{% endif %}/{{ref.name}}">Dashboard</a></li>
<li class="divider"></li>
<li><a href="/project{% if is_group %}group{% endif %}/{{ref.name}}/bugs">List bug tasks</a></li>
<li><a href="/project{% if is_group %}group{% endif %}/{{ref.name}}/bugs/triage">Triage bugs
{% if bugtriagecount > 0 %}<span class="badge
{% if bugtriagecount < 20 %}badge-success{% else %}{% if bugtriagecount < 50 %}badge-warning{% else %}badge-important{% endif %}{% endif %}">
{{ bugtriagecount }}</span>{% endif %}</a></li>
{% if not is_group %}
<li><a href="#addbug" data-toggle="modal">Report new bug</a></li>
{% endif %}
<li class="divider"></li>
<li><a href="/project{% if is_group %}group{% endif %}/{{ref.name}}/features">List feature tasks</a></li>
{% if not is_group %}
<li><a href="#addfeature" data-toggle="modal">Propose new feature</a></li>
{% endif %}
</ul>
</div><!--/.well -->
{% endblock %}
{% block modals %}
{% if not is_group %}
{% include "stories.modal_addstory.html" with project=ref.name story_type='bug' %}
{% include "stories.modal_addstory.html" with project=ref.name story_type='feature' %}
{% endif %}
{% endblock %}