diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-12-06 13:03:52 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-12-06 13:03:52 -0600 |
commit | 26622407719470d8773e177148297378f8f3b07e (patch) | |
tree | e0748e16fd5bbf3631865f4673af7385921be189 /app/javascript/flavours/glitch | |
parent | 0ae1bc9796c9d337a9e5d90d4877302e20e7c8fa (diff) |
add drafts shortcut to web ui
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/features/compose/components/navigation_bar.js | 4 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/monsterpit.scss | 4 |
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; |