mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-05 23:25:46 +08:00
Update fonts
This commit is contained in:
parent
7e009ab8ee
commit
ac4532eea3
2 changed files with 11 additions and 16 deletions
|
@ -471,12 +471,17 @@
|
|||
}
|
||||
|
||||
.dropdown-menu {
|
||||
@include font-button;
|
||||
min-width: 500px;
|
||||
padding: 1em 2em;
|
||||
|
||||
.task-details-value {
|
||||
@include font-h3;
|
||||
}
|
||||
|
||||
.row-v-margin {
|
||||
margin-bottom: .5em;
|
||||
margin-top: .5em
|
||||
margin-top: .5em;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,30 +3,24 @@
|
|||
<div class="col-xs-3">
|
||||
<%= t('my_modules.module_header.details_popover.project_label') %>
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
<strong>
|
||||
<div class="col-xs-9 task-details-value">
|
||||
<%= @my_module.experiment.project.name.truncate(Constants::MAX_NAME_TRUNCATION) %>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row row-v-margin">
|
||||
<div class="col-xs-3">
|
||||
<%= t('my_modules.module_header.details_popover.experiment_label') %>
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
<strong>
|
||||
<div class="col-xs-9 task-details-value">
|
||||
<%= @my_module.experiment.name.truncate(Constants::MAX_NAME_TRUNCATION) %>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row row-v-margin">
|
||||
<div class="col-xs-3">
|
||||
<%= t('my_modules.module_header.details_popover.creator_label') %>
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
<strong>
|
||||
<div class="col-xs-9 task-details-value">
|
||||
<%= @my_module.created_by&.full_name&.truncate(Constants::MAX_NAME_TRUNCATION) %>
|
||||
</strong>
|
||||
<%= t('my_modules.module_header.details_popover.creator_same_user_label') if current_user == @my_module.created_by %>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -34,18 +28,15 @@
|
|||
<div class="col-xs-3">
|
||||
<%= t('my_modules.module_header.details_popover.created_label') %>
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
<strong>
|
||||
<div class="col-xs-9 task-details-value">
|
||||
<%= l(@my_module.created_at, format: :full_date) %>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row row-v-margin">
|
||||
<div class="col-xs-3">
|
||||
<%= t('my_modules.module_header.details_popover.modified_label') %>
|
||||
</div>
|
||||
<div class="col-xs-9">
|
||||
<strong>
|
||||
<div class="col-xs-9 task-details-value">
|
||||
<% if @my_module.last_modified_by.present? %>
|
||||
<%= t('my_modules.module_header.details_popover.modified_value',
|
||||
date: l(@my_module.updated_at, format: :full_date),
|
||||
|
@ -54,7 +45,6 @@
|
|||
<%= t('my_modules.module_header.details_popover.modified_value_without_user',
|
||||
date: l(@my_module.updated_at, format: :full_date)) %>
|
||||
<% end %>
|
||||
</strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue