Skip to content

Commit 95e4f30

Browse files
committed
Update if statement to avoid extra spaces
1 parent abfba85 commit 95e4f30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Bridge/Symfony/Bundle/Resources/views/DataCollector/request.html.twig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
{% macro operationLine(key, operation, actualOperationName) %}
44
<tr>
5-
<th scope="row" {{ key == actualOperationName ? 'class="status-success"' : '' }}>{{ key }}</th>
6-
<td {{ key == actualOperationName ? 'class="status-success"' : '' }}>{{- profiler_dump(operation, 1) -}}</td>
5+
<th scope="row"{% if key == actualOperationName %} class="status-success"{% endif %}>{{ key }}</th>
6+
<td{% if key == actualOperationName %} class="status-success"{% endif %}>{{- profiler_dump(operation, 1) -}}</td>
77
</tr>
88
{% endmacro %}
99

@@ -111,7 +111,7 @@
111111
<th scope="col" class="key">
112112
Attributes
113113
</th>
114-
<th scope="col" colspan="100%"></th>
114+
<th scope="col" ></th>
115115
</tr>
116116
</thead>
117117

0 commit comments

Comments
 (0)