2021-06-10 16:59:34 +08:00
|
|
|
<% project ||= report_element.project %>
|
|
|
|
<div class="report-element report-project-header-element">
|
2016-02-12 23:52:43 +08:00
|
|
|
<div class="report-element-header">
|
|
|
|
<div class="row">
|
|
|
|
<div class="pull-left user-time">
|
2021-06-10 16:59:34 +08:00
|
|
|
<%= t('projects.reports.elements.project_header.user_time', timestamp: l(project.created_at, format: :full)) %>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-06-07 20:29:40 +08:00
|
|
|
<div class="report-element-body" data-hook="report-project-header-element">
|
2016-02-12 23:52:43 +08:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-12 project-name">
|
2018-11-12 08:34:00 +08:00
|
|
|
<h2>
|
2021-06-10 16:59:34 +08:00
|
|
|
<%= t('projects.reports.elements.project_header.title', project: project.name) %>
|
2018-11-12 08:34:00 +08:00
|
|
|
<% if project.archived? %>
|
2021-06-10 16:59:34 +08:00
|
|
|
<span class="label label-warning"><%= t('search.index.archived') %></span>
|
2018-11-12 08:34:00 +08:00
|
|
|
<% end %>
|
|
|
|
</h2>
|
2016-02-12 23:52:43 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-05-20 20:16:39 +08:00
|
|
|
<% if defined?(children) %>
|
|
|
|
<div class="report-element-children">
|
|
|
|
<%= children %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
2017-03-08 21:14:03 +08:00
|
|
|
</div>
|