Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 73
Centralized branding#23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
kpalang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -11,7 +11,6 @@ | ||
| import java.awt.Dimension; | ||
| import java.awt.Point; | ||
| import java.util.Calendar; | ||
| import com.mirth.connect.client.ui.util.DisplayUtil; | ||
| @@ -55,21 +54,22 @@ public void loadContent() { | ||
| StringBuilder content = new StringBuilder(); | ||
| if (PlatformUI.SERVER_VERSION != null) { | ||
| content.append("Mirth Connect Server " + PlatformUI.SERVER_VERSION + "\n\n"); | ||
| content.append(String.format("%s Server %s\n\n", BrandingConstants.PRODUCT_NAME, PlatformUI.SERVER_VERSION)); | ||
tonygermano marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| } | ||
| if (PlatformUI.BUILD_DATE != null) { | ||
| content.append("Built on " + PlatformUI.BUILD_DATE + "\n\n"); | ||
| content.append("Built on ").append(PlatformUI.BUILD_DATE).append("\n\n"); | ||
| } | ||
| if (PlatformUI.SERVER_ID != null) { | ||
| content.append("Server ID: " + PlatformUI.SERVER_ID + "\n\n"); | ||
| content.append("Server ID: ").append(PlatformUI.SERVER_ID).append("\n\n"); | ||
| } | ||
| content.append("Java version: " + System.getProperty("java.version") + "\n\n"); | ||
| content.append("Java version: ").append(System.getProperty("java.version")).append("\n\n"); | ||
| content.append("(c) 2005-2024 NextGen Healthcare. All rights reserved. Visit http://www.nextgen.com\n\n"); | ||
| content.append("The following is a list of acknowledgements for third-party software that is included with Mirth Connect:\n\n"); | ||
| content.append("(c) 2025 Open Integration Engine contributors. Visit https://openintegrationengine.org\n\n"); | ||
| content.append("(c) 2005-2024 NextGen Healthcare.\n\n"); | ||
| content.append("The following is a list of acknowledgements for third-party software that is included with ").append(BrandingConstants.PRODUCT_NAME).append(":\n\n"); | ||
| content.append("This product includes software developed by the Apache Software Foundation (http://www.apache.org/).\n\n"); | ||
| content.append("This product includes all or a portion of the HL7 Vocabulary database, or is derived from the HL7 Vocabulary database, subject to a license from Health Level Seven, Inc.\n\n"); | ||
| content.append("This product includes a portion of images from http://www.famfamfam.com/lab/icons/silk/.\n\n"); | ||
| @@ -116,7 +116,7 @@ private void initComponents() { | ||
| jLabel2.setFont(new java.awt.Font("Tahoma", 1, 18)); // NOI18N | ||
| jLabel2.setForeground(new java.awt.Color(255, 255, 255)); | ||
| jLabel2.setText("About Mirth Connect"); | ||
| jLabel2.setText(String.format("About %s", BrandingConstants.PRODUCT_NAME)); | ||
| javax.swing.GroupLayout mirthHeadingPanel1Layout = new javax.swing.GroupLayout(mirthHeadingPanel1); | ||
| mirthHeadingPanel1.setLayout(mirthHeadingPanel1Layout); | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| package com.mirth.connect.client.ui; | ||
| import javax.swing.ImageIcon; | ||
| public class BrandingConstants { | ||
| public static final String PRODUCT_NAME = "Open Integration Engine"; | ||
| public static final String COMPANY_NAME = "Open Integration Engine"; | ||
| /* | ||
| Sets the title of the Administrator window | ||
| */ | ||
| public static final String WINDOW_TITLE = "Open Integration Engine Administrator"; | ||
| public static final String ISSUE_TRACKER_LOCATION = "https://github.com/openintegrationengine/engine/issues"; | ||
| // The URL that is opened when clicking the bottom image in Login window | ||
| // The one where you're asked for server URL, username, and password | ||
| public static final String COMPANY_URL = "https://openintegrationengine.org"; | ||
| public static final String COMPANY_TOOLTIP = "Open Integration Engine"; | ||
| // The URL that is opened when clicking the image in the Top right corner of the main administrator window | ||
| // The URL that is opened when clicking "Visit + PRODUCT_NAME" button in Administrator | ||
| public static final String PRODUCT_URL = "https://github.com/openintegrationengine/engine"; | ||
| public static final String PRODUCT_TOOLTIP = "Open Integration Engine"; | ||
| // The URL that is opened when clicking "Help" button in Administrator | ||
| public static String HELP_URL_LOCATION = "https://github.com/OpenIntegrationEngine/engine/discussions"; | ||
| // The "More info" in Server settings "Provide usage statistics" | ||
| public static final String PRIVACY_URL = "https://github.com/openintegrationengine"; | ||
| public static final String PRIVACY_TOOLTIP = "Privacy Information"; | ||
| // Icons | ||
kpalang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| // Favicon must be at 32px x 32px scale | ||
| public static final ImageIcon FAVICON = new ImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/branding/oie_logo_only_white_background_32x32.png")); | ||
| // These images must be at 215px x 30px scale | ||
| public static final ImageIcon LOGO = new ImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/branding/oie_logo_banner_text_215x30.png")); | ||
| public static final ImageIcon LOGO_GRAY = new ImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/branding/oie_white_logo_banner_text_215x30.png")); | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.