Skip to content

Commit

Permalink
Fix incorrect instructions regarding linking to the "full panel", imp…
Browse files Browse the repository at this point in the history
…rove roll-over data example.
  • Loading branch information
Darien Hager authored and weaverryan committed May 23, 2015
1 parent cc5ae6a commit b0e2b83
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions cookbook/profiler/data_collector.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,20 +114,25 @@ following example can help you get started:
{% extends 'WebProfilerBundle:Profiler:layout.html.twig' %}
{% block toolbar %}
{# Used for the menu items along the bottom of the screen. #}
{# This toolbar item may appear along the top or bottom of the screen.#}
{% set icon %}
<span class="icon"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAcCAQAAADVGmdYAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQffAxkBCDStonIVAAAAGXRFWHRDb21tZW50AENyZWF0ZWQgd2l0aCBHSU1QV4EOFwAAAHpJREFUOMtj3PWfgXRAuqZd/5nIsIdhVBPFmgqIjCuYOrJsYtz1fxuUOYER2TQID8afwIiQ8YIkI4TzCv5D2AgaWSuExJKMIDbA7EEVhQEWXJ6FKUY4D48m7HYU/EcWZ8JlE6qfMELPDcUJuEMPxvYazYTDWRMjOcUyAEswO+VjeQQaAAAAAElFTkSuQmCC" alt=""/></span>
<span class="sf-toolbar-status">Example</span>
{% endset %}
{% set text %}
<div class="sf-toolbar-info-piece">
<b>Quick roll-over</b>
<b>info here</b>
<b>Quick piece of data</b>
<span>100 units</div>
</div>
<div class="sf-toolbar-info-piece">
<b>Another quick thing</b>
<span>300 units</div>
</div>
{% endset %}
{# Omit this next line if you do not have a "panel" section #}
{# Set the "link" value to false if you do not have a big "panel"
section that you want to direct the user to. #}
{% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': true } %}
{% endblock %}
Expand All @@ -138,7 +143,7 @@ following example can help you get started:
{% endblock %}
{% block menu %}
{# The left-hand menu content when looking at profiler data. #}
{# This left-hand menu appears when using the full-screen profiler. #}
<span class="label">
<span class="icon"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAcCAQAAADVGmdYAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQffAxkBCDStonIVAAAAGXRFWHRDb21tZW50AENyZWF0ZWQgd2l0aCBHSU1QV4EOFwAAAHpJREFUOMtj3PWfgXRAuqZd/5nIsIdhVBPFmgqIjCuYOrJsYtz1fxuUOYER2TQID8afwIiQ8YIkI4TzCv5D2AgaWSuExJKMIDbA7EEVhQEWXJ6FKUY4D48m7HYU/EcWZ8JlE6qfMELPDcUJuEMPxvYazYTDWRMjOcUyAEswO+VjeQQaAAAAAElFTkSuQmCC" alt=""/></span>
<strong>Example Collector</strong>
Expand Down

0 comments on commit b0e2b83

Please sign in to comment.