forked from Cavemanon/cavepaintings
make_link for numeric score votes, and put in theme.php, fixes issue #50
This commit is contained in:
@ -35,9 +35,6 @@ class NumericScore implements Extension {
|
||||
if($event instanceof DisplayingImageEvent) {
|
||||
if(!$user->is_anonymous()) {
|
||||
$html = $this->theme->get_voter_html($event->image);
|
||||
if($user->is_admin()) {
|
||||
$html .= "<p><a href='/numeric_score_votes/{$event->image->id}'>See All Votes</a>";
|
||||
}
|
||||
$page->add_block(new Block("Image Score", $html, "left", 20));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user