repo-users.html
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 %} 16Owner 17{% elif relationship.accessLevel == 0 %} 18{% if repo.visibility %} 19Contributor 20{% else %} 21Read-only 22{% endif %} 23{% elif relationship.accessLevel == 1 %} 24Read-write 25{% elif relationship.accessLevel == 2 %} 26Administrator 27{% endif %} 28</section> 29{% endfor %} 30</x-vbox> 31</x-frame> 32</x-vbox> 33{% endblock %}