summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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();