%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /data/www_bck/varak.net_bck/stats.varak.net/plugins/Insights/templates/
Upload File :
Create Path :
Current File : //data/www_bck/varak.net_bck/stats.varak.net/plugins/Insights/templates/insightVisualization.twig

{% if cannotDisplayReport is defined and cannotDisplayReport %}
    {% include "@Insights/cannotDisplayReport.twig" %}
{% else %}
    {% set metadata = dataTable.getAllTableMetadata%}
    {% set consideredGrowth = 'Insights_TitleConsideredInsightsGrowth'|translate(metadata.minGrowthPercentPositive, metadata.lastDate|prettyDate(metadata.period)) %}
    {% set consideredChanges = '' %}

    {% if metadata.minChangeMovers and metadata.minChangeMovers > 1 %}
        {% set consideredChanges = 'Insights_IgnoredChanges'|translate(metadata.minChangeMovers) %}
    {% endif %}

    <div class="insightsDataTable" title="{{ consideredGrowth|e('html_attr') }} {{ consideredChanges|e('html_attr') }}">
        {% if dataTable.getRowsCount %}
            <div class="dataTableScroller">
                <table class="dataTable">

                    <thead>
                        {% include "@Insights/table_header.twig" %}
                    </thead>

                    <tbody>
                        {% for row in dataTable.getRows %}
                            {% include "@Insights/table_row.twig" %}
                        {% endfor %}
                    </tbody>
                </table>
            </div>
        {% else %}
            <div class="pk-emptyDataTable">
                {{ 'Insights_NoResultMatchesCriteria'|translate }}
            </div>
        {% endif %}

        {% include "@Insights/insightControls.twig" %}
    </div>
{% endif %}

Zerion Mini Shell 1.0