Introduce tenant-scoped Space/SpaceMembership with list and detail views. Document markdown-in-Forgejo as content SoR (ADR-0002). Run migrations on container start so app.coulomb.social picks up the new tables.
33 lines
1.2 KiB
HTML
33 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
||
{% block title %}Spaces — {{ site_name }}{% endblock %}
|
||
{% block content %}
|
||
<h1>Spaces</h1>
|
||
<p class="muted">
|
||
Co-creation spaces for your tenant.
|
||
Page content will live as markdown in Forgejo-backed repositories.
|
||
</p>
|
||
|
||
{% if spaces %}
|
||
<ul class="space-list" style="list-style:none;padding:0;margin:1.5rem 0 0;">
|
||
{% for space in spaces %}
|
||
<li class="card" style="margin-top:0.75rem;">
|
||
<a href="{% url 'spaces:detail' space.slug %}" style="color:inherit;text-decoration:none;">
|
||
<strong>{{ space.title }}</strong>
|
||
<span class="muted"> · {{ space.slug }}</span>
|
||
</a>
|
||
{% if space.description %}
|
||
<p class="muted" style="margin:0.35rem 0 0;font-size:0.95rem;">{{ space.description }}</p>
|
||
{% endif %}
|
||
</li>
|
||
{% endfor %}
|
||
</ul>
|
||
{% else %}
|
||
<div class="card">
|
||
<h2 style="margin-top:0;">No spaces yet</h2>
|
||
<p class="muted" style="margin-bottom:0;">
|
||
Operators can seed a space via Django admin (tenant-matched).
|
||
Create-space UI and Forgejo binding land next (T04–T06).
|
||
</p>
|
||
</div>
|
||
{% endif %}
|
||
{% endblock %}
|