mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 03:46:39 +08:00
Hide manage column action buttons on Task page
This commit is contained in:
parent
e4e2e08456
commit
fc29641c2b
4 changed files with 13 additions and 3 deletions
|
@ -180,4 +180,14 @@
|
|||
float: left;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
&[data-task-page=true] {
|
||||
.repo-columns-list>.editable:hover>.manage-controls {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.repo-columns-list>.editable:hover>.column-type {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<%= render partial: 'repository_columns/manage_column_modal.html.erb' %>
|
||||
<%= render partial: 'repository_columns/manage_column_modal.html.erb', locals: { my_module_page: true } %>
|
||||
|
||||
<%= stylesheet_link_tag 'datatables' %>
|
||||
<%= javascript_include_tag 'repositories/repository_datatable' %>
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
<%= render partial: 'repositories/export_repository_modal.html.erb',
|
||||
locals: { repository: @repository } %>
|
||||
|
||||
<%= render partial: 'repository_columns/manage_column_modal.html.erb' %>
|
||||
<%= render partial: 'repository_columns/manage_column_modal.html.erb', locals: { my_module_page: false } %>
|
||||
|
||||
<%= javascript_include_tag 'repositories/edit' %>
|
||||
<%= javascript_include_tag 'repositories/repository_datatable' %>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
id="manage-repository-column"
|
||||
tabindex="-1"
|
||||
role="dialog"
|
||||
aria-labelledby="manangeRepositoryColumnLabel">
|
||||
aria-labelledby="manangeRepositoryColumnLabel" data-task-page="<%= my_module_page ? 'true' : '' %>">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
</div>
|
||||
|
|
Loading…
Add table
Reference in a new issue