]> git.saurik.com Git - cydia.git/commitdiff
Forgot the Sponsor field.
authorJay Freeman (saurik) <saurik@saurk.com>
Sun, 10 Aug 2008 13:14:08 +0000 (13:14 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 30 Sep 2010 07:08:17 +0000 (07:08 +0000)
Cydia.app/package.html
Cydia.app/package.js

index a80177d72b7e078048ffe31b7c37c983bf3a7b75..5a94df958e1d3320fa36a385c0d062c0000b073d 100644 (file)
         <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>
index 63ba4d3d4b3b9d7045351fd5a3877cf8087f71da..60bf483d62cbf953e7a7a768f03c4403a8a9d5ee 100644 (file)
@@ -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();