Changeset 9525bb6 in iPeer


Ignore:
Timestamp:
2012-12-20T17:53:57-08:00 (5 years ago)
Author:
John Hsu <john.hsu@…>
Branches:
3.1.x, dev, hotfix, master, pagodabox, ticket463
Children:
d131dfa
Parents:
fb4a524
git-author:
John Hsu <john.hsu@…> (12/20/2012 04:52:07 PM)
git-committer:
John Hsu <john.hsu@…> (12/20/2012 05:53:57 PM)
Message:

View survey summary add percent sign.

It wasn't obvious that the column was the percent of people of voted for
that option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/views/evaluations/view_survey_summary.ctp

    rfb4a524 r9525bb6  
    2323            $cells[] = $response['response'];
    2424            $cells[] = $count;
    25             $cells[] = $percent;
     25            $cells[] = $percent == 0 ? "-" : "$percent%";
    2626            $cells[] = $html->image(
    2727                "evaluations/bar.php?per=" . $percent, array('alt'=>$percent));
Note: See TracChangeset for help on using the changeset viewer.