Adds splash check to todo list

Adds specs for make_conference_public
This commit is contained in:
Gopesh Tulsyan 2014-06-16 19:46:18 +05:30
parent e1b7067fd9
commit 291a61bc8d
4 changed files with 22 additions and 8 deletions

View file

@ -21,7 +21,8 @@
.col-md-2
.btn-group-vertical
- if !@conference || @conference != conference
= link_to "View Conference", conference_path(conference.short_title), :class =>"btn btn-default"
- if conference.make_conference_public?
= link_to "View Conference", conference_path(conference.short_title), :class =>"btn btn-default"
- if conference.registration_open?
- if conference.user_registered?(current_user)
= link_to "Modify Registration", register_conference_path(conference.short_title), :class =>"btn btn-default"
@ -31,4 +32,4 @@
- if !current_user.nil? && current_user.person.proposal_count(conference) > 0
= link_to "View My Proposals", conference_proposal_index_path(conference.short_title), :class =>"btn btn-default"
- elsif conference.cfp_open?
= link_to "Submit Proposal", conference_proposal_index_path(conference.short_title), :class =>"btn btn-default"
= link_to "Submit Proposal", conference_proposal_index_path(conference.short_title), :class =>"btn btn-default"