Merge pull request #2234 from aignatov-bio/ai-sci-4110-check-permission-due-date

Fix tag edit mode [SCI-4110]
This commit is contained in:
aignatov-bio 2019-11-28 14:33:17 +01:00 committed by GitHub
commit 3bd4700e67
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -98,6 +98,10 @@
#calendar-due-date {
opacity: 0;
}
.fa-calendar-alt {
display: none;
}
}
&:hover {
@ -179,7 +183,7 @@
}
}
&:hover {
&:not(.view-mode):hover {
.input-field {
border: 1px solid $color-gainsboro;
}

View file

@ -20,7 +20,7 @@
'data-placeholder': t("my_modules.module_header.no_tags"),
'data-tags-create-url': project_tags_path(project_id: my_module.experiment.project_id),
'data-ajax-url': search_tags_my_module_my_module_tags_path(@my_module),
'data-update-module-tags-url': my_module_my_module_tags_path(@my_module)
'data-update-module-tags-url': my_module_my_module_tags_path(@my_module),
'data-view-mode': !editable
} %>
</div>