{% load i18n %}

<p>
{% blocktrans %}
 Review Board supports closing review requests that are referenced in
 commit messages for any changes pushed to this repository. These references
 are in the form of:
{% endblocktrans %}
</p>
<pre>Reviewed at {{example_url}}</pre>
<p>{% trans "Or:" %}</p>
<pre>Review Request #{{example_id}}</pre>
<p>
{% blocktrans %}
 To configure this,
 <a href="{{add_webhook_url}}" target="_blank">add a new webhook</a>
 for your GitHub repository and set:
{% endblocktrans %}
</p>
<table class="sample-fields">
 <tr>
  <th>Payload URL:</th>
  <td><code>{{webhook_endpoint_url}}</code></td>
 </tr>
 <tr>
  <th>Content type:</th>
  <td><code>application/json</code></td>
 </tr>
 <tr>
  <th>Secret:</th>
  <td><code>{{hook_uuid}}</code></td>
 </tr>
</table>
<p>
{% blocktrans %}
 Then click <strong>Add webhook</strong>. You're done!
{% endblocktrans %}
</p>
