scinote-web/app/views/my_modules/protocols/_protocol_status_bar.html.erb
2017-01-10 14:14:21 +01:00

12 lines
444 B
Text

<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") %>