app/views/wiki/bliki.rhtml in Pimki-1.6.092 vs app/views/wiki/bliki.rhtml in Pimki-1.7.092

- old
+ new

@@ -11,15 +11,13 @@ <% elsif not @req.query['regexp'].nil? %> <p>You are filtering entries containing: <em><%= @req.query['regexp'] %></em> <br /><a href="../bliki/" class="navlink" accesskey="R">Remove Filter</a> <% end %> -<p><a href="../bliki_new/" class="navlink" accesskey="E">New Entry</a></p> - <% if @entries.length > 0 %> - <table width="100%"> <% (@entries.length > 3 ? 3 : @entries.length).times do |idx| %> + <table width="100%" class='content-box' ondblclick="location.href='../bliki_edit/<%= @entries[idx].name %>'"> <tr> <td width="70%"><h3 style="color:<%= @color %>"><%= @entries[idx].plain_name %></h3></td> </tr> <tr> <th align="left" style="font-size:10;color:<%= @color %>"><%= @entries[idx].revisions.first.created_at.strftime("%B %d, %Y") %> @@ -48,15 +46,19 @@ <% end %> </div> </td> <th align="right"><small><%= @entries[idx].author_link %></small></th> </tr> - <tr><td colspan="2"><hr></td></tr> - <% end %> + <tr> + <td colspan="2"><hr /></td> + </tr> </table> + <% end %> <% else %> <p><strong>No entries found.</strong></p> <% end %> + +<p><a href="../bliki_new/" class="navlink" accesskey="E">Create New Entry</a></p> <h2>All Entries:</h2> <ul> <% @entries.each do |page| %> <li><a href="../bliki_revision/<%= page.name %>?rev=<%= page.revisions.length - 1 %>" class="navlink" accesskey="R"><%= page.plain_name %></a>