mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-28 09:43:01 +08:00
Remove Info tab and change comment title
This commit is contained in:
parent
5d905f0094
commit
c9fbf845f1
3 changed files with 89 additions and 92 deletions
4
app/assets/stylesheets/extend/bootstrap.scss
vendored
4
app/assets/stylesheets/extend/bootstrap.scss
vendored
|
@ -49,3 +49,7 @@
|
|||
padding-right: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.step-comment .col-xs-12 {
|
||||
float: none;
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<hr>
|
||||
<h5 class="text-center"><%= t('protocols.steps.comments_tab') %></h5>
|
||||
<div class="col-xs-12"">
|
||||
<strong><%= t('protocols.steps.comments_tab') %></strong>
|
||||
</div>
|
||||
<hr>
|
||||
<ul class="no-style double-line content-comments">
|
||||
<% if @comments.length == @per_page %>
|
||||
|
|
|
@ -32,16 +32,8 @@
|
|||
<div class="panel-collapse collapse" id="step-panel-<%= step.id %>" role="tabpanel">
|
||||
<div class="panel-body">
|
||||
<% if @protocol.in_module? %>
|
||||
<ul class="nav nav-tabs">
|
||||
<li role="presentation" class="active">
|
||||
<a class="step-info-tab" href="#step-info-<%= step.id %>" data-toggle="tab"><span class="glyphicon glyphicon-info-sign"></span>
|
||||
<%= t("protocols.steps.info_tab") %></a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tab-content step-container">
|
||||
<div class="tab-pane active" role="tabpanel" id="step-info-<%= step.id %>">
|
||||
<div class="row">
|
||||
|
||||
<div class="row">
|
||||
<% if step.description.blank? %>
|
||||
<em><%= t("protocols.steps.no_description") %></em>
|
||||
<% else %>
|
||||
|
@ -134,8 +126,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue