~edwargix/git.sr.ht

c95a3490f5f3f33583c8be70d6df138a3a1544e0 — Drew DeVault 5 years ago f1a18c5
Hide artifact upload UI for logged out users
1 files changed, 2 insertions(+), 0 deletions(-)

M gitsrht/templates/ref.html
M gitsrht/templates/ref.html => gitsrht/templates/ref.html +2 -0
@@ 60,6 60,7 @@
        {% endfor %}
      </div>
      {% endif %}
      {% if repo.owner == current_user %}
      <form
        method="POST"
        action="{{url_for('artifacts.ref_upload',


@@ 81,6 82,7 @@
        </button>
      </form>
      {% endif %}
      {% endif %}
    </div>
    <div class="col-md-8">
      <div class="event-list">