Skip to content

Commit

Permalink
Merge pull request #4 from dayspring-tech/fix/profiler_for_in_if
Browse files Browse the repository at this point in the history
fix profiler for in if
  • Loading branch information
jwong-dayspring authored Jun 29, 2022
2 parents bf80e3e + 9db6c91 commit ff35388
Showing 1 changed file with 38 additions and 36 deletions.
74 changes: 38 additions & 36 deletions Resources/views/Panel/configuration.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -36,42 +36,44 @@
</tr>
</thead>
<tbody>
{% for name, config in configuration.datasources if config is iterable %}
<tr>
<th rowspan="5" style="vertical-align: top;">
{{ name }}
</th>
<th>Adapter</th>
<td>{{ config.adapter }}</td>
</tr>
<tr>
<th>DSN</th>
<td>{{ config.connection.dsn }}</td>
</tr>
<tr>
<th>Class</th>
<td>{{ config.connection.classname }}</td>
</tr>
<tr>
<th>Options</th>
<td>
<ul>
{% for key, value in config.connection.options %}
<li>{{ key }} : {{ value }}</li>
{% endfor %}
</ul>
</td>
</tr>
<tr>
<th>Attributes</th>
<td>
<ul>
{% for key, value in config.connection.attributes %}
<li>{{ key }} : {{ value }}</li>
{% endfor %}
</ul>
</td>
</tr>
{% for name, config in configuration.datasources %}
{% if config is iterable %}
<tr>
<th rowspan="5" style="vertical-align: top;">
{{ name }}
</th>
<th>Adapter</th>
<td>{{ config.adapter }}</td>
</tr>
<tr>
<th>DSN</th>
<td>{{ config.connection.dsn }}</td>
</tr>
<tr>
<th>Class</th>
<td>{{ config.connection.classname }}</td>
</tr>
<tr>
<th>Options</th>
<td>
<ul>
{% for key, value in config.connection.options %}
<li>{{ key }} : {{ value }}</li>
{% endfor %}
</ul>
</td>
</tr>
<tr>
<th>Attributes</th>
<td>
<ul>
{% for key, value in config.connection.attributes %}
<li>{{ key }} : {{ value }}</li>
{% endfor %}
</ul>
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>

0 comments on commit ff35388

Please sign in to comment.