mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 20:24:43 +08:00
21 lines
No EOL
886 B
Text
21 lines
No EOL
886 B
Text
<% if project.blank? and @project.present? then project = @project end %>
|
|
<% name = t("projects.reports.elements.project_header.title", project: project.name) %>
|
|
<div class="report-element report-project-header-element" data-ts="ignore" data-type="project_header" data-id="<%= project.id %>" data-name="<%= name %>" data-icon-class="glyphicon-header">
|
|
<div class="report-element-header">
|
|
<div class="row">
|
|
<div class="pull-left user-time">
|
|
<%=t "projects.reports.elements.project_header.user_time", timestamp: l(project.created_at, format: :full) %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="report-element-body">
|
|
<div class="row">
|
|
<div class="col-xs-12 project-name">
|
|
<h2><%= name %></h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="report-element-children">
|
|
<%= children if (defined? children and children.present?) %>
|
|
</div>
|
|
</div> |