From cbf1c9276d452e7d09169d19c2aca4ff33e16619 Mon Sep 17 00:00:00 2001 From: Mrbytes <eguervos@msn.com> Date: Sun, 07 Oct 2012 05:31:03 -0400 Subject: [PATCH] GitBlitWebApp_es.properties: Up to date and other small corrections --- src/com/gitblit/wicket/pages/GravatarProfilePage.java | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/com/gitblit/wicket/pages/GravatarProfilePage.java b/src/com/gitblit/wicket/pages/GravatarProfilePage.java index e8a96fd..ee567d7 100644 --- a/src/com/gitblit/wicket/pages/GravatarProfilePage.java +++ b/src/com/gitblit/wicket/pages/GravatarProfilePage.java @@ -18,15 +18,13 @@ import java.io.IOException; import java.text.MessageFormat; -import org.apache.wicket.AttributeModifier; import org.apache.wicket.PageParameters; import org.apache.wicket.markup.html.basic.Label; -import org.apache.wicket.markup.html.image.Image; import org.apache.wicket.markup.html.link.ExternalLink; -import org.apache.wicket.model.Model; import com.gitblit.models.GravatarProfile; import com.gitblit.utils.ActivityUtils; +import com.gitblit.wicket.ExternalImage; import com.gitblit.wicket.WicketUtils; /** @@ -59,8 +57,7 @@ add(new Label("username", profile.preferredUsername)); add(new Label("location", profile.currentLocation)); add(new Label("aboutMe", profile.aboutMe)); - Image image = new Image("profileImage"); - image.add(new AttributeModifier("src", true, new Model<String>(profile.thumbnailUrl + "?s=256&d=identicon"))); + ExternalImage image = new ExternalImage("profileImage", profile.thumbnailUrl + "?s=256&d=identicon"); add(image); add(new ExternalLink("profileLink", profile.profileUrl)); } -- Gitblit v1.9.1