Fixes heading structure and i18n format on legislation processes
This commit is contained in:
@@ -86,7 +86,8 @@
|
|||||||
background: #e5ecf2;
|
background: #e5ecf2;
|
||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
|
|
||||||
h5 {
|
h4 {
|
||||||
|
font-size: rem-calc(16);
|
||||||
margin-left: 0.25rem;
|
margin-left: 0.25rem;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
color: #61686e;
|
color: #61686e;
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="small-12 medium-4 column">
|
<div class="small-12 medium-4 column">
|
||||||
<%= link_to process, class: "button hollow big expanded", title: t('.see_latest_comments_title') do %>
|
<%= link_to process, class: "button hollow big expanded", title: t(".see_latest_comments_title") do %>
|
||||||
<span class="icon-comments"></span> <%= t('.see_latest_comments') %>
|
<span class="icon-comments"></span> <%= t(".see_latest_comments") %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -21,43 +21,43 @@
|
|||||||
<% column_width = 12 / process.enabled_phases_and_publications_count %>
|
<% column_width = 12 / process.enabled_phases_and_publications_count %>
|
||||||
<div class="column row">
|
<div class="column row">
|
||||||
<div class="small-12 column legislation-calendar-info">
|
<div class="small-12 column legislation-calendar-info">
|
||||||
<p><%= t('legislation.processes.shared.key_dates') %></p>
|
<p><%= t("legislation.processes.shared.key_dates") %></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column row small-collapse medium-uncollapse legislation-calendar">
|
<div class="column row small-collapse medium-uncollapse legislation-calendar">
|
||||||
<% if process.debate_phase.enabled? %>
|
<% if process.debate_phase.enabled? %>
|
||||||
<div class="small-6 medium-<%= column_width %> column">
|
<div class="small-6 medium-<%= column_width %> column">
|
||||||
<h5><%= t('legislation.processes.shared.debate_dates') %></h5>
|
<h4><%= t("legislation.processes.shared.debate_dates") %></h4>
|
||||||
<p><%= format_date(process.debate_start_date) %> - <%= format_date(process.debate_end_date) %></p>
|
<p><%= format_date(process.debate_start_date) %> - <%= format_date(process.debate_end_date) %></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if process.draft_publication.enabled? %>
|
<% if process.draft_publication.enabled? %>
|
||||||
<div class="small-6 medium-<%= column_width %> column">
|
<div class="small-6 medium-<%= column_width %> column">
|
||||||
<h5><%= t('legislation.processes.shared.draft_publication_date') %></h5>
|
<h4><%= t("legislation.processes.shared.draft_publication_date") %></h4>
|
||||||
<p><%= format_date(process.draft_publication_date) %></p>
|
<p><%= format_date(process.draft_publication_date) %></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if process.proposals_phase.enabled? %>
|
<% if process.proposals_phase.enabled? %>
|
||||||
<div class="small-6 medium-<%= column_width %> column">
|
<div class="small-6 medium-<%= column_width %> column">
|
||||||
<h5><%= t('legislation.processes.shared.proposals_dates') %></h5>
|
<h4><%= t("legislation.processes.shared.proposals_dates") %></h4>
|
||||||
<p><%= format_date(process.proposals_phase_start_date) %> - <%= format_date(process.proposals_phase_end_date) %></p>
|
<p><%= format_date(process.proposals_phase_start_date) %> - <%= format_date(process.proposals_phase_end_date) %></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if process.allegations_phase.enabled? %>
|
<% if process.allegations_phase.enabled? %>
|
||||||
<div class="small-6 medium-<%= column_width %> column">
|
<div class="small-6 medium-<%= column_width %> column">
|
||||||
<h5><%= t('legislation.processes.shared.allegations_dates') %></h5>
|
<h4><%= t("legislation.processes.shared.allegations_dates") %></h4>
|
||||||
<p><%= format_date(process.allegations_start_date) %> - <%= format_date(process.allegations_end_date) %></p>
|
<p><%= format_date(process.allegations_start_date) %> - <%= format_date(process.allegations_end_date) %></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% if process.result_publication.enabled? %>
|
<% if process.result_publication.enabled? %>
|
||||||
<div class="small-6 medium-<%= column_width %> column">
|
<div class="small-6 medium-<%= column_width %> column">
|
||||||
<h5><%= t('legislation.processes.shared.result_publication_date') %></h5>
|
<h4><%= t("legislation.processes.shared.result_publication_date") %></h4>
|
||||||
<p><%= format_date(process.result_publication_date) %></p>
|
<p><%= format_date(process.result_publication_date) %></p>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user