Skip to content

Commit

Permalink
Merge pull request #2889 from bamaer/2888
Browse files Browse the repository at this point in the history
add a github star link to the welcome dialog. fixes #2888
  • Loading branch information
hansva committed May 2, 2023
2 parents 2257258 + 9ddbcda commit 151b71a
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,20 @@ public void welcome(Composite parent) {

public static final String WEB_NAME_HOP_APACHE_ORG = "hop.apache.org";
public static final String WEB_LINK_HOP_APACHE_ORG = "https://hop.apache.org/";
public static final String WEB_NAME_GITHUB_STAR = "starring";
public static final String WEB_LINK_GITHUB_STAR = "https://github.com/apache/hop";

@GuiWidgetElement(
id= "WelcomeWelcome.0900-github-star",
parentId = WELCOME_WELCOME_PARENT_ID,
type = GuiElementType.LINK,
label = "If you like Apache Hop, please consider <a>"
+ WEB_NAME_GITHUB_STAR
+ "</a> \u2B50 the project on github. \n"
)
public void githubStarLink(Event event){
handleWebLinkEvent(event, WEB_NAME_GITHUB_STAR, WEB_LINK_GITHUB_STAR);
}

@GuiWidgetElement(
id = "WelcomeWelcome.1000-homepage",
Expand Down

0 comments on commit 151b71a

Please sign in to comment.