Sha256: 7c429475a68916355bc4714f4b5fa0688f21aa0d9bb80cd8e89163e074c2e035

Contents?: true

Size: 889 Bytes

Versions: 4

Compression:

Stored size: 889 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.2.0 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.10 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.9 rails_generators/templates/app/views/re_plans/_menu.html.erb
rules_engine-0.1.8 rails_generators/templates/app/views/re_plans/_menu.html.erb