From 4fc3e796b34d25899d60153f2975ead68588a105 Mon Sep 17 00:00:00 2001 From: James Moger Date: Tue, 27 Dec 2011 17:34:52 -0500 Subject: [PATCH] Added some descriptive subheadings to edit pages --- resources/bootstrap.gb.css | 4 ++++ src/com/gitblit/wicket/GitBlitWebApp.properties | 8 +++++++- src/com/gitblit/wicket/pages/EditRepositoryPage.html | 8 ++++---- src/com/gitblit/wicket/pages/EditTeamPage.html | 4 ++-- src/com/gitblit/wicket/pages/EditUserPage.html | 4 ++-- src/com/gitblit/wicket/pages/RootPage.java | 4 ++-- 6 files changed, 21 insertions(+), 11 deletions(-) diff --git a/resources/bootstrap.gb.css b/resources/bootstrap.gb.css index 8054a1f8..44f2c19b 100644 --- a/resources/bootstrap.gb.css +++ b/resources/bootstrap.gb.css @@ -142,6 +142,10 @@ pre.prettyprint ol { padding-left:25px; } +h1 small, h2 small, h3 small, h4 small, h5 small, h6 small { + color: #888; +} + .age0, .age1, .age2 { font-size: 12px; } diff --git a/src/com/gitblit/wicket/GitBlitWebApp.properties b/src/com/gitblit/wicket/GitBlitWebApp.properties index a4bb48f5..6a5dd348 100644 --- a/src/com/gitblit/wicket/GitBlitWebApp.properties +++ b/src/com/gitblit/wicket/GitBlitWebApp.properties @@ -201,4 +201,10 @@ gb.preReceiveScripts = pre-receive scripts gb.postReceiveScripts = post-receive scripts gb.hookScripts = hook scripts gb.accessPermissions = access permissions -gb.filters = filters \ No newline at end of file +gb.filters = filters +gb.generalDescription = common settings +gb.accessPermissionsDescription = restrict access by users and teams +gb.accessPermissionsForUserDescription = set team memberships or grant access to specific restricted repositories +gb.accessPermissionsForTeamDescription = set team members and grant access to specific restricted repositories +gb.federationRepositoryDescription = share this repository with other Gitblit servers +gb.hookScriptsDescription = run custom scripts on pushes to this Gitblit server \ No newline at end of file diff --git a/src/com/gitblit/wicket/pages/EditRepositoryPage.html b/src/com/gitblit/wicket/pages/EditRepositoryPage.html index a0e9b80c..4e385edd 100644 --- a/src/com/gitblit/wicket/pages/EditRepositoryPage.html +++ b/src/com/gitblit/wicket/pages/EditRepositoryPage.html @@ -10,7 +10,7 @@
- + @@ -23,14 +23,14 @@ - + - + - + diff --git a/src/com/gitblit/wicket/pages/EditTeamPage.html b/src/com/gitblit/wicket/pages/EditTeamPage.html index 6c68aa25..36dd26a7 100644 --- a/src/com/gitblit/wicket/pages/EditTeamPage.html +++ b/src/com/gitblit/wicket/pages/EditTeamPage.html @@ -10,10 +10,10 @@

 

 
 
 

 

 

 

 
- + - + diff --git a/src/com/gitblit/wicket/pages/EditUserPage.html b/src/com/gitblit/wicket/pages/EditUserPage.html index 87263c24..548d6872 100644 --- a/src/com/gitblit/wicket/pages/EditUserPage.html +++ b/src/com/gitblit/wicket/pages/EditUserPage.html @@ -10,13 +10,13 @@

 

 


- + - + diff --git a/src/com/gitblit/wicket/pages/RootPage.java b/src/com/gitblit/wicket/pages/RootPage.java index 7983f0e5..ebb4d65b 100644 --- a/src/com/gitblit/wicket/pages/RootPage.java +++ b/src/com/gitblit/wicket/pages/RootPage.java @@ -245,8 +245,8 @@ public abstract class RootPage extends BasePage { if (filters.size() > 0) { // add All Repositories - filters.add(new DropDownMenuItem(MessageFormat.format("All Repositories ({0})", - repositories.size()), null, null)); + filters.add(new DropDownMenuItem(MessageFormat.format("{0} ({1})", + getString("gb.tokenJurDescription"), repositories.size()), null, null)); } return new ArrayList(filters); -- 2.39.5