From 4ee8cc1ded42e0bcba2d79c8b2459c6bab29e1f1 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sun, 30 Aug 2015 13:49:49 +0200 Subject: reproducible: include build_date in tooltip --- bin/reproducible_html_packages.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/reproducible_html_packages.py b/bin/reproducible_html_packages.py index da63a875..dd865534 100755 --- a/bin/reproducible_html_packages.py +++ b/bin/reproducible_html_packages.py @@ -180,6 +180,7 @@ def gen_suites_links(package, current_suite, current_arch): if not status: # The package is not available in that suite/arch continue version = package.get_tested_version(s, a) + build_date = package.get_build_date(s, a) li_classes = ['suite'] if s == current_suite and a == current_arch: li_classes.append('active') @@ -193,8 +194,8 @@ def gen_suites_links(package, current_suite, current_arch): icon = prefix + '{status}' + suffix html += icon.format(icon=join_status_icon(status)[1], status=status) html += (tab*2 + ' {}: {}\n').format(RB_PKG_URI, - s, a, package.name, status, version, s, version) + ' title="{}: {} on {}">{}: {}\n').format(RB_PKG_URI, + s, a, package.name, status, version, build_date, s, version) html += '\n' html += tab + '' html += '\n' -- cgit v1.2.3-70-g09d2