File tree 1 file changed +16
-12
lines changed
pkg/enqueue-bundle/Resources/views/Profiler
1 file changed +16
-12
lines changed Original file line number Diff line number Diff line change 33
33
<thead >
34
34
<tr >
35
35
<th >#</th >
36
- <th >Topic</th >
36
+ <th >Type</th >
37
+ <th >Destination</th >
37
38
<th >Message</th >
38
39
<th >Priority</th >
39
40
</tr >
42
43
{% for sentMessage in collector .sentMessages %}
43
44
<tr >
44
45
<td >{{ loop .index }}</td >
45
- <td >{{ sentMessage .topic }}</td >
46
+ <td >{% if sentMessage .command | default (null ) %}Event{% else %}Command{% endif %}</td >
47
+ <td >{% if sentMessage .command | default (null ) %}{{ sentMessage .command }}{% else %}{{ sentMessage .topic }}{% endif %}</td >
46
48
<td style =" width: 70%" >
47
- <span class =" metadata" >
48
- <span >
49
- {{ collector.ensureString (sentMessage .body )[0:40 ] }}{% if collector.ensureString (sentMessage .body )[0:40 ] != collector.ensureString (sentMessage .body ) %}...{% endif %}
50
- </span >
51
- <a class =" btn btn-link text-small sf-toggle" data-toggle-selector =" #message-body-{{ loop .index }}" data-toggle-alt-content =" Hide trace" >Show trace</a >
52
-
53
- <div id =" message-body-{{ loop .index }}" class =" context sf-toggle-content sf-toggle-hidden" >
54
- {{ profiler_dump(sentMessage .body ) }}
55
- </div >
49
+ <span class =" metadata" >
50
+ <span >
51
+ {{ collector.ensureString (sentMessage .body )[0:40 ] }}{% if collector.ensureString (sentMessage .body )[0:40 ] != collector.ensureString (sentMessage .body ) %}...{% endif %}
56
52
</span >
57
- <td ><span title =" {{ sentMessage .priority }}" >{{ collector.prettyPrintPriority (sentMessage .priority ) }}</span ></td >
53
+ <a class =" btn btn-link text-small sf-toggle" data-toggle-selector =" #message-body-{{ loop .index }}" data-toggle-alt-content =" Hide trace" >Show trace</a >
54
+
55
+ <div id =" message-body-{{ loop .index }}" class =" context sf-toggle-content sf-toggle-hidden" >
56
+ {{ profiler_dump(sentMessage .body ) }}
57
+ </div >
58
+ </span >
59
+ <td >
60
+ <span title =" {{ sentMessage .priority }}" >{{ collector.prettyPrintPriority (sentMessage .priority ) }}</span >
61
+ </td >
58
62
</tr >
59
63
{% endfor %}
60
64
</tbody >
You can’t perform that action at this time.
0 commit comments