From ea960e0ee2b02e97358c553d74c213f4eee86e1d Mon Sep 17 00:00:00 2001 From: ejdiv <66155195+ejdiv@users.noreply.github.com> Date: Mon, 1 Jun 2020 20:18:29 -0400 Subject: [PATCH] publish: update groupify UI --- .../apps/publish/components/lib/settings.js | 36 ++++++++++--------- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/pkg/interface/src/apps/publish/components/lib/settings.js b/pkg/interface/src/apps/publish/components/lib/settings.js index e983ffeb4..6b043a90d 100644 --- a/pkg/interface/src/apps/publish/components/lib/settings.js +++ b/pkg/interface/src/apps/publish/components/lib/settings.js @@ -162,11 +162,9 @@ export class Settings extends Component { return (
Convert Notebook
-- Convert this notebook into a group with associated chat, or select a - group to add this notebook to. -
+ {this.renderHeader( + 'Convert Notebook', + 'Convert this notebook into a group with associated chat, or select a group to add this notebook to.')}{title}
+{subtitle}
+ > + ); + } + render() { const commentsSwitchClasses = (this.state.comments) ? 'relative checked bg-green2 br3 h1 toggle v-mid z-0' : 'relative bg-gray4 bg-gray1-d br3 h1 toggle v-mid z-0'; const copyShortcode =Share
-Share a shortcode to join this notebook
+ {this.renderHeader('Share', 'Share a shortcode to join this notebook')}Delete Notebook
-- Permanently delete this notebook. (All current members will no - longer see this notebook) -
+ {this.renderHeader( + 'Delete Notebook', + 'Permanently delete this notebook. (All current members will no longer see this notebook)')} -Rename
-Change the name of this notebook
+ {this.renderHeader('Rename', 'Change the name of this notebook')}Change description
-Change the description of this notebook
+ {this.renderHeader("Change description", "Change the description of this notebook")}