aboutsummaryrefslogtreecommitdiffstats
path: root/src/features/workspaces/components/WorkspaceDrawer.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/workspaces/components/WorkspaceDrawer.js')
-rw-r--r--src/features/workspaces/components/WorkspaceDrawer.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js
index 0befcc869..bb77aa72d 100644
--- a/src/features/workspaces/components/WorkspaceDrawer.js
+++ b/src/features/workspaces/components/WorkspaceDrawer.js
@@ -21,9 +21,9 @@ const messages = defineMessages({
21 id: 'workspaceDrawer.allServices', 21 id: 'workspaceDrawer.allServices',
22 defaultMessage: '!!!All services', 22 defaultMessage: '!!!All services',
23 }, 23 },
24 addWorkspaceTooltip: { 24 workspacesSettingsTooltip: {
25 id: 'workspaceDrawer.addWorkspaceTooltip', 25 id: 'workspaceDrawer.workspacesSettingsTooltip',
26 defaultMessage: '!!!Add workspace', 26 defaultMessage: '!!!Workspaces settings',
27 }, 27 },
28 workspaceFeatureInfo: { 28 workspaceFeatureInfo: {
29 id: 'workspaceDrawer.workspaceFeatureInfo', 29 id: 'workspaceDrawer.workspaceFeatureInfo',
@@ -54,12 +54,12 @@ const styles = theme => ({
54 marginBottom: '25px', 54 marginBottom: '25px',
55 marginLeft: theme.workspaceDrawerPadding, 55 marginLeft: theme.workspaceDrawerPadding,
56 }, 56 },
57 addWorkspaceButton: { 57 workspacesSettingsButton: {
58 float: 'right', 58 float: 'right',
59 marginRight: theme.workspaceDrawerPadding, 59 marginRight: theme.workspaceDrawerPadding,
60 marginTop: '2px', 60 marginTop: '2px',
61 }, 61 },
62 addWorkspaceButtonIcon: { 62 workspacesSettingsButtonIcon: {
63 fill: theme.workspaceDrawerAddButtonColor, 63 fill: theme.workspaceDrawerAddButtonColor,
64 '&:hover': { 64 '&:hover': {
65 fill: theme.workspaceDrawerAddButtonHoverColor, 65 fill: theme.workspaceDrawerAddButtonHoverColor,
@@ -133,17 +133,17 @@ class WorkspaceDrawer extends Component {
133 <H1 className={classes.headline}> 133 <H1 className={classes.headline}>
134 {intl.formatMessage(messages.headline)} 134 {intl.formatMessage(messages.headline)}
135 <span 135 <span
136 className={classes.addWorkspaceButton} 136 className={classes.workspacesSettingsButton}
137 onClick={() => { 137 onClick={() => {
138 workspaceActions.openWorkspaceSettings(); 138 workspaceActions.openWorkspaceSettings();
139 gaEvent(GA_CATEGORY_WORKSPACES, 'add', 'drawerHeadline'); 139 gaEvent(GA_CATEGORY_WORKSPACES, 'settings', 'drawerHeadline');
140 }} 140 }}
141 data-tip={`${intl.formatMessage(messages.addWorkspaceTooltip)}`} 141 data-tip={`${intl.formatMessage(messages.workspacesSettingsTooltip)}`}
142 > 142 >
143 <Icon 143 <Icon
144 icon="mdiPlusBox" 144 icon="mdiSettings"
145 size={1.5} 145 size={1.5}
146 className={classes.addWorkspaceButtonIcon} 146 className={classes.workspacesSettingsButtonIcon}
147 /> 147 />
148 </span> 148 </span>
149 </H1> 149 </H1>
@@ -212,7 +212,7 @@ class WorkspaceDrawer extends Component {
212 <Icon 212 <Icon
213 icon="mdiPlusBox" 213 icon="mdiPlusBox"
214 size={1} 214 size={1}
215 className={classes.addWorkspaceButtonIcon} 215 className={classes.workspacesSettingsButtonIcon}
216 /> 216 />
217 <span> 217 <span>
218 {intl.formatMessage(messages.addNewWorkspaceLabel)} 218 {intl.formatMessage(messages.addNewWorkspaceLabel)}