Add vote functionality to tracks

This commit is contained in:
Rishabh Singh 2019-08-09 17:33:42 +05:30
parent 8b2f2b538e
commit 92b09c7de4
18 changed files with 237 additions and 19 deletions

View file

@ -104,6 +104,14 @@
%b Relevance
%td
= markdown(@track.relevance)
- if @conference.program.rating_enabled?
= render 'voting',
track: @track,
show_votes: @program.show_voting?,
max_rating: @program.rating,
voting_period: @program.voting_period?,
votes: @votes,
conference_id: @conference.short_title
.tab-pane#events
.col-md-12