Merge pull request #5001 from sboursen-scinote/sb_SCI-7783

CSS - inventory [SCI-7783]
This commit is contained in:
artoscinote 2023-04-05 15:24:18 +02:00 committed by GitHub
commit 0f8c73771a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -24,4 +24,10 @@
margin: 0 .5em;
}
}
}
}
#manage-repository-column .column-type.time-column-type {
.range-label {
top: 2px;
}
}

View file

@ -1,5 +1,7 @@
<div class="form-group">
<div class="col-sm-3"></div>
<label class="control-label col-sm-3">
<%= t('libraries.manange_modal_column.datetime_type.options') %>
</label>
<div class="col-sm-9">
<span class="sci-checkbox-container">
<%= check_box_tag 'range', '', column&.repository_time_range_value?, { id: 'time-range', class: 'sci-checkbox', disabled: !column.new_record? } %>