2022-05-30 01:59:53 -05:00
|
|
|
{% extends "organization/home-base.html" %}
|
2022-05-27 23:28:22 -05:00
|
|
|
|
|
|
|
{% block title_ruler %}{% endblock %}
|
2022-05-30 01:59:53 -05:00
|
|
|
|
2022-11-17 13:10:19 -06:00
|
|
|
{% block org_js %}
|
2023-01-27 17:11:10 -06:00
|
|
|
{% include "actionbar/media-js.html" %}
|
2023-02-20 17:15:13 -06:00
|
|
|
{% include "feed/feed_js.html" %}
|
2022-11-17 13:10:19 -06:00
|
|
|
{% endblock %}
|
|
|
|
|
2022-05-30 01:59:53 -05:00
|
|
|
{% block middle_title %}
|
2023-01-27 17:11:10 -06:00
|
|
|
<div class="page-title">
|
|
|
|
<div class="tabs" style="border: none;">
|
2024-07-17 21:05:42 -05:00
|
|
|
<h2>
|
|
|
|
{% if organization_image %}
|
|
|
|
<img src="{{organization_image.url}}" style="height: 3rem; vertical-align: middle; border-radius: 5px;">
|
|
|
|
{% endif %}
|
2023-01-27 17:11:10 -06:00
|
|
|
{{title}}
|
|
|
|
</h2>
|
|
|
|
<span class="spacer"></span>
|
|
|
|
|
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
{% if is_member %}
|
|
|
|
{% elif organization.is_open or can_edit %}
|
|
|
|
<form method="post" action="{{ url('join_organization', organization.id, organization.slug) }}">
|
|
|
|
{% csrf_token %}
|
|
|
|
<input type="submit" class="unselectable button" value="{{ _('Join') }}">
|
|
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{ url('request_organization', organization.id, organization.slug) }}"
|
2024-06-10 15:13:53 -05:00
|
|
|
class="unselectable button">
|
|
|
|
{{ _('Request membership') }}</a>
|
2023-01-27 17:11:10 -06:00
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2021-10-10 17:37:15 -05:00
|
|
|
</div>
|
2023-01-27 17:11:10 -06:00
|
|
|
</div>
|
2022-05-30 01:59:53 -05:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block middle_content %}
|
2023-01-27 17:11:10 -06:00
|
|
|
{% block before_posts %}{% endblock %}
|
|
|
|
{% if is_member or can_edit %}
|
2023-02-20 17:15:13 -06:00
|
|
|
{% include "blog/content.html" %}
|
2023-01-27 17:11:10 -06:00
|
|
|
{% else %}
|
|
|
|
<div class="blog-sidebox sidebox">
|
2023-03-02 18:43:15 -06:00
|
|
|
<h3><i class="fa fa-info-circle"></i>{{ _('About') }}</h3>
|
2023-01-27 17:11:10 -06:00
|
|
|
<div class="sidebox-content">
|
|
|
|
<div style="margin: 0.3em;">
|
2024-02-26 14:49:52 -06:00
|
|
|
{% cache 3600 'organization_html' organization.id %}
|
2023-01-27 17:11:10 -06:00
|
|
|
{{ organization.about|markdown|reference|str|safe }}
|
|
|
|
{% endcache %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% block after_posts %}{% endblock %}
|
2022-05-27 23:28:22 -05:00
|
|
|
{% endblock %}
|