~edwargix/git.sr.ht

a852f7178709dfcce1833e148ad78a81b9c96cad — Drew DeVault 6 years ago efd00ff
Show indicator if repo is unlisted/private
1 files changed, 3 insertions(+), 0 deletions(-)

M gitsrht/templates/repo.html
M gitsrht/templates/repo.html => gitsrht/templates/repo.html +3 -0
@@ 15,6 15,9 @@
        <a href="{{ url_for("public.user_index",
          username=owner.username) }}"
        >{{owner.canonical_name}}</a>/{{repo.name}}
        {% if repo.visibility.value != 'public' %}
        <small class="text-muted">{{repo.visibility.value}}</small>
        {% endif %}
      </h2>
      {% block tabs %}
      {% macro link(path, title) %}