diff options
author | Helmut Grohne <helmut@subdivi.de> | 2013-05-09 08:32:14 +0200 |
---|---|---|
committer | Helmut Grohne <helmut@subdivi.de> | 2013-05-09 08:32:14 +0200 |
commit | 5af1ec9dea69a3efbb5a053e10b3c2ecf3fd7fc7 (patch) | |
tree | ea23fca2c90e86718dc9f9dfb2c51bfdb4892ed0 /webapp.py | |
parent | 8dc282d17df6d3d03b343ffa0f1f192cb2dbb5e3 (diff) | |
download | debian-dedup-5af1ec9dea69a3efbb5a053e10b3c2ecf3fd7fc7.tar.gz |
webapp: enrich comparison page with version info
Diffstat (limited to 'webapp.py')
-rwxr-xr-x | webapp.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -76,6 +76,12 @@ detail_template = jinjaenv.from_string( {% block title %}sharing between {{ details1.package|e }} and {{ details2.package|e }}{% endblock%} {% block content %} <h1><a href="../../binary/{{ details1.package|e }}">{{ details1.package|e }}</a> <-> <a href="../../binary/{{ details2.package|e }}">{{ details2.package|e }}</a></h1> +<p>Version of {{ details1.package|e }}: {{ details1.version|e }}</p> +<p>Architecture of {{ details1.package|e }}: {{ details1.architecture|e }}</p> +{%- if details1.package != details2.package -%} +<p>Version of {{ details2.package|e }}: {{ details2.version|e }}</p> +<p>Architecture of {{ details2.package|e }}: {{ details2.architecture|e }}</p> +{%- endif -%} <table border='1'><tr><th colspan="2">{{ details1.package|e }}</th><th colspan="2">{{ details2.package|e }}</th></tr> <tr><th>size</th><th>filename</th><th>hash functions</th><th>filename</th></tr> {%- for entry in shared -%} |