]> source.dussan.org Git - gitblit.git/commitdiff
Remove docs indicator
authorJames Moger <james.moger@gitblit.com>
Wed, 13 Nov 2013 22:47:25 +0000 (17:47 -0500)
committerJames Moger <james.moger@gitblit.com>
Wed, 13 Nov 2013 22:47:25 +0000 (17:47 -0500)
Change-Id: I422696130695cb18d4c1518b0d53265d7247f966

releases.moxie
src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.html
src/main/java/com/gitblit/wicket/panels/ProjectRepositoryPanel.java
src/main/java/com/gitblit/wicket/panels/RepositoriesPanel.html
src/main/java/com/gitblit/wicket/panels/RepositoriesPanel.java

index 658b82a6d287c6289a5f16ef5f1eaa87805c2605..1832284f98b4ca201824324837e4b34f0ada9d83 100644 (file)
@@ -27,6 +27,7 @@ r20: {
        - Support plain text "readme" files
        - Determine best commit id (e.g. "master") for the tree and docs pages and use that in links
        - By default GO will now bind to all interfaces for both http and https connectors.  This simplifies setup for first-time users.
+       - Removed docs indicator on the repositories page
     additions:
        - Added branch graph image servlet based on EGit's branch graph renderer (issue-194)
        - Added option to render Markdown commit messages (issue-203)
index 8eadebc55ea8507ba5214b5c796276841736de68..54c1e92b669d2c7d72db7a584057b577eb42f08a 100644 (file)
@@ -42,9 +42,6 @@
                                        <img class="inlineIcon" wicket:id="frozenIcon" />\r
                                        <img class="inlineIcon" wicket:id="federatedIcon" />\r
                                                        \r
-                                       <a style="text-decoration: none;" wicket:id="docs" wicket:message="title:gb.docs">\r
-                                               <img style="border:0px;vertical-align:middle;" src="book_16x16.png"></img>\r
-                                       </a>\r
                                        <a style="text-decoration: none;" wicket:id="syndication" wicket:message="title:gb.feed">\r
                                                <img style="border:0px;vertical-align:middle;" src="feed_16x16.png"></img>\r
                                        </a>\r
index 398b6aac75abbb7f50379b08855082cc24c797c6..f6c80bd4851fba0bd966dd37cdb7414bc6b03daa 100644 (file)
@@ -37,7 +37,6 @@ import com.gitblit.utils.ArrayUtils;
 import com.gitblit.utils.StringUtils;\r
 import com.gitblit.wicket.GitBlitWebSession;\r
 import com.gitblit.wicket.WicketUtils;\r
-import com.gitblit.wicket.pages.DocsPage;\r
 import com.gitblit.wicket.pages.EditRepositoryPage;\r
 import com.gitblit.wicket.pages.LogPage;\r
 import com.gitblit.wicket.pages.SummaryPage;\r
@@ -88,8 +87,6 @@ public class ProjectRepositoryPanel extends BasePanel {
                        add(WicketUtils.newClearPixel("sparkleshareIcon").setVisible(false));\r
                }\r
 \r
-               add(new BookmarkablePageLink<Void>("docs", DocsPage.class, pp).setVisible(entry.useDocs));\r
-\r
                if (entry.isFrozen) {\r
                        add(WicketUtils.newImage("frozenIcon", "cold_16x16.png", localizer.getString("gb.isFrozen", parent)));\r
                } else {\r
index f078650501d36ccd69cc867e5420246b24f204e6..e080103b7aa3895c51aac46541bd0ec329540140 100644 (file)
@@ -89,7 +89,7 @@
         <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>\r
         <td class="hidden-phone"><span class="list" wicket:id="repositoryDescription">[repository description]</span></td>\r
         <td class="hidden-tablet hidden-phone author"><span wicket:id="repositoryOwner">[repository owner]</span></td>\r
-        <td class="hidden-phone" style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="sparkleshareIcon" /><img class="inlineIcon" wicket:id="forkIcon" /><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>\r
+        <td class="hidden-phone" style="text-align: right;padding-right:10px;"><img class="inlineIcon" wicket:id="sparkleshareIcon" /><img class="inlineIcon" wicket:id="forkIcon" /><img class="inlineIcon" wicket:id="frozenIcon" /><img class="inlineIcon" wicket:id="federatedIcon" /><img class="inlineIcon" wicket:id="accessRestrictionIcon" /></td>\r
         <td><span wicket:id="repositoryLastChange">[last change]</span></td>\r
         <td class="hidden-phone" style="text-align: right;padding-right:15px;"><span style="font-size:0.8em;" wicket:id="repositorySize">[repository size]</span></td>\r
         <td class="rightAlign">\r
index f9597b5ad12f6a3cf6cd4149b3f97fda889494d7..cb271504ed80c58906b379fab481132ba3a7d76f 100644 (file)
@@ -250,13 +250,6 @@ public class RepositoriesPanel extends BasePanel {
                                        row.add(WicketUtils.newClearPixel("forkIcon").setVisible(false));\r
                                }\r
 \r
-                               if (entry.useDocs) {\r
-                                       row.add(WicketUtils\r
-                                                       .newImage("docsIcon", "book_16x16.png", getString("gb.docs")));\r
-                               } else {\r
-                                       row.add(WicketUtils.newBlankImage("docsIcon"));\r
-                               }\r
-\r
                                if (entry.isFrozen) {\r
                                        row.add(WicketUtils.newImage("frozenIcon", "cold_16x16.png",\r
                                                        getString("gb.isFrozen")));\r