diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2015-02-18 16:57:14 +0000 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:51 +1200 |
commit | 1db030b70d38863f6e5689d309700bf8ab7b70ae (patch) | |
tree | 48dbff0182956d9864bc311394a3c4a56593e72c /templates | |
parent | 84120c0fa615aed55d578379bcd10398f56a26f1 (diff) | |
download | openembedded-core-contrib-1db030b70d38863f6e5689d309700bf8ab7b70ae.tar.gz |
rrs: Add support to display no update reason
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 <anibal.limon@linux.intel.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rrs/recipes.html | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ <th class="upstream_status_column span2">Upstream status</th> <th class="maintainer_column">Maintainer</th> <th class="summary_column muted span5">Summary</th> + <th class="no_update_reason_column muted span5" style="display:none">No update reason</th> </tr> </thead> <tbody> @@ -96,6 +97,7 @@ </td> <td class="maintainer_column">{{ r.maintainer_name }}</td> <td class="summary_column">{{ r.summary }}</td> + <td class="no_update_reason_column" style="display:none">{{ r.no_update_reason }}</td> </tr> {% endfor %} </tbody> @@ -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 %} |