blob: d1a2bc6341796cf00323d7c88d250d72498034ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{% extends "base.html" %}
{% block title %}
{{ _("Setup GitHub webhook") }}
{% endblock %}
{% from "macros/forms.html" import render_field, render_submit_field, render_radio_field %}
{% block content %}
<h1 class="mt-0">{{ self.title() }}</h1>
<div class="alert alert-info">
{{ _("You can delete the webhook at any time by going into Settings > Webhooks on the repository.") }}
</div>
<form method="POST" action="" enctype="multipart/form-data">
{{ form.hidden_tag() }}
{{ render_field(form.event) }}
{{ render_submit_field(form.submit) }}
</form>
<p class="mt-4">
You will need admin access to the repository.
When setting up hooks on an organisation,
<a href="{{ url_for('github.view_permissions') }}">make sure that you have granted access</a>.
</p>
{% endblock %}
|