diff --git a/js/shop.js b/js/shop.js index 0e7e790..885d74f 100644 --- a/js/shop.js +++ b/js/shop.js @@ -116,18 +116,22 @@ $(function(){ if (volunteer_with_redeemed_hours_at_zero !== 0) { $(".volunteer_hours_" + obj.contact_id). - html("Summary | Update Interests"). parent().css({backgroundColor: "#19a0cc", textAlign: "center", cursor: "cell"}). prop("title",title).css({textAlign: "center"}); + + $('.update_interests a').css({color: "#1b691e", textDecoration: "none", cursor: "crosshair"}); } else { $(".volunteer_hours_" + obj.contact_id). - html("Summary | Update Interests"). parent().css({backgroundColor: "rgb(216, 198, 39)", textAlign: "center", cursor: "cell"}). - prop("title",title).css({textAlign: "center"}); + prop("title",title).css({textAlign: "center"}); + + $('.update_interests a').css({color: "#1b691e", textDecoration: "none", cursor: "crosshair"}); } @@ -137,12 +141,14 @@ $(function(){ "Volunteer Hours for last 365 days: None" + "\r\n"; $(".volunteer_hours_" + obj.contact_id). - html("Update Interests"). + "'>Update Interests"). parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). prop("title",title).css({textAlign: "center"}); + $('.update_interests a').css({color: "#1b691e", textDecoration: "none", cursor: "crosshair"}); + } } else { @@ -155,11 +161,13 @@ $(function(){ "Volunteer Hours for last 365 days: None" + "\r\n"; $(".volunteer_hours_" + id). - html("Update Interests"). + "'>Update Interests"). parent().css({backgroundColor: "rgb(190, 199, 204)", textAlign: "center", cursor: "cell"}). - prop("title",title).css({textAlign: "center"}); + prop("title",title).css({textAlign: "center"}); + + $('.update_interests a').css({color: "#1b691e", textDecoration: "none", cursor: "crosshair"}); } @@ -206,7 +214,7 @@ $(function(){ // expired membership if (d >= expiration_date) { $(".paid_membership_" + membership_obj.contact_id).html("Expired"). - parent().css({backgroundColor: "red", textAlign: "center", cursor: "cell"}).prop("title",title); + parent().css({backgroundColor: "red", textAlign: "center", cursor: "cell", textDecoration: "none"}).prop("title",title); // paid membership } else if (d < expiration_date) {