From cebf455f3fd54b72e530942f308097ec54b408cd Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 07 Apr 2011 09:46:30 -0400 Subject: [PATCH] Let Wicket manage resources and use markup inheritance. --- src/com/gitblit/wicket/pages/TagPage.html | 18 ++++++++---------- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/com/gitblit/wicket/pages/TagPage.html b/src/com/gitblit/wicket/pages/TagPage.html index f86becf..41a604d 100644 --- a/src/com/gitblit/wicket/pages/TagPage.html +++ b/src/com/gitblit/wicket/pages/TagPage.html @@ -1,26 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> <html xmlns="http://www.w3.org/1999/xhtml" > <body> - <!-- page header --> - <div wicket:id="pageHeader"></div> +<wicket:extend> <!-- page nav links --> - <div wicket:id="pageLinks"></div> + <div wicket:id="pageLinks">[page links]</div> <!-- summary header --> - <div style="padding-top: 5px;" class="header" wicket:id="commit"></div> + <div style="padding-top: 5px;" class="header" wicket:id="commit">[shortlog header]</div> <!-- commit info --> <table class="plain"> - <tr><th>object</th><td><span wicket:id="tagId">Message goes here</span></td></tr> - <tr><th>author</th><td><span wicket:id="tagAuthor">Message goes here</span></td></tr> - <tr><th></th><td><span wicket:id="tagDate">Message goes here</span></td></tr> + <tr><th>object</th><td><span wicket:id="tagId">[tag id]</span></td></tr> + <tr><th>author</th><td><span wicket:id="tagAuthor">[tag author]</span></td></tr> + <tr><th></th><td><span wicket:id="tagDate">[tag date]</span></td></tr> </table> <!-- full message --> - <div style="border-bottom:0px;" class="commit_message" wicket:id="fullMessage"></div> + <div style="border-bottom:0px;" class="commit_message" wicket:id="fullMessage">[tag full message]</div> - <!-- footer --> - <div wicket:id="pageFooter"></div> +</wicket:extend> </body> </html> \ No newline at end of file -- Gitblit v1.9.1