File tree Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Expand file tree Collapse file tree 4 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ def failures_reports():
110
110
max_length = 0
111
111
records [record .hook .asset .owner .id ]['assets' ][record .hook .asset .uid ] = {
112
112
'name' : record .hook .asset .name ,
113
+ 'hook_uid' : record .hook .uid ,
113
114
'max_length' : 0 ,
114
115
'logs' : []
115
116
}
Original file line number Diff line number Diff line change 12
12
13
13
{% for asset_uid, asset in assets.items %}
14
14
{% url 'api_v2:asset-detail' uid=asset_uid as asset_url %}
15
- < p > {{ i18n_asset }}: < b > < a href ="{{ kpi_base_url }}{{ asset_url }} "> {{ asset.name }}</ a > </ b > </ p >
15
+ < p > {{ i18n_asset }}: < b > < a href ="{{ kpi_base_url }}/#/forms/{{asset_uid}}/settings/rest/{{asset.hook_uid }} "> {{ asset.name }}</ a > </ b > </ p >
16
16
< table >
17
17
< tr >
18
18
< th style ="border-bottom:1px solid black; "> {{ i18n_hook }}</ th >
Original file line number Diff line number Diff line change 13
13
14
14
{% for asset_uid, asset in assets.items %}
15
15
{% url 'api_v2:asset-detail' uid=asset_uid as asset_url %}
16
- {{ i18n_asset }}: {{ asset.name }} - [{{ kpi_base_url }}{{ asset_url }}]
16
+ {{ i18n_asset }}: {{ asset.name }} - [{{ kpi_base_url }}/#/forms/{{asset_uid}}/settings/rest/{{asset.hook_uid }}]
17
17
18
18
{% with max_length=asset.max_length|add:"2" %}
19
19
{{ i18n_hook|center:max_length }}|{{ i18n_submission|center:25 }}|{{ i18n_status_code|center:15 }}|{{ i18n_message|truncatechars:23|center:25 }}|{{ i18n_date|center:25 }}
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def test_notifications(self):
36
36
"assets" : {
37
37
self .asset .uid : {
38
38
"name" : self .asset .name ,
39
+ "hook_uid" : self .hook .uid ,
39
40
"max_length" : len (self .hook .name ),
40
41
"logs" : [{
41
42
"hook_name" : self .hook .name ,
You can’t perform that action at this time.
0 commit comments