Projects under organizations with fixed URL name and feature ID prefix, three visibility levels, open contribution, per-project roles, settings and typed-confirmation delete. Hidden projects 404. Leaving an org drops its project roles. Project access rules live in intent/access.py alongside org access. Features numbered per project (INT-12) in a tree. Every change is a revision with a required note; history, old revisions, and side-by-side field and line diffs between any two. Cycles and superseded-without-replacement are rejected. Markdown renders safely with source-line attributes for Phase 3 line comments and headings shifted below the page h1. Server-side preview works without JS. Structural accessibility check runs on every page in tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.3 KiB
HTML
29 lines
1.3 KiB
HTML
{% extends "base.html" %}
|
|
{% comment %}
|
|
Shared frame for every page inside a project.
|
|
Pages set `page_title` and fill `project_content`.
|
|
{% endcomment %}
|
|
|
|
{% block title %}{% block page_title %}{% endblock %} · {{ project.name }} · Intent{% endblock %}
|
|
|
|
{% block content %}
|
|
<nav aria-label="Breadcrumb">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{% url 'orgs:detail' org_slug=project.org.slug %}">{{ project.org.name }}</a></li>
|
|
<li><a href="{% url 'projects:home' org_slug=project.org.slug project_slug=project.slug %}">{{ project.name }}</a></li>
|
|
</ol>
|
|
</nav>
|
|
<nav aria-label="Project">
|
|
<ul>
|
|
<li><a href="{% url 'projects:home' org_slug=project.org.slug project_slug=project.slug %}">Feature tree</a></li>
|
|
<li><a href="{% url 'features:list' org_slug=project.org.slug project_slug=project.slug %}">All features</a></li>
|
|
{% if access.can_edit %}
|
|
<li><a href="{% url 'projects:members' org_slug=project.org.slug project_slug=project.slug %}">Members</a></li>
|
|
{% endif %}
|
|
{% if access.can_admin %}
|
|
<li><a href="{% url 'projects:settings' org_slug=project.org.slug project_slug=project.slug %}">Settings</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</nav>
|
|
{% block project_content %}{% endblock %}
|
|
{% endblock %}
|