diff --git a/app/assets/stylesheets/my_modules/protocols/index.scss b/app/assets/stylesheets/my_modules/protocols/index.scss index 4d1bfb1bd..8e9736d33 100644 --- a/app/assets/stylesheets/my_modules/protocols/index.scss +++ b/app/assets/stylesheets/my_modules/protocols/index.scss @@ -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; } diff --git a/app/views/my_modules/_tags.html.erb b/app/views/my_modules/_tags.html.erb index d2fbd9d9c..b4b1ab14d 100644 --- a/app/views/my_modules/_tags.html.erb +++ b/app/views/my_modules/_tags.html.erb @@ -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 } %>