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

12 lines
443 B
Text
Raw Normal View History

2016-07-21 19:11:15 +08:00
<div class="panel panel-default panel-protocol-status">
<div class="panel-body">
<% 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>
<%= javascript_include_tag("my_modules/protocols/protocol_status_bar") %>