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">