Moves draft and final result publication dates from tabs to sidebar
This commit is contained in:
@@ -34,6 +34,30 @@
|
||||
url: legislation_process_url(@process),
|
||||
description: @process.title
|
||||
} %>
|
||||
|
||||
<% if process.draft_publication.enabled? %>
|
||||
<div class="sidebar-divider"></div>
|
||||
<p class="sidebar-title">
|
||||
<%= t("legislation.processes.shared.draft_publication_date") %>
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to draft_publication_legislation_process_path(@process) do %>
|
||||
<strong><%= format_date(process.draft_publication_date) %></strong>
|
||||
<% end %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<% if process.result_publication.enabled? %>
|
||||
<div class="sidebar-divider"></div>
|
||||
<p class="sidebar-title">
|
||||
<%= t("legislation.processes.shared.result_publication_date") %>
|
||||
</p>
|
||||
<p>
|
||||
<%= link_to result_publication_legislation_process_path(@process) do %>
|
||||
<strong><%= format_date(process.result_publication_date) %></strong>
|
||||
<% end %>
|
||||
</p>
|
||||
<% end %>
|
||||
</aside>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user