diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-03-06 00:43:30 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-03-06 00:43:30 +0400 |
commit | 862e532af3672352a7f7e9eb2d763bcb0803f4e2 (patch) | |
tree | 1d950f74a30ea0ed9da7439048680d75677625dd /plugins/Insights/templates | |
parent | bb0377a93114e13072e7403c7a7fd4feb2232723 (diff) |
refs #57 removed min impact control as it might be not clear what it is anyway and user can change the limit filter if he wants to see only entries with very high impact
Diffstat (limited to 'plugins/Insights/templates')
-rw-r--r-- | plugins/Insights/templates/insightControls.twig | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/plugins/Insights/templates/insightControls.twig b/plugins/Insights/templates/insightControls.twig index 46d186dff3..e925529070 100644 --- a/plugins/Insights/templates/insightControls.twig +++ b/plugins/Insights/templates/insightControls.twig @@ -1,21 +1,5 @@ <div style="padding: 10px;padding-bottom: 0px;"> - Minimum impact of - <select name="minImpactPercent" title="Based on a total of {{ dataTable.getMetadata('totalValue') }} visitors or metricname"> - {% for i in range(0, 10) %} - <option {% if i == properties.min_impact_percent %}selected{% endif %} value="{{ i }}">{{ i }}%</option> - {% endfor %} - {% for i in range(12, 30, 2) %} - <option {% if i == properties.min_impact_percent %}selected{% endif %} value="{{ i }}">{{ i }}%</option> - {% endfor %} - {% for i in range(40, 100, 10) %} - <option {% if i == properties.min_impact_percent %}selected{% endif %} value="{{ i }}">{{ i }}%</option> - {% endfor %} - {% for i in range(200, 1000, 100) %} - <option {% if i == properties.min_impact_percent %}selected{% endif %} value="{{ i }}">{{ i }}%</option> - {% endfor %} - </select> - - and growth of at least + Minimum growth of <select size="1" name="minGrowthPercent"> {% for i in range(0, 1, 1) %} <option {% if i == properties.min_growth_percent %}selected{% endif %} value="{{ i }}">{{ i }}%</option> @@ -28,7 +12,7 @@ {% endfor %} </select> - {% if period == 'day' or period == 'month' %} + {% if period == 'day' or period == 'month' or period == 'week' %} compared to {% if period == 'day' %} <select size="1" name="comparedToXPeriodsAgo"> @@ -51,6 +35,8 @@ same month in previous year </option> </select> + {% elseif period == 'week' %} + previous week {% endif %} {% endif %} |