# HG changeset patch # User Ludovic Chabant # Date 1362031345 28800 # Node ID 0b504b1b6790677e1f01d3b582373715682af1b7 # Parent d5caf4030999d60564ca5113fd8c4e362098ac48 Show warning message if the page has not been committed yet. Display nice dates for commit history. diff -r d5caf4030999 -r 0b504b1b6790 static/tpl/history-page.html --- a/static/tpl/history-page.html Wed Feb 27 22:02:02 2013 -0800 +++ b/static/tpl/history-page.html Wed Feb 27 22:02:25 2013 -0800 @@ -1,12 +1,13 @@

{{meta.title}} History

+ {{#if history}}

Here's the revision log for {{meta.title}}.

- + @@ -16,8 +17,8 @@ {{#eachr history}} - - + +
Rev.Revision Date Author Comment
{{rev_id}}{{timestamp}}{{rev_name}}{{date_from_now timestamp}} {{author}} {{description}} @@ -30,5 +31,8 @@
+ {{else}} +

This page has not been committed to the repository yet. Edit it to do that now.

+ {{/if}}