Sha256: c23e8469e86f74de4d0eefc71f612df34fc2f72699b37567db11452117fea9a1

Contents?: true

Size: 1.15 KB

Versions: 4

Compression:

Stored size: 1.15 KB

Contents

<% if @re_history.nil? || @re_history["processes"].nil? || @re_history["processes"].empty? %>
	<h6 class="left-50 red"><em>Not Processed</em></h6>
<% else %>
	<% @re_history["processes"].each do |re_process| %>
		<div class="clear top-2"></div>
		<div class="left-10 right-5">
			<a class="re-code-small float-left re-xtra-history-show re-xtra-history-<%= re_history_status(re_process["process_status"]) %>" href="#<%= re_process["process_id"] %>">
				<%= re_process["plan_code"] %> <span class="blue">V.<%= re_process["plan_version"] %></span>
			</a>	
			<div class="smalltext float-right right-5">	
				<%= re_process["started_at"].nil? ? '' : Time.parse(re_process["started_at"]).strftime('%d %b %Y - %H:%M') %>
			</div>	
			<hr/>	
		</div>		
	<% end %>		
	<% if !@re_history["processes"].empty? && (@re_history["next_page"] || @re_history["previous_page"]) %>
		<a class="re-xtra-history-next-<%= @re_history["next_page"] ? 'enabled' : 'disabled' %>" href='#<%= @re_history["next_page"] || '1' %>'></a>
		<a class="re-xtra-history-prev-<%= @re_history["previous_page"] ? 'enabled' : 'disabled' %>" href='#<%= @re_history["previous_page"] || '1' %>'></a>
	<% end %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rules_engine-0.3.2 app/views/re_history/_index_update.html.erb
rules_engine-0.3.1 app/views/re_history/_index_update.html.erb
rules_engine-0.3.0 app/views/re_history/_index_update.html.erb
rules_engine-0.2.0 rails_generators/templates/app/views/re_history/_index_update.html.erb