about summary refs log tree commit diff
path: root/app/javascript/flavours
diff options
context:
space:
mode:
Diffstat (limited to 'app/javascript/flavours')
-rw-r--r--app/javascript/flavours/glitch/features/compose/components/navigation_bar.js4
-rw-r--r--app/javascript/flavours/glitch/styles/monsterpit.scss4
2 files changed, 8 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;