Commit adcdeca0 authored by halatmit's avatar halatmit Committed by Jeffrey I. Schiller

Add Gallery link to designer page

Change-Id: Ice9d69516b1ec6e54800eabe95e736c53fd06e36
parent 20f8c052
...@@ -11,7 +11,6 @@ import com.google.appinventor.client.boxes.MotdBox; ...@@ -11,7 +11,6 @@ import com.google.appinventor.client.boxes.MotdBox;
import com.google.appinventor.common.version.AppInventorFeatures; import com.google.appinventor.common.version.AppInventorFeatures;
import com.google.gwt.event.dom.client.ClickEvent; import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler; import com.google.gwt.event.dom.client.ClickHandler;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.Anchor; import com.google.gwt.user.client.ui.Anchor;
import com.google.gwt.user.client.ui.Composite; import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML; import com.google.gwt.user.client.ui.HTML;
...@@ -34,14 +33,18 @@ public class TopPanel extends Composite { ...@@ -34,14 +33,18 @@ public class TopPanel extends Composite {
"<a href=\"" + KNOWN_ISSUES_LINK_URL + "\" target=\"_blank\">known issues</a>" ; "<a href=\"" + KNOWN_ISSUES_LINK_URL + "\" target=\"_blank\">known issues</a>" ;
private static final String RELEASE_NOTES_LINK_AND_TEXT = private static final String RELEASE_NOTES_LINK_AND_TEXT =
"<a href=\"" + RELEASE_NOTES_LINK_URL + "\" target=\"_blank\">release notes</a>" ; "<a href=\"" + RELEASE_NOTES_LINK_URL + "\" target=\"_blank\">release notes</a>" ;
private static final String GALLERY_LINK_AND_TEXT =
"<a href=\"http://gallery.appinventor.mit.edu\" target=\"_blank\">" +
"Try the App Inventor Community Gallery (Beta)</a>";
private static final String LOGO_IMAGE_URL = "/images/logo.png"; private static final String LOGO_IMAGE_URL = "/images/logo.png";
private final HTML userEmail = new HTML(); private final HTML userEmail = new HTML();
private final VerticalPanel rightPanel; // remember this so we can add MOTD later if needed private final VerticalPanel rightPanel; // remember this so we can add MOTD later if needed
private final HTML welcome = new HTML("Welcome to the App Inventor beta preview release." + private final HTML welcome = new HTML("Welcome to the App Inventor beta release." +
" Be sure to check the list of " + KNOWN_ISSUES_LINK_AND_TEXT + " and " + RELEASE_NOTES_LINK_AND_TEXT + "."); " Be sure to check the list of " + KNOWN_ISSUES_LINK_AND_TEXT + " and " +
RELEASE_NOTES_LINK_AND_TEXT + ". " + GALLERY_LINK_AND_TEXT);
//This is an experimental version of App Inventor. " //This is an experimental version of App Inventor. "
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment