From d3dfcda35c2232ff2e377778a3d23640e7f6a093 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 14 Sep 2012 14:22:36 -0400 Subject: [PATCH] Fixed null pointer in commit page due to changes in submodule link (issue 132) --- src/com/gitblit/wicket/panels/RepositoriesPanel.html | 27 +++++++++++++++++---------- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/src/com/gitblit/wicket/panels/RepositoriesPanel.html b/src/com/gitblit/wicket/panels/RepositoriesPanel.html index 7e1f187..5da43e0 100644 --- a/src/com/gitblit/wicket/panels/RepositoriesPanel.html +++ b/src/com/gitblit/wicket/panels/RepositoriesPanel.html @@ -21,8 +21,12 @@ <wicket:fragment wicket:id="adminLinks"> <!-- page nav links --> <div class="admin_nav"> - <img style="vertical-align: middle;" src="add_16x16.png"/> - <a wicket:id="newRepository"> + <a class="btn-small" wicket:id="clearCache"> + <i class="icon icon-remove"></i> + <wicket:message key="gb.clearCache"></wicket:message> + </a> + <a class="btn-small" wicket:id="newRepository" style="padding-right:0px;"> + <i class="icon icon-plus-sign"></i> <wicket:message key="gb.newRepository"></wicket:message> </a> </div> @@ -47,7 +51,7 @@ <th class="hidden-phone"></th> <th wicket:id="orderByDate"><wicket:message key="gb.lastChange">Last Change</wicket:message></th> <th class="hidden-phone"></th> - <th class="hidden-phone right"></th> + <th class="right"></th> </tr> </wicket:fragment> @@ -62,12 +66,13 @@ <th class="hidden-phone"></th> <th><wicket:message key="gb.lastChange">Last Change</wicket:message></th> <th class="hidden-phone"></th> - <th class="hidden-phone right"></th> + <th class="right"></th> </tr> </wicket:fragment> <wicket:fragment wicket:id="groupRepositoryRow"> - <td colspan="7"><span wicket:id="groupName">[group name]</span></td> + <td colspan="1"><span wicket:id="groupName">[group name]</span></td> + <td colspan="6"><span class="hidden-phone" style="font-weight:normal;color:#666;" wicket:id="groupDescription">[description]</span></td> </wicket:fragment> <wicket:fragment wicket:id="repositoryRow"> @@ -77,11 +82,13 @@ <td class="hidden-phone" style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="ticketsIcon" /><img class="inlineIcon" wicket:id="docsIcon" /><img class="inlineIcon" wicket:id="frozenIcon" /><img class="inlineIcon" wicket:id="federatedIcon" /><img class="inlineIcon" wicket:id="accessRestrictionIcon" /></td> <td><span wicket:id="repositoryLastChange">[last change]</span></td> <td class="hidden-phone" style="text-align: right;padding-right:15px;"><span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span></td> - <td class="hidden-phone rightAlign"> - <span wicket:id="repositoryLinks"></span> - <a style="text-decoration: none;" wicket:id="syndication"> - <img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img> - </a> + <td class="rightAlign"> + <span class="hidden-phone"> + <span wicket:id="repositoryLinks"></span> + <a style="text-decoration: none;" wicket:id="syndication" wicket:message="title:gb.feed"> + <img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img> + </a> + </span> </td> </wicket:fragment> -- Gitblit v1.9.1