| | |
| | | }
|
| | | }
|
| | |
|
| | | // show sparkleshare folder icon
|
| | | if (model.isSparkleshared()) {
|
| | | add(WicketUtils.newImage("repositoryIcon", "folder_star_32x32.png",
|
| | | getString("gb.isSparkleshared")));
|
| | | } else {
|
| | | add(WicketUtils.newClearPixel("repositoryIcon").setVisible(false));
|
| | | }
|
| | | |
| | | if (getRepositoryModel().isBare) {
|
| | | add(new Label("workingCopyIndicator").setVisible(false));
|
| | | } else {
|
| | |
| | | }
|
| | |
|
| | | protected void addFullText(String wicketId, String text, boolean substituteRegex) {
|
| | | String html = StringUtils.escapeForHtml(text, true);
|
| | | String html = StringUtils.escapeForHtml(text, false);
|
| | | if (substituteRegex) {
|
| | | html = GitBlit.self().processCommitMessage(repositoryName, text);
|
| | | html = GitBlit.self().processCommitMessage(repositoryName, html);
|
| | | } else {
|
| | | html = StringUtils.breakLinesForHtml(html);
|
| | | }
|