mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 01:03:23 -05:00
Improves the presentation logic.
This commit is contained in:
parent
787fff74d6
commit
9d07e9a740
@ -704,14 +704,13 @@ $(function() {
|
||||
obj.phone + "\r\n" +
|
||||
"volunteer hours for last 365 day: " + obj.volunteer_hours + "\r\n" +
|
||||
"volunteer hours redeemed " + "\r\n" +
|
||||
"volunteer hours remaining";
|
||||
|
||||
"volunteer hours remaining";
|
||||
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
|
||||
if (obj) {
|
||||
var volunteer_hours = obj.volunteer_hours;
|
||||
if (volunteer_hours.length) {
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
$("#volunteer_hours").prop("title",title).html("Volunteer Hours");
|
||||
} else {
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user