Skip to content

Commit

Permalink
Merge pull request jgm#556 from vtdmhd/master
Browse files Browse the repository at this point in the history
Cosmetic fixes for better user experience
  • Loading branch information
jgm authored Jun 24, 2016
2 parents 19caee1 + ae1f7a6 commit fe50da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/templates/content.st
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div id="content">
$if(revision)$
<h2 class="revision">Revision $revision$</h2>
<h2 class="revision">Revision $revision$ (click the page title to view the current version)</h2>
$endif$
<h1 class="pageTitle"><a href="$base$$pageUrl$">$pagetitle$</a></h1>
$if(messages)$
Expand Down
2 changes: 1 addition & 1 deletion src/Network/Gitit/Handlers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ editPage' params = do
, br
, label ! [thefor "logMsg"] << "Description of changes:"
, br
, textfield "logMsg" ! (readonly ++ [value logMsg])
, textfield "logMsg" ! (readonly ++ [value (logMsg `orIfNull` defaultSummary cfg) ])
, submit "update" "Save"
, primHtmlChar "nbsp"
, submit "cancel" "Discard"
Expand Down

0 comments on commit fe50da5

Please sign in to comment.