Skip to content

Commit

Permalink
show students and mentors event status and status disclaimers (#2405)
Browse files Browse the repository at this point in the history
  • Loading branch information
stenington committed Mar 3, 2020
1 parent 9c13162 commit 1a97d53
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
pitch to a live panel of judges!
</p>

<div class="step-actions">
<%= render 'regional_pitch_events/dashboard_disclaimer' %>

<div class="step-actions margin--t-large">
<%= link_to 'Select Events',
mentor_regional_pitch_events_team_list_path,
class: "button" %>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<p>
Events will be confirmed as either Regional Pitch Events or
Celebration Events after <%= ImportantDates.rpe_officiality_finalized.strftime("%B %-d") %>.
Please sign in to your account to verify the status of your event after that date.
For more information about pitch events, please check out
the Technovation FAQ.
</p>
10 changes: 8 additions & 2 deletions app/views/regional_pitch_events/_event.en.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,19 @@
target: :_blank %>
</dd>
<% end %>

<dt>Status:</dt>
<dd>
<%= event.officiality.capitalize %>
</dd>
</dl>
</div>

<div class="grid__col-auto">
<p>
If you have questions about this event,
please contact your regional ambassador.
Events will be confirmed as either Regional Pitch Events or
Celebration Events after <%= ImportantDates.rpe_officiality_finalized.strftime("%B %-d") %>.
For more information, please check out the Technovation FAQ or contact your regional ambassador.
</p>

<dl>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
your submisison to a live panel of judges!
</p>

<div class="step-actions">
<%= render 'regional_pitch_events/dashboard_disclaimer' %>

<div class="step-actions margin--t-large">
<%= link_to 'Select an Event',
student_regional_pitch_events_path,
class: "button" %>
Expand All @@ -25,7 +27,9 @@
different event please contact your regional ambassador.
</p>

<div class="step-actions">
<%= render 'regional_pitch_events/dashboard_disclaimer' %>

<div class="step-actions margin--t-large">
<%= link_to 'View full details',
[current_scope, current_team.selected_regional_pitch_event],
class: "button" %>
Expand Down

0 comments on commit 1a97d53

Please sign in to comment.