You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.1 KiB
26 lines
1.1 KiB
<div class="govuk-grid-row govuk-!-padding-top-4"> |
|
<div class="govuk-grid-column-two-thirds"> |
|
<div class="govuk-grid-row"> |
|
<div class="govuk-grid-column-one-third"> |
|
<header class="app-log-summary__header"> |
|
<h2 class="app-log-summary__title"> |
|
<%= govuk_link_to "Log #{log.id}", send("#{log.class.name.underscore}_path", log) %> |
|
</h2> |
|
</header> |
|
</div> |
|
<div class="govuk-grid-column-two-thirds"> |
|
<p class="govuk-body"> |
|
Created <time datetime="<%= log.created_at.iso8601 %>"><%= log.created_at.to_formatted_s(:govuk_date) %></time> |
|
<% if log.created_by %> |
|
<span class="app-log-summary__footer--actor">Assigned to <%= log.created_by.name || log.created_by.email %></span> |
|
<% end %> |
|
</p> |
|
</div> |
|
</div> |
|
</div> |
|
<div class="govuk-grid-column-one-third app-log-summary__footer"> |
|
<p class="govuk-body govuk-!-margin-bottom-2"> |
|
<%= status_tag(log.status) %> |
|
</p> |
|
</div> |
|
</div>
|
|
|