diff options
author | Dessalines <tyhou13@gmx.com> | 2019-05-19 09:34:27 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-05-19 09:34:27 -0700 |
commit | 4668eac0d0f91f7c02c325d7cd6d6447c517204a (patch) | |
tree | 5fc4c0a515f9687fd322c468eed867d407adcdf5 /ui | |
parent | 1b6ddb869ceca51dbd6ea92457738d0f9846796d (diff) |
Moving create post to below unsubscribe.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/src/components/sidebar.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/components/sidebar.tsx b/ui/src/components/sidebar.tsx index 8d1459d5..6532bc05 100644 --- a/ui/src/components/sidebar.tsx +++ b/ui/src/components/sidebar.tsx @@ -115,14 +115,14 @@ export class Sidebar extends Component<SidebarProps, SidebarState> { <li class="list-inline-item"><Link class="text-info" to={`/u/${mod.user_name}`}>{mod.user_name}</Link></li> )} </ul> + <Link class="btn btn-sm btn-secondary btn-block mb-3" + to={`/create_post/c/${community.name}`}>Create a Post</Link> <div> {community.subscribed ? <button class="btn btn-sm btn-secondary btn-block mb-3" onClick={linkEvent(community.id, this.handleUnsubscribe)}>Unsubscribe</button> : <button class="btn btn-sm btn-secondary btn-block mb-3" onClick={linkEvent(community.id, this.handleSubscribe)}>Subscribe</button> } </div> - <Link class="btn btn-sm btn-secondary btn-block mb-3" - to={`/create_post/c/${community.name}`}>Create a Post</Link> {community.description && <div> <hr /> |