feat: Add detail view for organizations

This commit is contained in:
2024-11-14 19:16:47 +01:00
parent 2c11f7c385
commit 6c52246bb7
4 changed files with 30 additions and 3 deletions

View File

@@ -0,0 +1,19 @@
{% extends "fellchensammlung/base_generic.html" %}
{% load custom_tags %}
{% load i18n %}
{% block title %}<title>{{ org.name }}</title>{% endblock %}
{% block content %}
<div class="card">
<h1>{{ org.name }}</h1>
<b><i class="fa-solid fa-location-dot"></i></b>
{% if org.location %}
{{ org.location.str_hr }}
{% else %}
{{ org.location_string }}
{% endif %}
<p>{{ org.description | render_markdown }}</p>
</div>
{% endblock %}