From 14109cf5c30ada1f89124a504629064c2dc6e0ab Mon Sep 17 00:00:00 2001 From: Beat Date: Wed, 17 May 2017 04:50:30 +0200 Subject: [PATCH] Issue 2310: Release filter on component page (#2646) * * removed duplicated code * give the search field focus on page load for faster interaction * introduced filter-by-version --- source/components/index.html | 38 +++++++++++++++--------------------- 1 file changed, 16 insertions(+), 22 deletions(-) diff --git a/source/components/index.html b/source/components/index.html index 20acc5991f5..b0b6dfed3e8 100644 --- a/source/components/index.html +++ b/source/components/index.html @@ -36,9 +36,9 @@ Support for these components is provided by the Home Assistant community.
All ({{tot}}) Featured - Added in {{ current_version }} ({{ current_version_components_count }}) - Added in {{ added_one_ago_version }} ({{ one_ago_version_components_count }}) - Added in {{ added_two_ago_version }} ({{ two_ago_version_components_count }}) + Added in {{ current_version }} ({{ current_version_components_count }}) + Added in {{ added_one_ago_version }} ({{ one_ago_version_components_count }}) + Added in {{ added_two_ago_version }} ({{ two_ago_version_components_count }}) {% for category in categories %} {% if category and category != 'Other' %} @@ -87,16 +87,14 @@ Support for these components is provided by the Home Assistant community. {% endraw %}