diff options
author | James Moger <james.moger@gitblit.com> | 2014-09-30 08:16:56 -0600 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-09-30 08:16:56 -0600 |
commit | 1a912b06549ce0223ab5c6039c064db81af76e80 (patch) | |
tree | 643d1ebf3032254662e43634e6282d6db60684ef /src/main/java/com/gitblit/wicket | |
parent | 76e5a77af3fabb7b82f8b34700ddfd8a02cbd8f7 (diff) | |
parent | c7a2a25fe4479b1f410e258a5a98a0be88a7cc3f (diff) | |
download | gitblit-1a912b06549ce0223ab5c6039c064db81af76e80.tar.gz gitblit-1a912b06549ce0223ab5c6039c064db81af76e80.zip |
Merged #197 "Fix cropped ticket status indicator"
Diffstat (limited to 'src/main/java/com/gitblit/wicket')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/TicketPage.java | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/TicketPage.java b/src/main/java/com/gitblit/wicket/pages/TicketPage.java index 0bad8beb..b690e4c0 100644 --- a/src/main/java/com/gitblit/wicket/pages/TicketPage.java +++ b/src/main/java/com/gitblit/wicket/pages/TicketPage.java @@ -37,7 +37,6 @@ import org.apache.wicket.MarkupContainer; import org.apache.wicket.PageParameters;
import org.apache.wicket.RestartResponseException;
import org.apache.wicket.ajax.AjaxRequestTarget;
-import org.apache.wicket.behavior.IBehavior;
import org.apache.wicket.behavior.SimpleAttributeModifier;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.image.ContextImage;
@@ -687,15 +686,6 @@ public class TicketPage extends RepositoryPage { Label status = new Label("statusChange", entry.getStatus().toString());
String css = TicketsUI.getLozengeClass(entry.getStatus(), false);
WicketUtils.setCssClass(status, css);
- for (IBehavior b : status.getBehaviors()) {
- if (b instanceof SimpleAttributeModifier) {
- SimpleAttributeModifier sam = (SimpleAttributeModifier) b;
- if ("class".equals(sam.getAttribute())) {
- status.add(new SimpleAttributeModifier("class", "status-change " + sam.getValue()));
- break;
- }
- }
- }
frag.add(status);
addUserAttributions(frag, entry, avatarWidth);
addDateAttributions(frag, entry);
|