summaryrefslogtreecommitdiff
path: root/Cydia.app
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2008-08-10 13:14:08 +0000
committerJay Freeman (saurik) <saurik@saurik.com>2010-09-30 07:08:17 +0000
commitdc6e62a40e4a0af61c0d57d7732ba59d2329d7c0 (patch)
tree1f3465ed2231ae792740dabca397c886849b2716 /Cydia.app
parentbc8cd58384e8a3eeab3bf3b972b1164590e51b09 (diff)
Forgot the Sponsor field.
Diffstat (limited to 'Cydia.app')
-rw-r--r--Cydia.app/package.html5
-rw-r--r--Cydia.app/package.js8
2 files changed, 13 insertions, 0 deletions
diff --git a/Cydia.app/package.html b/Cydia.app/package.html
index a80177d..5a94df9 100644
--- a/Cydia.app/package.html
+++ b/Cydia.app/package.html
@@ -61,6 +61,11 @@
<div id="maintainer"></div>
</a>
+ <a id="sponsor-link" class="sponsor">
+ <label>Sponsor</label>
+ <div id="sponsor"></div>
+ </a>
+
<div class="trusted">
<img src="trusted.png" style="margin-top: 2px; position: absolute">
<label></label>
diff --git a/Cydia.app/package.js b/Cydia.app/package.js
index 63ba4d3..60bf483 100644
--- a/Cydia.app/package.js
+++ b/Cydia.app/package.js
@@ -79,6 +79,14 @@ $(function () {
$("#maintainer-link").href("mailto:" + maintainer.address + "?subject=" + regarding);
}
+ var sponsor = package.maintainer;
+ if (sponsor == null)
+ $(".sponsor").remove();
+ else {
+ $("#sponsor").html(sponsor.name);
+ $("#sponsor-link").href(sponsor.address);
+ }
+
var source = package.source;
if (source == null)
$(".source").remove();