]>
git.saurik.com Git - cydia.git/blob - Cydia.app/confirm.js
bd78c2e5da8022c714853809218b3ed5c1927a42
5 var downloading
= sizes
[0];
6 if (downloading
== "0.0 B")
7 $(".downloading").remove();
9 $("#downloading").html($.xml(downloading
));
11 var resuming
= sizes
[1];
12 if (resuming
== "0.0 B")
13 $(".resuming").remove();
15 $("#resuming").html($.xml(resuming
));
20 if (size
.charAt(0) != '-')
24 size
= size
.substr(1);
27 $("#disk-key").html(cydia
.localize(negative
? "DISK_FREEING" : "DISK_USING"));
28 $("#disk-value").html($.xml(size
));
29 } else for (var i
= 0; i
!= issues
.length
; ++i
) {
30 document
.title
= cydia
.localize("CANNOT_COMPLY");
32 $("._issues").remove();
34 var issue
= issues
[i
];
37 "<label style=\"color: #704d4d\">" + $.xml(issue
[0]) + "</label>" +
38 "<fieldset style=\"background-color: #dddddd\" class=\"clearfix\" id=\"i" + i
+ "\"></fieldset>"
41 for (var j
= 1; j
!= issue
.length
; ++j
) {
44 if (type
== "PreDepends")
46 $("#i" + i
).append("<div class=\"clearfix\"><div>" +
47 "<label>" + $.xml(type
) + "</label>" +
48 "<label>" + $.xml(entry
[1] + " " + entry
[3]) + "</label>" +
61 for (var i
= 0; i
!= 5; ++i
) {
62 var list
= changes
[i
];
63 var length
= list
.length
;
66 $("#modifications").append("<div class=\"clearfix\"><div>" +
67 "<label>" + cydia
.localize($.xml(keys
[i
])) + "</label>" +
68 "<label id=\"c" + i
+ "\"></label>" +
72 for (var j
= 0; j
!= length
; ++j
) {
75 value
+= $.xml(list
[j
]);
78 $("#c" + i
).html(value
);