Campustream 1.0
A social network MQP for WPI
|
Go to the source code of this file.
Variables | |
if($question->tags &&count($question-> tags) > 0)($question->tags as $tag) | endif = $question->categoryucfirst($question->category)$question->user->avatar$question->title$question->message |
$has_voted = $response->has_voted() | |
$up_votes = $response->up_votes | |
$down_votes = $response->down_votes | |
endforeach = $response->id$response->user->avatar_url('small')$response->message$response->user->username$response->user->namedate::relative_time($response->post_date)$up_votesvocab::plural('vote', $up_votes)$down_votesvocab::plural('vote', $down_votes)$has_voted === 'up' ? 'active' : ''$has_voted != false ? 'active' : ''$response->vote_count$has_voted === 'down' ? 'active' : '' |
endforeach = $response->id$response->user->avatar_url('small')$response->message$response->user->username$response->user->namedate::relative_time($response->post_date)$up_votesvocab::plural('vote', $up_votes)$down_votesvocab::plural('vote', $down_votes)$has_voted === 'up' ? 'active' : ''$has_voted != false ? 'active' : ''$response->vote_count$has_voted === 'down' ? 'active' : '' |