Add gitlab webhook support
This commit is contained in:
parent
9d41d56e0c
commit
a1ae717c8f
26 changed files with 1824 additions and 8 deletions
11
templates/gitlab/messages/merge_request.html
Normal file
11
templates/gitlab/messages/merge_request.html
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{{ templates.repo_sender_prefix }}
|
||||
{% if action == OPEN %}
|
||||
opened {{ merge_request_link(object_attributes) }}
|
||||
{% if object_attributes.description %}
|
||||
<blockquote>{{ object_attributes.description|markdown }}</blockquote>
|
||||
{% endif %}
|
||||
{{ fancy_labels(labels) }}
|
||||
{% else %}
|
||||
{{ object_attributes.action.past_tense }}
|
||||
{{ merge_request_link(object_attributes) }}
|
||||
{% endif %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue