user-profile-repositories.html
HTML document, ASCII text
1{% extends "user-profile.html" %} 2{% block title %} 3{% trans username=user.username %}{{ username }}'s repositories{% endtrans %} 4{% endblock %} 5{% set active_page = "repositories" %} 6 7{% block content %} 8<ul style="list-style: none;" class="noindent"> 9{% if repos %} 10{% for repo in repos %} 11<li> 12<article class="card" style="flex: 0 1 auto;"> 13<section class="card-main"> 14<a href="{{ repo.route }}"><h3>{{ repo.name }}</h3></a> 15{% if repo.visibility == 0 %} 16{% trans %}Private{% endtrans %} 17{% elif repo.visibility == 1 %} 18{% trans %}Unlisted{% endtrans %} 19{% endif %} 20{% if repo.info %} 21<p>{{ repo.info }}</p> 22{% endif %} 23{% if repo.url %} 24<p> 25Homepage: <a href="{{ repo.url }}">{{ repo.url }}</a> 26</p> 27{% endif %} 28</section> 29</article> 30</li> 31{% endfor %} 32{% else %} 33{% trans %}This user doesn't own any repositories.{% endtrans %} 34{% endif %} 35</ul> 36{% endblock %}