Skip to content

Commit

Permalink
Fix the title of the notice for unopened consultations
Browse files Browse the repository at this point in the history
This commit fixes the notice title for unopened consultations, which was incorrect following the move from the notice pattern to the notice component.
  • Loading branch information
Ruben Arakelyan committed Aug 8, 2017
1 parent f715662 commit 08f1b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/content_items/consultation.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<% if @content_item.opening_date_midnight? %>on<% else %>at<% end %>
<time datetime="<%= @content_item.opening_date_time %>"><%= @content_item.opening_date %></time>
<% end %>
<%= render 'components/notice', title: 'Statistics release cancelled', description_text: content_item_unopened %>
<%= render 'components/notice', title: "This consultation isn't open yet", description_text: content_item_unopened %>
<% elsif @content_item.pending_final_outcome? %>
<% content_item_final_outcome = capture do %>
Visit this page again soon to download the outcome to this public&nbsp;feedback.
Expand Down

0 comments on commit 08f1b5e

Please sign in to comment.