diff --git a/app/assets/stylesheets/protocols/protocol.scss b/app/assets/stylesheets/protocols/protocol.scss index a05703c9c..df44ef7cb 100644 --- a/app/assets/stylesheets/protocols/protocol.scss +++ b/app/assets/stylesheets/protocols/protocol.scss @@ -87,10 +87,12 @@ .protocol-description { margin-bottom: 2em; - img { - border-radius: 50%; - height: 24px; - width: 24px; + .data-block { + img { + border-radius: 50%; + height: 24px; + width: 24px; + } } .fas.block-icon { diff --git a/app/javascript/vue/protocol/container.vue b/app/javascript/vue/protocol/container.vue index 8140ad8c2..1b8d9ad1b 100644 --- a/app/javascript/vue/protocol/container.vue +++ b/app/javascript/vue/protocol/container.vue @@ -39,7 +39,7 @@ :value="protocol.attributes.name" :characterLimit="255" :placeholder="i18n.t('my_modules.protocols.protocol_status_bar.enter_name')" - :allowBlank="true" + :allowBlank="!inRepository" :attributeName="`${i18n.t('Protocol')} ${i18n.t('name')}`" @update="updateName" /> diff --git a/app/javascript/vue/protocol/step.vue b/app/javascript/vue/protocol/step.vue index 3e8786b2b..38ec84d1d 100644 --- a/app/javascript/vue/protocol/step.vue +++ b/app/javascript/vue/protocol/step.vue @@ -24,7 +24,7 @@ @click="toggleCollapsed"> -
<%= t("protocols.print.modal.content") %>
-