8000 [2.3] [WebProfilerBundle] removed the display of some information when their value is n/a by fabpot · Pull Request #7002 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[2.3] [WebProfilerBundle] removed the display of some information when their value is n/a #7002

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
[WebProfilerBundle] removed the display of some information when thei…
…r value is n/a
  • Loading branch information
fabpot committed Mar 6, 2013
commit 23fa153c0ccf11c896fe73fa9fd93c252e6259f2
Original file line number Diff line number Diff line change
Expand Up @@ -49,24 +49,33 @@
<img width="21" height="28" alt="Environment" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAcCAMAAAC5xgRsAAAAZlBMVEX///////////////////////////////////////////////////////////////////////////////////////////+ZmZmZmZlISEhJSUmdnZ1HR0fR0dFZWVlpaWlfX18/Pz+puygPAAAAIXRSTlMACwwlJygpLzIzNjs8QEtMUmd6e32AucDBw8fIydTm6u5l8MjvAAAAo0lEQVR42r2P2Q6CMBBFL6XsZRGRfZv//0nbDBNEE19MnJeTc5ILKf58ahiUwzy/AJpIWwREwQnEXRdbGCLjrO+djWRvVMiJcigxB7viGogxDdJpSmHEmCVPS7YczJvgUu+CS30IvtbNYZMvsGVo2mVpG/kbm4auiCpdcC3YPCAhSpAdUzaAn6qPKZtUT6ZSzb4bi2hdo9MQ1nX4ASjfV+/4/Z40pyCHrNTbIgAAAABJRU5ErkJggg=="/>
<span class="sf-toolbar-info-piece-additional-detail {{ debug_status_class }}"> </span>
<span class="sf-toolbar-info-piece-additional sf-toolbar-status">{{ token }}</span>
<span class="sf-toolbar-info-piece-additional-detail">
<span class="sf-toolbar-info-with-delimiter">{{ collector.appname }}</span><span>{{ collector.env }}</span>
</span>
{% if 'n/a' != collector.appname or 'n/a' != collector.env %}
<span class="sf-toolbar-info-piece-additional-detail">
<span class="sf-toolbar-info-with-delimiter">{{ collector.appname }}</span>
<span>{{ collector.env }}</span>
</span>
{% endif %}
{% endset %}
{% set text %}
{% spaceless %}
<div class="sf-toolbar-info-piece">
<b>Name</b>
<span>{{ collector.appname }}</span>
</div>
<div class="sf-toolbar-info-piece">
<b>Environment</b>
<span>{{ collector.env }}</span>
</div>
<div class="sf-toolbar-info-piece">
<b>Debug</b>
<span class="{{ debug_status_class }}">{{ collector.debug ? 'en' : 'dis' }}abled</span>
</div>
{% if 'n/a' != collector.appname %}
<div class="sf-toolbar-info-piece">
<b>Name</b>
<span>{{ collector.appname }}</span>
</div>
{% endif %}
{% if 'n/a' != collector.env %}
<div class="sf-toolbar-info-piece">
<b>Environment</b>
<span>{{ collector.env }}</span>
</div>
{% endif %}
{% if 'n/a' != collector.debug %}
<div class="sf-toolbar-info-piece">
<b>Debug</b>
<span class="{{ debug_status_class }}">{{ collector.debug ? 'en' : 'dis' }}abled</span>
</div>
{% endif %}
<div class="sf-toolbar-info-piece">
<b>Token</b>
<span>
Expand Down Expand Up @@ -100,18 +109,24 @@
<th>Symfony version</th>
<td>{{ collector.symfonyversion }}</td>
</tr>
<tr>
<th>Application name</th>
<td>{{ collector.appname }}</td>
</tr>
<tr>
<th>Environment</th>
<td>{{ collector.env }}</td>
</tr>
<tr>
<th>Debug</th>
<td>{{ collector.debug ? 'enabled' : 'disabled' }}</td>
</tr>
{% if 'n/a' != collector.appname %}
<tr>
<th>Application name</th>
<td>{{ collector.appname }}</td>
</tr>
{% endif %}
{% if 'n/a' != collector.env %}
<tr>
<th>Environment</th>
<td>{{ collector.env }}</td>
</tr>
{% endif %}
{% if 'n/a' != collector.debug %}
<tr>
<th>Debug</th>
<td>{{ collector.debug ? 'enabled' : 'disabled' }}</td>
</tr>
{% endif %}
</table>

<h2>PHP configuration</h2>
Expand Down
0