Sha256: 338a06326d3bbfbb07f9c16fc3cb9e75484c96f35baf07db557f3744c392676f

Contents?: true

Size: 978 Bytes

Versions: 3

Compression:

Stored size: 978 Bytes

Contents

<?xml version="1.0"?>

<x:page xmlns:x="http://www.navel.gr/xml/shader.xsd">

	<x:cell id="main">
	
<?r
	if @entries 
		for entry in @entries 
?>
			<div class="entry">
				<h2 class="date">#{entry.create_time.strftime('%B %e, %G')}</h2>
				<div class="post">
					<h3 class="title">#{entry.title}</h3>
					#{entry.body}
					<div class="footer">
						posted by #{entry.author} at <a href="view_entry?oid=#{entry.oid}">#{entry.create_time.strftime('%R %p')}</a> | 
						<a href="view_entry?oid=#{entry.oid}#comments">#{entry.comments_count} comments</a>.
<?r	if session['owner'] ?>			
						[<a href="del_entry?oid=#{entry.oid}">del</a>]
<?r end ?>
					</div>
				</div>
			</div>
<?r
		end 
	else
?>  
		no entries
<?r end ?>

	<div class="pager">
		#{@pager.navigation}
		<div class="clear">.</div>
	</div>
	
<?r	if session['owner'] ?>
	<include href="entry_form" />
<?r end ?>
	
	</x:cell>
	
	<x:cell id="side">
		<include href="recent_posts" />
	</x:cell>
	
</x:page>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nitro-0.6.0 examples/blog/root/index.xhtml
nitro-0.7.0 examples/blog/root/index.xhtml
nitro-0.8.0 examples/blog/root/index.xhtml