Remove docs indicator
Change-Id: I422696130695cb18d4c1518b0d53265d7247f966
| | |
| | | - 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) |
| | |
| | | <img class="inlineIcon" wicket:id="frozenIcon" />
|
| | | <img class="inlineIcon" wicket:id="federatedIcon" />
|
| | |
|
| | | <a style="text-decoration: none;" wicket:id="docs" wicket:message="title:gb.docs">
|
| | | <img style="border:0px;vertical-align:middle;" src="book_16x16.png"></img>
|
| | | </a>
|
| | | <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>
|
| | |
| | | import com.gitblit.utils.StringUtils;
|
| | | import com.gitblit.wicket.GitBlitWebSession;
|
| | | import com.gitblit.wicket.WicketUtils;
|
| | | import com.gitblit.wicket.pages.DocsPage;
|
| | | import com.gitblit.wicket.pages.EditRepositoryPage;
|
| | | import com.gitblit.wicket.pages.LogPage;
|
| | | import com.gitblit.wicket.pages.SummaryPage;
|
| | |
| | | } else {
|
| | | add(WicketUtils.newClearPixel("sparkleshareIcon").setVisible(false));
|
| | | }
|
| | |
|
| | | add(new BookmarkablePageLink<Void>("docs", DocsPage.class, pp).setVisible(entry.useDocs));
|
| | |
|
| | | if (entry.isFrozen) {
|
| | | add(WicketUtils.newImage("frozenIcon", "cold_16x16.png", localizer.getString("gb.isFrozen", parent)));
|
| | |
| | | <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="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>
|
| | | <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>
|
| | | <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">
|
| | |
| | | row.add(WicketUtils.newClearPixel("forkIcon").setVisible(false));
|
| | | }
|
| | |
|
| | | if (entry.useDocs) {
|
| | | row.add(WicketUtils
|
| | | .newImage("docsIcon", "book_16x16.png", getString("gb.docs")));
|
| | | } else {
|
| | | row.add(WicketUtils.newBlankImage("docsIcon"));
|
| | | }
|
| | |
|
| | | if (entry.isFrozen) {
|
| | | row.add(WicketUtils.newImage("frozenIcon", "cold_16x16.png",
|
| | | getString("gb.isFrozen")));
|