File tree Expand file tree Collapse file tree 3 files changed +6
-7
lines changed
Expand file tree Collapse file tree 3 files changed +6
-7
lines changed Original file line number Diff line number Diff line change 22< html >
33< head lang ="en ">
44 < meta charset ="UTF-8 ">
5- < title > {% block page_title %}{% endblock %}</ title >
5+ < title > {% block title %}{% endblock %}</ title >
66</ head >
77< body >
8- {% block body_content %}
8+ {% block content %}
99{% endblock %}
1010</ body >
1111</ html >
Original file line number Diff line number Diff line change 11{% extends "base.html" %}
22
3- {% block body_content %}
4- < h2 > Webhook</ h2 >
3+ {% block title %}Webhook Detail{% endblock %}
54
6- < p > < strong > Target</ strong > Object: {{ webhook.content_object }} ({{ webhook.content_type }})</ p >
5+ {% block content %}
6+ < p > < strong > Target Object</ strong > : {{ webhook.content_object }} ({{ webhook.content_type }})</ p >
77< p > < strong > Action:</ strong > {{ webhook.get_action_display }}</ p >
88< p > < strong > Owner:</ strong > {{ webhook.owner }}</ p >
99< p > < strong > Filter:</ strong > {{ webhook.filter }}</ p >
1010< p > < strong > HTTP Method:</ strong > {{ webhook.get_method_display }}</ p >
1111< p > < strong > Triggered:</ strong > {{ webhook.triggered }}</ p >
12-
1312{% endblock %}
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class WebHookView(UpdateView):
1313
1414 http_method_names = [u'get' , u'post' , u'head' ]
1515 model = WebHook
16- template_name = 'webhooks/action .html'
16+ template_name = 'webhooks/webhook_detail .html'
1717
1818 @csrf_exempt
1919 def dispatch (self , * args , ** kwargs ):
You can’t perform that action at this time.
0 commit comments