2022-12-28 16:08:24 +05:30
|
|
|
{% extends 'base' %}{% block title %} {{ payload.webhook.forgejo_url }}{% endblock title %} {% block nav
|
2022-12-28 04:37:09 +05:30
|
|
|
%} {% include "auth_nav" %} {% endblock nav %} {% block main %}
|
|
|
|
|
|
|
|
<main class="sites__main">
|
|
|
|
<div class="add-site__container">
|
|
|
|
<section>
|
|
|
|
<table>
|
|
|
|
<tr>
|
|
|
|
<th>Webhook URL</th>
|
|
|
|
<td>{{ payload.url }}</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
<th>Secret</th>
|
|
|
|
<td>
|
2022-12-28 16:08:24 +05:30
|
|
|
{% if show_forgejo_webhook_secret %}
|
|
|
|
{{ payload.webhook.forgejo_webhook_secret }} <a href="{{ payload.view }}">Hide</a>
|
2022-12-28 04:37:09 +05:30
|
|
|
{% else %}
|
|
|
|
****
|
2022-12-28 16:08:24 +05:30
|
|
|
<a href="{{ payload.view }}?show_forgejo_webhook_secret=true">
|
2022-12-28 04:37:09 +05:30
|
|
|
Show
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
{% endblock main %}
|