Sha256: 5d6dd7e623c77bb3baeb8a52802971ef83b11ee021daade0178b61d00e6dc87b

Contents?: true

Size: 582 Bytes

Versions: 3

Compression:

Stored size: 582 Bytes

Contents

<div class="undochange">
	<% page.revisions.reverse_each do |revision| %>
		<p><%= revision.created_on %> by <a href='/<%= revision.author %>'><%= revision.author %></a> <a href='/rollback/<%= pagename %>?revision=<%= revision.number-1 %>' >(undo)</a>:</p>
		<p>	
		<% revision.changes.each do |change_group| %>
				<%	change_group.each do |change|
					case change[0]
					when "-" %>
						<del><%= change[1] %>. <%= change[2] %></del><br />
					<% 	when "+" %>
						<%= change[1] %>. <%= change[2] %><br />
					<%	end %>
				<%	end %>
		<% end %>			
		</p>		
	<% end %>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
Soks-0.0.3 templates/instiki/views/Page_revisions.rhtml
Soks-0.0.4 templates/instiki/views/Page_revisions.rhtml
Soks-0.0.5 templates/instiki/views/Page_revisions.rhtml