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/binary.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'dedup/templates/binary.html') diff --git a/dedup/templates/binary.html b/dedup/templates/binary.html index 46c4fa6..bf9aad8 100644 --- a/dedup/templates/binary.html +++ b/dedup/templates/binary.html @@ -1,6 +1,7 @@ {% extends "base.html" %} -{% block title %}duplication of {{ package|e }}{% endblock %} -{% block content %}

{{ package|e }}

+{% block title %}duplication of {{ package|e }}:{{ architecture|e }}{% endblock %} +{% block content %}

{{ package|e }}:{{ architecture|e }}

+

Package: {{ package|e }}

Version: {{ version|e }}

Architecture: {{ architecture|e }}

Number of files: {{ num_files }}

@@ -11,8 +12,8 @@ {%- for entry in sharing|sort(attribute="savable", reverse=true) -%} - {%- if entry.package %}{{ entry.package|e }}{% else %}self{% endif %} - compare + {%- if entry.package %}{{ entry.package|e }}:{{ entry.architecture|e}}{% else %}self{% endif %} + compare {%- endfor -%} -- cgit v1.2.3
packagefiles shareddata shared
{{ entry.duplicate }} ({{ (100 * entry.duplicate / num_files)|int }}%) {{ entry.savable|filesizeformat }} ({{ (100 * entry.savable / total_size)|int }}%)