app/views/wiki/bliki.rhtml in Pimki-1.7.092 vs app/views/wiki/bliki.rhtml in Pimki-1.8.092
- old
+ new
@@ -13,27 +13,28 @@
<br /><a href="../bliki/" class="navlink" accesskey="R">Remove Filter</a>
<% end %>
<% if @entries.length > 0 %>
<% (@entries.length > 3 ? 3 : @entries.length).times do |idx| %>
- <table width="100%" class='content-box' ondblclick="location.href='../bliki_edit/<%= @entries[idx].name %>'">
+ <table width="100%" class='content-box' <%= "ondblclick=\"location.href='../bliki_edit/#{@entries[idx].name}'\"" if web.enable_dclick_edit %>>
<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") %>
+ <th align="left" style="font-size:10;color:<%= @color %>"><%= @entries[idx].revisions.first.created_at.strftime("%B %d, %Y %H:%M") %>
<% if @entries[idx].revisions.first != @entries[idx].revisions.last %>
- -- Last revised on: <%= @entries[idx].revisions.last.created_at.strftime("%B %d, %Y") %>
+ -- Last revised on: <%= @entries[idx].revisions.last.created_at.strftime("%B %d, %Y %H:%M") %>
<% end %>
</th>
</tr>
<tr>
<td colspan="2"><%= @entries[idx].display_content %></td>
</tr>
<tr><td>
<div class="navigation">
<a href="../bliki_edit/<%= @entries[idx].name %>" class="navlink" accesskey="E">Edit</a>
+ <!-- | <a href="../bliki_revision_all/<%= @entries[idx].name %>" class="navlink">All Revisions</a> -->
| <a href="../bliki_delete/<%= @entries[idx].name %>" class="navlink" onClick="return confirm('Are you sure you want delete this entry completely?')">Delete</a>
<% if @entries[idx].revisions.length > 1 %>
<small>
| <a href="../bliki_revision/<%= @entries[idx].name %>?rev=<%= @entries[idx].revisions.length - 1 %>" class="navlink" accesskey="R">Older Revisions</a>
(<%= @entries[idx].revisions.length - 1 %>)
@@ -55,13 +56,13 @@
<% end %>
<% else %>
<p><strong>No entries found.</strong></p>
<% end %>
-<p><a href="../bliki_new/" class="navlink" accesskey="E">Create New Entry</a></p>
+<h3><a href="../bliki_new/" class="navlink" accesskey="E">Create New Entry</a></h3>
-<h2>All Entries:</h2>
+<h3>All Entries:</h3>
<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>
<small>[<%= page.author_link %>, <%=page.revisions.first.created_at.strftime("%d-%b-%Y") %>, <%= page.revisions.length %> revision(s)]</small>
</li>
@@ -78,10 +79,10 @@
}
return true;
}
</script>
-<h2>Apply filter:</h2>
+<h3>Apply filter:</h3>
<form class="navigation" action="bliki" action="post" onSubmit="return validateSelection();">
<table><tr>
<td>Show only pages authored by:</td>
<td>
<select id="sel_author" name="authorname" size="1">