From 1db030b70d38863f6e5689d309700bf8ab7b70ae Mon Sep 17 00:00:00 2001 From: Aníbal Limón Date: Wed, 18 Feb 2015 16:57:14 +0000 Subject: rrs: Add support to display no update reason MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Display no update reason when upstream status filter is Can't be updated this helps to review the reason. Signed-off-by: Aníbal Limón --- templates/rrs/recipes.html | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'templates') diff --git a/templates/rrs/recipes.html b/templates/rrs/recipes.html index 6a8d1f8d26..c3719a1b5f 100644 --- a/templates/rrs/recipes.html +++ b/templates/rrs/recipes.html @@ -75,6 +75,7 @@ Upstream status Maintainer Summary + No update reason @@ -96,6 +97,7 @@ {{ r.maintainer_name }} {{ r.summary }} + {{ r.no_update_reason }} {% endfor %} @@ -209,6 +211,12 @@ $(document).ready(function() { } function applyFilters() { + if (upstreamStatus == 'Can\'t be updated') { + $('.no_update_reason_column').show() + } else { + $('.no_update_reason_column').hide() + } + if (upstreamStatus == 'All') { upstreamStatusFilter = '' } else { @@ -269,6 +277,7 @@ $(document).ready(function() { 1: { sorter: false }, 2: { sorter: false }, 5: { sorter: false }, + 6: { sorter: false }, } }); {% endif %} -- cgit 1.2.3-korg