intent/templates/projects/home.html

21 lines
718 B
HTML
Raw Normal View History

{% extends "projects/base.html" %}
{% block title %}{{ project.name }} · Intent{% endblock %}
{% block project_content %}
<h1>{{ project.name }}</h1>
<p class="muted">{{ project.get_visibility_display }}{% if project.open_contribution %}. Open to contributions from signed-in users.{% endif %}</p>
<section aria-labelledby="tree-heading">
<h2 id="tree-heading">Features</h2>
{% if access.can_edit %}
<p><a href="{% url 'features:create' org_slug=project.org.slug project_slug=project.slug %}">New feature</a></p>
{% endif %}
{% if tree %}
{% include "features/_tree.html" with nodes=tree %}
{% else %}
<p>No features yet.</p>
{% endif %}
</section>
{% endblock %}