{% extends "base.html" %} {#- Project → Settings: repositories, archive, areas. Expects: project, repos, repo_kinds, areas, area_colors, optional error + error_target (the form it belongs to). Plain form posts: every write comes from this page in a browser (cookie + CSRF). -#} {%- macro hidden_csrf() -%}{%- endmacro %} {%- macro error_for(target) -%}{% if target and error and error_target == target %}{% endif %}{%- endmacro %} {%- macro repo_form(r, action) -%}
{{ hidden_csrf() }}
{%- endmacro %} {%- macro area_color_select(selected) -%} {%- endmacro %} {% block title %}Settings · {{ project.name }} · relaybay{% endblock %} {% block crumbs %}/{{ project.name }}/Settings{% endblock %} {% block content %}

Settings · {{ project.name }}

{% if message %}

{{ message }}

{% endif %} {% if error and not error_target %}{% endif %}

Repositories

The project's code: tasks link the ones they touch and show them with "Open in VS Code". A path is stored as written. The first one is the project's repository path.

{% if repos %} {% else %}

No repositories yet.

{% endif %}
Add a repository {{ error_for("repo-new") }} {{ repo_form(None, "/p/" ~ project.slug ~ "/repos") }}

Archive

{{ error_for("delete") }} {% if project.archived_at %}

In the archive since : not in the sidebar, All boards, the Inbox or the digests. Nothing of it was deleted.

{{ hidden_csrf() }}

Delete project

Deletes the project for good: its cards with their reports, comments, plans and attachments, its documents (files in repositories stay), backlog, decisions, notes and areas. An export of everything deleted is written first to deleted/ in the data folder.

{{ hidden_csrf() }}
{% else %}

An archived project leaves the sidebar, All boards, the Inbox and the digests; its board, cards and history are kept and it can be brought back.

{{ hidden_csrf() }}
{% endif %}

Areas

What parts of the project a card belongs to: a card carries up to 8, each a coloured chip; the board filters by any of them. A name typed on a card or sent by an agent that is not here is added; names match without regard to case. A name cannot hold a comma. Renaming an area into another one's name merges the two; deleting one takes it off its cards, their other areas stay.

{% if areas %} {% else %}

No areas yet: type one in a card's Areas field, or add one here.

{% endif %} {{ error_for("area-new") }}
{{ hidden_csrf() }}
{% endblock %}