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/SummaryPage.html | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gitblit/wicket/pages/SummaryPage.html b/src/main/java/com/gitblit/wicket/pages/SummaryPage.html index 7d429f8..2d1b6a5 100644 --- a/src/main/java/com/gitblit/wicket/pages/SummaryPage.html +++ b/src/main/java/com/gitblit/wicket/pages/SummaryPage.html @@ -9,7 +9,7 @@ <div style="clear:both;"> <!-- Repository Activity Chart --> <div class="hidden-phone" style="float:right;"> - <img class="activityGraph" wicket:id="commitsChart" /> + <div style="width:290px; height:120px;" id="commitsChart"></div> </div> <!-- Repository info --> @@ -20,7 +20,7 @@ <tr><th><wicket:message key="gb.lastChange">[last change]</wicket:message></th><td><span wicket:id="repositoryLastChange">[repository last change]</span></td></tr> <tr><th><wicket:message key="gb.size">[size]</wicket:message></th><td><span wicket:id="repositorySize">[repository size]</span></td></tr> <tr><th><wicket:message key="gb.stats">[stats]</wicket:message></th><td><span wicket:id="branchStats">[branch stats]</span> <span class="link"><a wicket:id="metrics"><wicket:message key="gb.metrics">[metrics]</wicket:message></a></span></td></tr> - <tr><th style="vertical-align:top;padding-top:4px;"><wicket:message key="gb.repositoryUrl">[URL]</wicket:message></th> + <tr class="hidden-tablet"><th style="vertical-align:top;padding-top:4px;"><wicket:message key="gb.repositoryUrl">[URL]</wicket:message></th> <td><div wicket:id="repositoryUrlPanel">[repository url panel]</div></td> </tr> </table> @@ -48,7 +48,16 @@ <div wicket:id="readmeContent" class="markdown"></div> </div> </wicket:fragment> - + + <wicket:fragment wicket:id="plaintextPanel"> + <div class="header" style="margin-top:0px;" > + <i style="vertical-align: middle;" class="icon-book"></i> + <span style="font-weight:bold;vertical-align:middle;" wicket:id="readmeFile"></span> + </div> + <div style="border:1px solid #ddd;border-radius: 0 0 3px 3px;padding: 15px 20px;"> + <div wicket:id="readmeContent"></div> + </div> + </wicket:fragment> <wicket:fragment wicket:id="ownersFragment"> </wicket:fragment> -- Gitblit v1.9.1