By using this site, you agree to have cookies stored on your device, strictly for functional purposes, such as storing your session and preferences.

Dismiss

 repo-users.html

View raw Download
text/html • 1.38 kiB
HTML document, ASCII text
        
            
1
{% extends "repo.html" %}
2
{% block content %}
3
<x-vbox>
4
<x-frame style="--width: 896px;" class="flexible-space">
5
<x-vbox>
6
{% for relationship in relationships %}
7
<article class="card card-horizontal">
8
<figure class="branch-icon">
9
<a href="/{{ relationship.user.username }}">
10
<img src="/info/{{ relationship.user.username }}/avatar" style="width: 48px; height: 48px;">
11
</a>
12
</figure>
13
<section class="card-main flexible-space">
14
<h3>{{ relationship.user.username }}</h3>
15
{% if relationship.user.username == username %}
16
Owner
17
{% elif relationship.accessLevel == 0 %}
18
{% if repo.visibility %}
19
Contributor
20
{% else %}
21
Read-only
22
{% endif %}
23
{% elif relationship.accessLevel == 1 %}
24
Read-write
25
{% elif relationship.accessLevel == 2 %}
26
Administrator
27
{% endif %}
28
</section>
29
{% endfor %}
30
</x-vbox>
31
</x-frame>
32
</x-vbox>
33
{% endblock %}