diff --git a/app/assets/stylesheets/repository_columns/date_type.scss b/app/assets/stylesheets/repository_columns/date_type.scss index 174db5592..52d41a591 100644 --- a/app/assets/stylesheets/repository_columns/date_type.scss +++ b/app/assets/stylesheets/repository_columns/date_type.scss @@ -24,4 +24,10 @@ margin: 0 .5em; } } -} \ No newline at end of file +} + +#manage-repository-column .column-type.time-column-type { + .range-label { + top: 2px; + } +} diff --git a/app/views/repository_columns/manage_column_partials/_time.html.erb b/app/views/repository_columns/manage_column_partials/_time.html.erb index edef194d0..fd419802e 100644 --- a/app/views/repository_columns/manage_column_partials/_time.html.erb +++ b/app/views/repository_columns/manage_column_partials/_time.html.erb @@ -1,5 +1,7 @@
-
+
<%= check_box_tag 'range', '', column&.repository_time_range_value?, { id: 'time-range', class: 'sci-checkbox', disabled: !column.new_record? } %>