scinote-web/app/views/my_modules/protocols/_protocol_status_bar.html.erb

15 lines
605 B
Text
Raw Normal View History

2018-09-14 19:07:09 +08:00
<div class="panel panel-default panel-protocol-status help_tooltips"
data-tooltiplink="<%= I18n.t('tooltips.link.protocol.linking') %>"
data-tooltipcontent="<%= I18n.t('tooltips.text.protocol.linking') %>">
2017-01-10 21:13:37 +08:00
<div class="panel-body">
2016-07-21 19:11:15 +08:00
<% if @protocol.linked? %>
<%= protocol_status_href(@protocol) %>
<% else %>
<%= t("my_modules.protocols.protocol_status_bar.unlinked") %>
<% end %>
&nbsp;
<%= render partial: "my_modules/protocols/protocol_status_bar_buttons.html.erb" %>
</div>
</div>
2016-08-12 22:31:40 +08:00
<%= javascript_include_tag("my_modules/protocols/protocol_status_bar") %>