From fb9813874c811ae06604c30d875e9dce57df9874 Mon Sep 17 00:00:00 2001 From: SHaselbauer <sarah.haselbauer@akquinet.de> Date: Mon, 21 Jan 2013 16:28:11 -0500 Subject: [PATCH] Merge multiple owners feature (pull request #63, #66) --- src/com/gitblit/wicket/panels/RepositoriesPanel.html | 25 ++++++++++++++++++------- 1 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/com/gitblit/wicket/panels/RepositoriesPanel.html b/src/com/gitblit/wicket/panels/RepositoriesPanel.html index 99bedc6..98ff430 100644 --- a/src/com/gitblit/wicket/panels/RepositoriesPanel.html +++ b/src/com/gitblit/wicket/panels/RepositoriesPanel.html @@ -7,7 +7,7 @@ <body> <wicket:panel> - <div wicket:id="adminPanel">[admin links]</div> + <div wicket:id="managementPanel">[management links]</div> <table class="repositories"> <span wicket:id="headerContent"></span> @@ -32,6 +32,16 @@ </div> </wicket:fragment> + <wicket:fragment wicket:id="personalLinks"> + <!-- page nav links --> + <div class="admin_nav"> + <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> + </wicket:fragment> + <wicket:fragment wicket:id="repositoryAdminLinks"> <span class="link"><a wicket:id="editRepository"><wicket:message key="gb.edit">[edit]</wicket:message></a> | <a wicket:id="deleteRepository"><wicket:message key="gb.delete">[delete]</wicket:message></a></span> </wicket:fragment> @@ -47,7 +57,7 @@ <wicket:message key="gb.repository">Repository</wicket:message> </th> <th class="hidden-phone" wicket:id="orderByDescription"><wicket:message key="gb.description">Description</wicket:message></th> - <th class="hidden-tablet hidden-phone" wicket:id="orderByOwner"><wicket:message key="gb.owner">Owner</wicket:message></th> + <th class="hidden-tablet hidden-phone" wicket:id="orderByOwner"><wicket:message key="gb.repoAdministrators">Owner</wicket:message></th> <th class="hidden-phone"></th> <th wicket:id="orderByDate"><wicket:message key="gb.lastChange">Last Change</wicket:message></th> <th class="hidden-phone"></th> @@ -62,7 +72,7 @@ <wicket:message key="gb.repository">Repository</wicket:message> </th> <th class="hidden-phone" ><span><wicket:message key="gb.description">Description</wicket:message></span></th> - <th class="hidden-tablet hidden-phone"><span><wicket:message key="gb.owner">Owner</wicket:message></span></th> + <th class="hidden-tablet hidden-phone"><span><wicket:message key="gb.repoAdministrators">Owner</wicket:message></span></th> <th class="hidden-phone"></th> <th><wicket:message key="gb.lastChange">Last Change</wicket:message></th> <th class="hidden-phone"></th> @@ -71,20 +81,21 @@ </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" style="padding: 2px;"><span class="hidden-phone" style="font-weight:normal;color:#666;" wicket:id="groupDescription">[description]</span></td> </wicket:fragment> <wicket:fragment wicket:id="repositoryRow"> <td class="left" style="padding-left:3px;" ><b><span class="repositorySwatch" wicket:id="repositorySwatch"></span></b> <span style="padding-left:3px;" wicket:id="repositoryName">[repository name]</span></td> <td class="hidden-phone"><span class="list" wicket:id="repositoryDescription">[repository description]</span></td> - <td class="hidden-tablet hidden-phone author"><span wicket:id="repositoryOwner">[repository owner]</span></td> - <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 class="hidden-tablet hidden-phone author"><span wicket:id="repositoryAdministrators">[repository owner]</span></td> + <td class="hidden-phone" style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="forkIcon" /><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="rightAlign"> <span class="hidden-phone"> <span wicket:id="repositoryLinks"></span> - <a style="text-decoration: none;" wicket:id="syndication"> + <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> -- Gitblit v1.9.1