]> source.dussan.org Git - gitblit.git/commitdiff
Added some descriptive subheadings to edit pages
authorJames Moger <james.moger@gitblit.com>
Tue, 27 Dec 2011 22:34:52 +0000 (17:34 -0500)
committerJames Moger <james.moger@gitblit.com>
Tue, 27 Dec 2011 22:34:52 +0000 (17:34 -0500)
resources/bootstrap.gb.css
src/com/gitblit/wicket/GitBlitWebApp.properties
src/com/gitblit/wicket/pages/EditRepositoryPage.html
src/com/gitblit/wicket/pages/EditTeamPage.html
src/com/gitblit/wicket/pages/EditUserPage.html
src/com/gitblit/wicket/pages/RootPage.java

index 8054a1f865006f380dcd36d9744be2539a23b3f5..44f2c19b73fdc76bcad4b1c45d01659136848953 100644 (file)
@@ -142,6 +142,10 @@ pre.prettyprint ol {
        padding-left:25px;\r
 }\r
 \r
+h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {\r
+    color: #888;\r
+}\r
+\r
 .age0, .age1, .age2 {\r
        font-size: 12px;\r
 }\r
index a4bb48f5351057eac957807ffcd0f1c0cd754143..6a5dd348f6e043a4d51491f73229993a41b9f189 100644 (file)
@@ -201,4 +201,10 @@ gb.preReceiveScripts = pre-receive scripts
 gb.postReceiveScripts = post-receive scripts\r
 gb.hookScripts = hook scripts\r
 gb.accessPermissions = access permissions\r
-gb.filters = filters
\ No newline at end of file
+gb.filters = filters\r
+gb.generalDescription = common settings\r
+gb.accessPermissionsDescription = restrict access by users and teams\r
+gb.accessPermissionsForUserDescription = set team memberships or grant access to specific restricted repositories\r
+gb.accessPermissionsForTeamDescription = set team members and grant access to specific restricted repositories\r
+gb.federationRepositoryDescription = share this repository with other Gitblit servers\r
+gb.hookScriptsDescription = run custom scripts on pushes to this Gitblit server
\ No newline at end of file
index a0e9b80c2309d2796012e794effacf39bfa13d88..4e385edd2b83a962d8383ce195a3a56f8cdf8996 100644 (file)
@@ -10,7 +10,7 @@
        <form style="padding-top:5px;" wicket:id="editForm">\r
                <table class="plain">\r
                        <tbody class="settings">\r
-                               <tr><td colspan="2"><h3><wicket:message key="gb.general"></wicket:message></h3></td></tr>\r
+                               <tr><td colspan="2"><h3><wicket:message key="gb.general"></wicket:message> &nbsp;<small><wicket:message key="gb.generalDescription"></wicket:message></small></h3></td></tr>\r
                                <tr><th><wicket:message key="gb.name"></wicket:message></th><td class="edit"><input class="span6" type="text" wicket:id="name" id="name" size="40" tabindex="1" /> &nbsp;<span class="help-inline"><wicket:message key="gb.nameDescription"></wicket:message></span></td></tr>\r
                                <tr><th><wicket:message key="gb.description"></wicket:message></th><td class="edit"><input class="span6" type="text" wicket:id="description" size="40" tabindex="2" /></td></tr>\r
                                <tr><th><wicket:message key="gb.origin"></wicket:message></th><td class="edit"><input class="span7" type="text" wicket:id="origin" size="80" tabindex="3" /></td></tr>\r
                                <tr><th><wicket:message key="gb.skipSummaryMetrics"></wicket:message></th><td class="edit"><input type="checkbox" wicket:id="skipSummaryMetrics" tabindex="10" /> &nbsp;<span class="help-inline"><wicket:message key="gb.skipSummaryMetricsDescription"></wicket:message></span></td></tr>\r
                                <tr><th><wicket:message key="gb.isFrozen"></wicket:message></th><td class="edit"><input type="checkbox" wicket:id="isFrozen" tabindex="11" /> &nbsp;<span class="help-inline"><wicket:message key="gb.isFrozenDescription"></wicket:message></span></td></tr>\r
                                <tr><th><wicket:message key="gb.mailingLists"></wicket:message></th><td class="edit"><input class="span14" type="text" wicket:id="mailingLists" size="40" tabindex="12" /></td></tr>\r
-                               <tr><td colspan="2"><h3><wicket:message key="gb.accessPermissions"></wicket:message></h3></td></tr>     \r
+                               <tr><td colspan="2"><h3><wicket:message key="gb.accessPermissions"></wicket:message> &nbsp;<small><wicket:message key="gb.accessPermissionsDescription"></wicket:message></small></h3></td></tr>        \r
                                <tr><th><wicket:message key="gb.accessRestriction"></wicket:message></th><td class="edit"><select class="span6" wicket:id="accessRestriction" tabindex="13" /></td></tr>                                \r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.permittedUsers"></wicket:message></th><td style="padding:2px;"><span wicket:id="users"></span></td></tr>\r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.permittedTeams"></wicket:message></th><td style="padding:2px;"><span wicket:id="teams"></span></td></tr>\r
-                               <tr><td colspan="2"><h3><wicket:message key="gb.federation"></wicket:message></h3></td></tr>    \r
+                               <tr><td colspan="2"><h3><wicket:message key="gb.federation"></wicket:message> &nbsp;<small><wicket:message key="gb.federationRepositoryDescription"></wicket:message></small></h3></td></tr>    \r
                                <tr><th><wicket:message key="gb.federationStrategy"></wicket:message></th><td class="edit"><select class="span6" wicket:id="federationStrategy" tabindex="14" /></td></tr>\r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.federationSets"></wicket:message></th><td style="padding:2px;"><span wicket:id="federationSets"></span></td></tr>\r
-                               <tr><td colspan="2"><h3><wicket:message key="gb.hookScripts"></wicket:message></h3></td></tr>   \r
+                               <tr><td colspan="2"><h3><wicket:message key="gb.hookScripts"></wicket:message> &nbsp;<small><wicket:message key="gb.hookScriptsDescription"></wicket:message></small></h3></td></tr>    \r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.preReceiveScripts"></wicket:message><p></p><span wicket:id="inheritedPreReceive"></span></th><td style="padding:2px;"><span wicket:id="preReceiveScripts"></span></td></tr>\r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.postReceiveScripts"></wicket:message><p></p><span wicket:id="inheritedPostReceive"></span></th><td style="padding:2px;"><span wicket:id="postReceiveScripts"></span></td></tr>\r
                                <tr><td colspan='2'><div class="actions" "><input class="btn" type="submit" value="Cancel" wicket:message="value:gb.cancel" wicket:id="cancel" tabindex="15" /> &nbsp; <input class="btn primary" type="submit" value="Save" wicket:message="value:gb.save" wicket:id="save" tabindex="16" /></div></td></tr>\r
index 6c68aa25b961aa66de6518d0c899b1a5fba9c844..36dd26a785eba166039000be728177cc0c68387b 100644 (file)
        <form style="padding-top:5px;" wicket:id="editForm">\r
                <table class="plain">\r
                        <tbody class="settings">\r
-                               <tr><td colspan="2"><h3><wicket:message key="gb.general"></wicket:message></h3></td></tr>                       \r
+                               <tr><td colspan="2"><h3><wicket:message key="gb.general"></wicket:message> &nbsp;<small><wicket:message key="gb.generalDescription"></wicket:message></small></h3></td></tr>\r
                                <tr><th><wicket:message key="gb.teamName"></wicket:message></th><td class="edit"><input type="text" wicket:id="name" id="name" size="30" tabindex="1" /></td></tr>\r
                                <tr><th><wicket:message key="gb.mailingLists"></wicket:message></th><td class="edit"><input class="span14" type="text" wicket:id="mailingLists" size="40" tabindex="2" /></td></tr>\r
-                               <tr><td colspan="2" style="padding-top:10px;"><h3><wicket:message key="gb.accessPermissions"></wicket:message></h3></td></tr>                           \r
+                               <tr><td colspan="2" style="padding-top:10px;"><h3><wicket:message key="gb.accessPermissions"></wicket:message> &nbsp;<small><wicket:message key="gb.accessPermissionsForTeamDescription"></wicket:message></small></h3></td></tr>       \r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.teamMembers"></wicket:message></th><td style="padding:2px;"><span wicket:id="users"></span></td></tr>\r
                                <tr><td colspan="2"><hr></hr></td></tr>\r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.restrictedRepositories"></wicket:message></th><td style="padding:2px;"><span wicket:id="repositories"></span></td></tr>\r
index 87263c24b322fd369f7fe39bde374bcd49372dd6..548d6872c29d233e74a0ee36bd5736dac1e8ffa1 100644 (file)
        <form style="padding-top:5px;" wicket:id="editForm">\r
                <table class="plain">\r
                        <tbody class="settings">\r
-                               <tr><td colspan="2"><h3><wicket:message key="gb.general"></wicket:message></h3></td></tr>                       \r
+                               <tr><td colspan="2"><h3><wicket:message key="gb.general"></wicket:message> &nbsp;<small><wicket:message key="gb.generalDescription"></wicket:message></small></h3></td></tr>\r
                                <tr><th><wicket:message key="gb.username"></wicket:message></th><td class="edit"><input type="text" wicket:id="username" id="username" size="30" tabindex="1" /></td></tr>\r
                                <tr><th><wicket:message key="gb.password"></wicket:message></th><td class="edit"><input type="password" wicket:id="password" size="30" tabindex="2" /></td></tr>\r
                                <tr><th><wicket:message key="gb.confirmPassword"></wicket:message></th><td class="edit"><input type="password" wicket:id="confirmPassword" size="30" tabindex="3" /></td></tr>\r
                                <tr><th><wicket:message key="gb.canAdmin"></wicket:message></th><td class="edit"><input type="checkbox" wicket:id="canAdmin" tabindex="6" /> &nbsp;<span class="help-inline"><wicket:message key="gb.canAdminDescription"></wicket:message></span></td></tr>                            \r
                                <tr><th><wicket:message key="gb.excludeFromFederation"></wicket:message></th><td class="edit"><input type="checkbox" wicket:id="excludeFromFederation" tabindex="7" /> &nbsp;<span class="help-inline"><wicket:message key="gb.excludeFromFederationDescription"></wicket:message></span></td></tr>                             \r
-                               <tr><td colspan="2" style="padding-top:10px;"><h3><wicket:message key="gb.accessPermissions"></wicket:message></h3></td></tr>                           \r
+                               <tr><td colspan="2" style="padding-top:10px;"><h3><wicket:message key="gb.accessPermissions"></wicket:message> &nbsp;<small><wicket:message key="gb.accessPermissionsForUserDescription"></wicket:message></small></h3></td></tr>       \r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.teamMemberships"></wicket:message></th><td style="padding:2px;"><span wicket:id="teams"></span></td></tr>\r
                                <tr><td colspan="2"><hr></hr></td></tr>\r
                                <tr><th style="vertical-align: top;"><wicket:message key="gb.restrictedRepositories"></wicket:message></th><td style="padding:2px;"><span wicket:id="repositories"></span></td></tr>\r
index 7983f0e50283a8f546b3dfa95201e195eac1c3ad..ebb4d65b105f83aab21a5c8f2f306ee9b4cf5b15 100644 (file)
@@ -245,8 +245,8 @@ public abstract class RootPage extends BasePage {
 \r
                if (filters.size() > 0) {\r
                        // add All Repositories\r
-                       filters.add(new DropDownMenuItem(MessageFormat.format("All Repositories ({0})",\r
-                                       repositories.size()), null, null));\r
+                       filters.add(new DropDownMenuItem(MessageFormat.format("{0} ({1})",\r
+                                       getString("gb.tokenJurDescription"), repositories.size()), null, null));\r
                }\r
 \r
                return new ArrayList<DropDownMenuItem>(filters);\r