From 7f3d8c5098d23bb43b86e060700170cc41cd22aa Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Sat, 7 Sep 2013 21:04:40 +0200 Subject: permit multiple architectures per package While the importer can easily cope with this change, the web presentation still needs fixing. It works somewhat now. --- dedup/templates/compare.html | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'dedup/templates/compare.html') diff --git a/dedup/templates/compare.html b/dedup/templates/compare.html index f78e80f..7d4564c 100644 --- a/dedup/templates/compare.html +++ b/dedup/templates/compare.html @@ -1,14 +1,12 @@ {% extends "base.html" %} -{% block title %}sharing between {{ details1.package|e }} and {{ details2.package|e }}{% endblock%} +{% block title %}sharing between {{ details1.package|e }}:{{ details1.architecture|e }} and {{ details2.package|e }}:{{ details2.architecture|e }}{% endblock%} {% block content %} -

{{ details1.package|e }} <-> {{ details2.package|e }}

-

Version of {{ details1.package|e }}: {{ details1.version|e }}

-

Architecture of {{ details1.package|e }}: {{ details1.architecture|e }}

-{%- if details1.package != details2.package -%} -

Version of {{ details2.package|e }}: {{ details2.version|e }}

-

Architecture of {{ details2.package|e }}: {{ details2.architecture|e }}

+

{{ details1.package|e }}:{{ details1.architecture|e }} <-> {{ details2.package|e }}:{{ details2.architecture|e }}

+

Version of {{ details1.package|e }}:{{ details1.architecture|e }}: {{ details1.version|e }}

+{%- if details1.package != details2.package or details1.architecture != details2.architecture -%} +

Version of {{ details2.package|e }}:{{ details2.architecture|e }}: {{ details2.version|e }}

{%- endif -%} - +
{{ details1.package|e }}{{ details2.package|e }}
{%- for entry in shared -%} 1 %} rowspan={{ entry.matches|length }}{% endif %}>{{ entry.size|filesizeformat }} 1 %} rowspan={{ entry.matches|length }}{% endif %}> -- cgit v1.2.3
{{ details1.package|e }}:{{ details1.architecture|e }}{{ details2.package|e }}:{{ details2.architecture|e }}
sizefilenamehash functionsfilename