{% load report_charts %}

{% if summary %}
    <h2>Drop Summary</h2>

    <div class="row">
        <div class="col-md-6">
            <div class="report-chart" data-chart="{{ summary.chart|drop_summary }}"  style="height: 300px"></div>
        </div>

        <div class="col-md-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                    Drop Summary
                </div>
                <div class="table-responsive">
                    <table class="table">
                        <thead>
                            <tr>
                                <th colspan="2">Drop</th>
                                <th>Drop Chance</th>
                                <th>Quantity Dropped</th>
                                <th>Avg. Per 100 Runs</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% include 'data_log/summary_items.html' with items=summary.table.items%}
                            {% include 'data_log/summary_monsters.html' with monsters=summary.table.monsters %}
                            {% include 'data_log/summary_secret_dungeons.html' with secret_dungeons=summary.table.secret_dungeons %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
{% endif %}

{% load report_charts utils %}

{% if summary %}
    <h2>Drop Summary</h2>

    <div class="row">
        <div class="col-md-6">
            <div class="report-chart" data-chart="{{ summary.chart|drop_summary }}"  style="height: 300px"></div>
        </div>

        <div class="col-md-6">
            <div class="panel panel-default">
                <div class="panel-heading">
                    Drop Summary
                </div>
                <div class="table-responsive">
                    <table class="table">
                        <thead>
                            <tr>
                                <th colspan="2">Drop</th>
                                <th>Drop Chance</th>
                                <th>Quantity Dropped</th>
                                <th>Avg. Per 100 Runs</th>
                            </tr>
                        </thead>
                        <tbody>
                            {% include 'data_log/summary_items.html' with items=summary.table|key:"items" only %} {# Avoid conflict with built in items() function for dicts #}
                            {% include 'data_log/summary_monsters.html' with monsters=summary.table.monsters only %}
                            {% include 'data_log/summary_secret_dungeons.html' with secret_dungeons=summary.table.secret_dungeons only %}
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
{% endif %}

Fix a display issue if no drops are present in a report
Fix a display issue if no drops are present in a report
