mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-24 08:43:13 +08:00
55 lines
2.1 KiB
Text
55 lines
2.1 KiB
Text
<div class="panel panel-default panel-archive">
|
|
|
|
<div class="panel-heading">
|
|
|
|
<div class="dropdown pull-right">
|
|
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
|
|
<span class="caret"></span>
|
|
</button>
|
|
</div>
|
|
|
|
<h3 class="panel-title"><%= experiment.name %></h3>
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div class="row">
|
|
<div class="col-xs-4">
|
|
<%=t "projects.experiment_archive.archived_on" %>
|
|
</div>
|
|
<div class="col-xs-8">
|
|
<span title="<%=t "projects.experiment_archive.archived_on_title", date: l(experiment.archived_on, format: :full_date), time: l(experiment.archived_on, format: :time) %>">
|
|
<span class="sn-icon sn-icon-calendar" aria-hidden="true"></span>
|
|
<%=l experiment.archived_on, format: :full_date %>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-4">
|
|
<%=t "projects.experiment_archive.created_on" %>
|
|
</div>
|
|
<div class="col-xs-8">
|
|
<span title="<%=t "projects.experiment_archive.created_on_title", date: l(experiment.created_at, format: :full_date), time: l(experiment.created_at, format: :time) %>">
|
|
<span class="sn-icon sn-icon-calendar" aria-hidden="true"></span>
|
|
<%=l experiment.created_at, format: :full_date %>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-4">
|
|
<%=t "projects.experiment_archive.last_modified_on" %>
|
|
</div>
|
|
<div class="col-xs-8">
|
|
<span title="<%=t "projects.experiment_archive.created_on_title", date: l(experiment.updated_at, format: :full_date), time: l(experiment.updated_at, format: :time) %>">
|
|
<span class="sn-icon sn-icon-calendar" aria-hidden="true"></span>
|
|
<%=l experiment.updated_at, format: :full_date %>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
<%= custom_auto_link(experiment.description, team: current_team) %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|