mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Fixing small bug on the home page
This commit is contained in:
parent
627e3b7b5f
commit
faca4a0b18
1 changed files with 6 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
||||||
%h1.center-text
|
%h1.center-text
|
||||||
Upcoming Conferences
|
Upcoming Conferences
|
||||||
- @conferences.each do |conference|
|
- @conferences.each do |conference|
|
||||||
- if conference.cfp_open?
|
- if conference.cfp_open? || conference.registration_open?
|
||||||
.well
|
.well
|
||||||
%h2.center-text
|
%h2.center-text
|
||||||
= conference.title
|
= conference.title
|
||||||
|
|
@ -24,7 +24,8 @@
|
||||||
- else
|
- else
|
||||||
%b Registration is closed.
|
%b Registration is closed.
|
||||||
.span4.offset4.pull-right
|
.span4.offset4.pull-right
|
||||||
- if !current_user.nil? && current_user.person.proposal_count(conference) > 0
|
- if conference.cfp_open?
|
||||||
= link_to "View My Proposals", conference_proposal_index_path(conference.short_title), :class => "btn btn-success btn-large"
|
- if !current_user.nil? && current_user.person.proposal_count(conference) > 0
|
||||||
- else
|
= link_to "View My Proposals", conference_proposal_index_path(conference.short_title), :class => "btn btn-success btn-large"
|
||||||
= link_to "Submit Proposal", conference_proposal_index_path(conference.short_title), :class => "btn btn-success btn-large"
|
- else
|
||||||
|
= link_to "Submit Proposal", conference_proposal_index_path(conference.short_title), :class => "btn btn-success btn-large"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue