diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/locales/en.json b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/locales/en.json index 35ec9afc05..3bc7a828d7 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/locales/en.json +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/public/locales/en.json @@ -9,22 +9,26 @@ "Groups" : "Groups", "Tags" : "Tags", "Platform" : "Platform", - "Platforms" : "Platfomrs", + "Platforms" : "Platforms", + "Applications": "Applications", "No.Platform" : "No Platforms", "Screenshots" : "Screenshots", "Icon" : "Icon", + "Info" : "Info", "Banner" : "Banner", "Create.Application" : "Create Application", "Back" : "Back", "Cancel" : "Cancel", "Finish" : "Finish", "Continue" : "Continue", + "Name" : "Name", "Application.Name" : "Application Name", "General" : "General", "App.Releases" : "Application Releases", "Package.Manager" : "Package Manager", "Save" : "Save", "Create.Release" : "Create Release", + "Release.Channel" : "Release Channel", "Release" : "Release", "New.Release.For" : "New Release for", "Upload.Package.File" : "Upload Package File", @@ -38,5 +42,20 @@ "Alpha.Releases" : "Alpha Releases", "Version" : "Version", "Status" : "Status", - "App.Publisher" : "Application Publisher" + "App.Publisher" : "Application Publisher", + "Search.Apps" : "Search for Applications", + "View.In.Store" : "View in Store", + "Last.Updated" : "Last updated on", + "Installs" : "Installs", + "General.Info" : "General Info", + "Select.Platform": "Select Platform", + "Add.Release" : "Add Release to Application", + "Share.With.Tenants" : "Share with Tenants", + "Disable" : "Disable", + "File.Based" : "File Based", + "Activate" : "Activate", + "Yes" : "Yes", + "No" : "No", + "No.Platform.Tags" : "No Platform Tags", + "Create.Platform" : "Create Platform" } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx index cdf1b82a93..464300be20 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/AppPublisherBase/BaseLayout.jsx @@ -42,7 +42,7 @@ class BaseLayout extends Component { this.onClickApplications = this.onClickApplications.bind(this); this.state = { notifications: 0, - user: 'Admin', + user: '', openModal: false, currentPage: "", logo: {} @@ -94,7 +94,7 @@ class BaseLayout extends Component { if (href.indexOf("apps") !== -1) { return "Applications"; } else if (href.indexOf("platforms") !== -1) { - return "Platforms" + return "Platforms"; } } @@ -162,11 +162,11 @@ class BaseLayout extends Component { {this.getCurrentPageTitle() === "Applications" ? : } diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/ApplicationListing.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/ApplicationListing.jsx index f830c88058..1a79b254a1 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/ApplicationListing.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/ApplicationListing.jsx @@ -21,7 +21,6 @@ import {withRouter} from 'react-router-dom'; import {Button, Col, Row} from 'reactstrap'; import Drawer from '../UIComponents/Drawer/Drawer'; import ApplicationView from './View/ApplicationView'; -import {FormattedMessage} from 'react-intl'; import ApplicationMgtApi from "../../api/applicationMgtApi"; import AuthHandler from "../../api/authHandler"; @@ -249,7 +248,8 @@ class ApplicationListing extends Component { className="data-table-row-cell">{application.currentLifecycle.lifecycleState.name} - diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx index 57d7df1d96..4d03280ff1 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/ApplicationCreate.jsx @@ -250,20 +250,29 @@ class ApplicationCreate extends Component {
1
-
General Info
+
+ +
2 - Select Platform + + + 3 - Screenshots + + + 4 - Release + + + diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx index ce5fc7f1e1..447c32780e 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step1.jsx @@ -345,8 +345,12 @@ class Step1 extends Component { - - + + ); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx index f25c0a17c8..f40ca3c630 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step2.jsx @@ -173,9 +173,15 @@ class Step2 extends Component { {this.state.errors.platform} - - - + + + ); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step3.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step3.jsx index 76cce9508b..27c9b6fb1e 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step3.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step3.jsx @@ -225,9 +225,15 @@ class Step3 extends Component { - - - + + + ); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx index 9672c98986..9cb1b3432c 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Create/CreateSteps/Step4.jsx @@ -20,6 +20,7 @@ import PropTypes from 'prop-types'; import React, {Component} from 'react'; import {Button, Collapse, FormGroup, FormText, Input, Label, ModalFooter} from 'reactstrap'; import Switch from '../../../UIComponents/Switch/Switch' +import {FormattedMessage} from 'react-intl'; /** * The Third step of application create wizard. {Application Release Step} @@ -96,7 +97,7 @@ class Step4 extends Component {
@@ -111,7 +112,7 @@ class Step4 extends Component {
- Info: + Enabling this will create a release for the current Application. To upload the Application, please visit to the Release management section of Application Edit View. @@ -120,7 +121,9 @@ class Step4 extends Component { {/*If toggle is true, the release form will be shown.*/} - + - +
- - - + + + ); diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/PackageManager.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/PackageManager.jsx index a08431332e..6da80be3c9 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/PackageManager.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Edit/PackageManager.jsx @@ -16,7 +16,6 @@ * under the License. */ -import PropTypes from 'prop-types'; import React, {Component} from 'react'; class PackageManager extends Component { @@ -26,7 +25,7 @@ class PackageManager extends Component { } render() { - return( + return (
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx index 57fc546609..b1d203f0ee 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/CreateRelease.jsx @@ -92,7 +92,9 @@ class CreateRelease extends Component {

- +
diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx index e41bf5a634..8ffe7bdfdb 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/Release/Create/UploadPackage.jsx @@ -41,7 +41,8 @@ class UploadPackage extends Component { {"<-"} - {selectedChannel} + {selectedChannel} diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/View/ApplicationView.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/View/ApplicationView.jsx index d93a90ee2c..a2817d4cd3 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/View/ApplicationView.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Application/View/ApplicationView.jsx @@ -70,7 +70,9 @@ class ApplicationView extends Component {

{app.name}

- Last updated on {app.modifiedAt} + + {app.modifiedAt} @@ -78,7 +80,9 @@ class ApplicationView extends Component {
- 2k Installs + + 2k + @@ -89,7 +93,11 @@ class ApplicationView extends Component { -

View in Store

+

+ + + +

diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/Platform.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/Platform.jsx index fc1ada106f..44479434ae 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/Platform.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/Platform.jsx @@ -18,6 +18,7 @@ import React, {Component} from 'react'; import {Button, Col, Collapse, Row} from "reactstrap"; +import {FormattedMessage} from "react-intl"; /** * Platform component. @@ -57,8 +58,13 @@ class Platform extends Component {
- - + + @@ -71,23 +77,36 @@ class Platform extends Component {
-

Description

+

+ +

{platform.description}

-

File Based

+

+ +

-

{platform.fileBased ? "Yes" : "No"}

+

{platform.fileBased ? + + : }

-

Tags

+

+ +

- {platform.tags.length > 0 ? platform.tags : "No Platform Tags"} + {platform.tags.length > 0 ? + platform.tags : + + }

diff --git a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/PlatformCreate.jsx b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/PlatformCreate.jsx index 28460613f3..984cb05d66 100644 --- a/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/PlatformCreate.jsx +++ b/components/application-mgt/org.wso2.carbon.device.application.mgt.publisher.ui/src/main/resources/publisher/src/components/Platform/PlatformCreate.jsx @@ -16,7 +16,8 @@ * under the License. */ import React, {Component} from 'react'; -import {Button, FormGroup, Label, Modal, ModalBody, ModalFooter, ModalHeader, Input} from "reactstrap"; +import {Button, FormGroup, Input, Label, Modal, ModalBody, ModalFooter, ModalHeader} from "reactstrap"; +import {FormattedMessage} from "react-intl"; /** * Platform view component. @@ -48,20 +49,30 @@ class PlatformCreate extends Component { return (
- Create Platform + + + - + - + - - + +