10174045 Andy McCall 1 month ago ↶
1
{% extends "base.html" %}
2
{% block title %}{{ org.name }}{% endblock %}
3
{% block content %}
4
< div class = " side-layout profile " >
5
< aside class = " side who-card " >
6
< img class = " avatar xl " src = " /avatar/{{ org.name }}" alt = " " >
7
{% if !org.display_name.is_empty() %}< h1 class = " display " > {{ org.display_name }}</ h1 > {% endif %}
8
< p class = " handle " > {{ org.name }} < span class = " tag " > organisation</ span > </ p >
9
{% if !org.description.is_empty() %}< p class = " bio " > {{ org.description }}</ p > {% endif %}
10
{% if can_admin %}< a class = " go small " href = " /orgs/{{ org.name }}/settings" > settings</ a > {% endif %}
11
< h3 > Members < small > {{ members.len() }}</ small > </ h3 >
12
< ul class = " plain " > {% for (m, role) in members %}< li > < img class = " avatar xs " src = " /avatar/{{ m.username }}" alt = " " > < a href = " /{{ m.username }}" > {{ m.username }}</ a > {% if role == "owner" %} < span class = " small mute " > owner</ span > {% endif %}</ li > {% endfor %}</ ul >
13
{% if !teams.is_empty() %}
e1ec9fbf Andy McCall 1 month ago ↶
14
< p > < a class = " go small " href = " /projects/{{ org.name }}" > Projects</ a > </ p >
10174045 Andy McCall 1 month ago ↶
15
< h3 > Teams</ h3 >
16
< ul class = " plain " > {% for (t, n) in teams %}< li > {{ t.name }} < span class = " small mute " > {{ n|plural("member", "members") }}</ span > </ li > {% endfor %}</ ul >
17
{% endif %}
18
</ aside >
19
< div >
20
< h2 > Repositories < small > {{ repos.len() }}</ small > </ h2 >
21
{% include "repo_list.html" %}
22
< h2 > Recent activity</ h2 >
23
{% include "feed.html" %}
24
</ div >
25
</ div >
26
{% endblock %}