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

13 lines
444 B
Text
Raw Normal View History

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