<resource file="${basedir}/resources/search-icon.png" />\r
<resource file="${basedir}/resources/commit_changes_16x16.png" />\r
<resource file="${basedir}/resources/commit_merge_16x16.png" />\r
+ <resource file="${basedir}/resources/commit_divide_16x16.png" />\r
<resource file="${basedir}/resources/blank.png" />\r
<resource file="${basedir}/src/com/gitblit/wicket/GitBlitWebApp.properties" />\r
<resource file="${basedir}/src/com/gitblit/wicket/GitBlitWebApp_ja.properties" />\r
private final ImageIcon frozenIcon;\r
\r
private final ImageIcon federatedIcon;\r
+ \r
+ private final ImageIcon forkIcon;\r
\r
public IndicatorsRenderer() {\r
super(new FlowLayout(FlowLayout.RIGHT, 1, 0));\r
doxIcon = new ImageIcon(getClass().getResource("/book_16x16.png"));\r
frozenIcon = new ImageIcon(getClass().getResource("/cold_16x16.png"));\r
federatedIcon = new ImageIcon(getClass().getResource("/federated_16x16.png"));\r
+ forkIcon = new ImageIcon(getClass().getResource("/commit_divide_16x16.png"));\r
}\r
\r
@Override\r
if (value instanceof RepositoryModel) {\r
StringBuilder tooltip = new StringBuilder();\r
RepositoryModel model = (RepositoryModel) value;\r
+ if (model.isFork()) {\r
+ JLabel icon = new JLabel(forkIcon);\r
+ tooltip.append(Translation.get("gb.isFork")).append("<br/>");\r
+ add(icon);\r
+ }\r
if (model.useTickets) {\r
JLabel icon = new JLabel(tixIcon);\r
tooltip.append(Translation.get("gb.tickets")).append("<br/>");\r