From f76fee63ed9cb3a30d3c0c092d860b1cb93a481b Mon Sep 17 00:00:00 2001 From: Gerard Smyth <gerard.smyth@gmail.com> Date: Thu, 08 May 2014 13:09:30 -0400 Subject: [PATCH] Updated the SyndicationServlet to provide an additional option to return details of the tags in the repository instead of the commits. This uses a new 'ot' request parameter to indicate the object type of the content to return, which can be ither TAG or COMMIT. If this is not provided, then COMMIT is assumed to maintain backwards compatability. If tags are returned, then the paging parameters, 'l' and 'pg' are still supported, but searching options are currently ignored. --- src/main/java/com/gitblit/wicket/pages/TagPage.html | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/pages/TagPage.html b/src/main/java/com/gitblit/wicket/pages/TagPage.html index 19f828e..492ece3 100644 --- a/src/main/java/com/gitblit/wicket/pages/TagPage.html +++ b/src/main/java/com/gitblit/wicket/pages/TagPage.html @@ -7,23 +7,22 @@ <body> <wicket:extend> - <!-- summary header --> - <div style="margin-top: 5px;" class="header" wicket:id="commit">[shortlog header]</div> - <!-- Tagger Gravatar --> <span style="float:right;vertical-align: top;" wicket:id="taggerAvatar" /> + <div style="padding-bottom:10px;"> <!-- commit info --> - <table class="plain"> + <table class="summary"> <tr><th><wicket:message key="gb.name">[name]</wicket:message></th><td><span wicket:id="tagName">[tag name]</span></td></tr> <tr><th><wicket:message key="gb.tag">[tag]</wicket:message></th><td><span class="sha1" wicket:id="tagId">[tag id]</span></td></tr> <tr><th><wicket:message key="gb.object">[object]</wicket:message></th><td><span class="sha1" wicket:id="taggedObject">[tagged object]</span> <span class="link" wicket:id="taggedObjectType"></span></td></tr> <tr><th><wicket:message key="gb.tagger">[tagger]</wicket:message></th><td><span class="sha1" wicket:id="tagger">[tagger]</span></td></tr> <tr><th></th><td><span class="sha1" wicket:id="tagDate">[tag date]</span></td></tr> </table> + </div> <!-- full message --> - <div style="border-bottom:0px;" class="commit_message" wicket:id="fullMessage">[tag full message]</div> + <div class="topborder" wicket:id="fullMessage">[commit message]</div> <wicket:fragment wicket:id="fullPersonIdent"> <span wicket:id="personName"></span><span wicket:id="personAddress"></span> -- Gitblit v1.9.1