]>
git.saurik.com Git - cydia.git/blob - Cydia.app/confirm.js
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 var version
= entry
[1];
47 if (entry
.length
>= 4)
48 version
+= " " + entry
[3];
49 $("#i" + i
).append("<div class=\"clearfix\"><div>" +
50 "<label>" + $.xml(type
) + "</label>" +
51 "<label>" + $.xml(version
) + "</label>" +
64 for (var i
= 0; i
!= 5; ++i
) {
65 var list
= changes
[i
];
66 var length
= list
.length
;
69 $("#modifications").append("<div class=\"clearfix\"><div>" +
70 "<label>" + cydia
.localize($.xml(keys
[i
])) + "</label>" +
71 "<label id=\"c" + i
+ "\"></label>" +
75 for (var j
= 0; j
!= length
; ++j
) {
78 value
+= $.xml(list
[j
]);
81 $("#c" + i
).html(value
);