mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-14 00:54:32 +08:00
Fix linked protocol naming and i flyout [SCI-6963] (#4213)
This commit is contained in:
parent
d897a4f9a8
commit
4db46eac44
4 changed files with 17 additions and 2 deletions
|
@ -12,6 +12,18 @@
|
|||
.portocol-header-left-part {
|
||||
align-items: baseline;
|
||||
display: flex;
|
||||
|
||||
.task-section-caret {
|
||||
padding-right: .25em;
|
||||
}
|
||||
|
||||
.status-label {
|
||||
margin: 2px 0 0;
|
||||
}
|
||||
|
||||
.status-info {
|
||||
padding-left: 4px;
|
||||
}
|
||||
}
|
||||
|
||||
.insert-step {
|
||||
|
|
|
@ -638,6 +638,8 @@
|
|||
width: 300px;
|
||||
|
||||
.dropdown-footer {
|
||||
display: block;
|
||||
|
||||
.btn {
|
||||
float: left !important;
|
||||
margin: 5px 0;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<div class="dropdown my-module-protocol-status">
|
||||
<% if @protocol.linked? %>
|
||||
<span class="status-label linked">
|
||||
[<%= protocol_name(@protocol.parent) %>]
|
||||
[<%= t("my_modules.protocols.protocol_status_bar.linked") %>]
|
||||
</span>
|
||||
<% else %>
|
||||
<span class="status-label">
|
||||
|
|
|
@ -877,6 +877,7 @@ en:
|
|||
protocol_status_bar:
|
||||
private_parent: "private"
|
||||
unlinked: "unlinked"
|
||||
linked: "linked"
|
||||
no_description: "No protocol description"
|
||||
enter_name: "Enter protocol name"
|
||||
empty_description_edit_label: "Click here to enter Protocol Description (optional)"
|
||||
|
@ -895,7 +896,7 @@ en:
|
|||
revert: "Revert protocol"
|
||||
revert_title: "Revert the protocol to the repository version. This will discard any local changes."
|
||||
save_to_repository: "Save to protocol repository"
|
||||
save_a_copy_to_repository: "Save a copy to protocol repository"
|
||||
save_a_copy_to_repository: "Save a copy to repository"
|
||||
save_to_repository_title: "Copy this protocol to repository"
|
||||
update_self: "Update from repository"
|
||||
update_self_title: "Update this protocol with the version stored in the repository"
|
||||
|
|
Loading…
Add table
Reference in a new issue