Sha256: 2c6b85527288dcd11e8ef23d47dfec9d5b508d26a7690fa02796a3b719b97cff

Contents?: true

Size: 891 Bytes

Versions: 4

Compression:

Stored size: 891 Bytes

Contents

<% plan_status = @re_plan.plan_status %>

<%# if plan_status == RePlan::PLAN_STATUS_DRAFT || plan_status == RePlan::PLAN_STATUS_CHANGED %>
  <h4>
		<% if @re_plan.plan_error %>
    	<%= link_to("Publish Plan", "##{@re_plan.id}", :id => "re_plan_publish_with_errors", :class => "re-menu-plan-publish") %>
		<% else %>
    	<%= link_to("Publish Plan", "##{@re_plan.id}", :id => "re_plan_publish", :class => "re-menu-plan-publish") %>
		<% end %>
  </h4>    
	<div class="clear top-5"></div>
<%# end %>  

<% if plan_status == RePlan::PLAN_STATUS_CHANGED %>
  <h4>
    <%= link_to("Discard Changes", "##{@re_plan.id}", :id => "re_plan_revert", :class => "re-menu-plan-revert") %>
  </h4>    
	<div class="clear top-5"></div>
<% end %>  

<h4>
  <%= link_to("Delete Plan", "##{@re_plan.id}", :id => "re_plan_delete", :class => "re-menu-plan-delete") %>
</h4>    
<div class="clear top-5"></div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine-0.3.3 app/views/re_plans/_menu.html.erb
rules_engine-0.3.2 app/views/re_plans/_menu.html.erb
rules_engine-0.3.1 app/views/re_plans/_menu.html.erb
rules_engine-0.3.0 app/views/re_plans/_menu.html.erb