about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/navigation_bar.js4
-rw-r--r--app/javascript/flavours/glitch/styles/monsterpit.scss4
-rw-r--r--app/javascript/mastodon/locales/en.json1
3 files changed, 9 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
index 59172bb23..c8699e2fa 100644
--- a/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
+++ b/app/javascript/flavours/glitch/features/compose/components/navigation_bar.js
@@ -30,6 +30,10 @@ export default class NavigationBar extends ImmutablePureComponent {
             href={ profileLink }
           ><FormattedMessage id='navigation_bar.edit_profile' defaultMessage='Edit profile' /></a>
         )}
+
+        <Permalink className='drafts' href='/tags/self.draft' to='/timelines/tag/self.draft'>
+          <FormattedMessage id='navigation_bar.drafts' defaultMessage='Show drafts' />
+        </Permalink>
       </div>
     );
   };
diff --git a/app/javascript/flavours/glitch/styles/monsterpit.scss b/app/javascript/flavours/glitch/styles/monsterpit.scss
index 1a53002b3..13c0441af 100644
--- a/app/javascript/flavours/glitch/styles/monsterpit.scss
+++ b/app/javascript/flavours/glitch/styles/monsterpit.scss
@@ -83,6 +83,10 @@ div.media-caption {
   }
 }
 
+.drawer--account > .drafts {
+  margin-left: 1em;
+}
+
 div.drawer__inner__admin {
   margin-left: 10px;
 
diff --git a/app/javascript/mastodon/locales/en.json b/app/javascript/mastodon/locales/en.json
index c0daba827..17dbef3e9 100644
--- a/app/javascript/mastodon/locales/en.json
+++ b/app/javascript/mastodon/locales/en.json
@@ -242,6 +242,7 @@
   "navigation_bar.direct": "Whispers",
   "navigation_bar.discover": "Discover",
   "navigation_bar.domain_blocks": "Hidden communities",
+  "navigation_bar.drafts": "Show drafts",
   "navigation_bar.edit_profile": "Edit profile",
   "navigation_bar.favourites": "Admirations",
   "navigation_bar.filters": "Muted words",