mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-25 15:39:11 +00:00
Moving create post to below unsubscribe.
This commit is contained in:
parent
1b6ddb869c
commit
4668eac0d0
|
@ -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>
|
<li class="list-inline-item"><Link class="text-info" to={`/u/${mod.user_name}`}>{mod.user_name}</Link></li>
|
||||||
)}
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
|
<Link class="btn btn-sm btn-secondary btn-block mb-3"
|
||||||
|
to={`/create_post/c/${community.name}`}>Create a Post</Link>
|
||||||
<div>
|
<div>
|
||||||
{community.subscribed
|
{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.handleUnsubscribe)}>Unsubscribe</button>
|
||||||
: <button class="btn btn-sm btn-secondary btn-block mb-3" onClick={linkEvent(community.id, this.handleSubscribe)}>Subscribe</button>
|
: <button class="btn btn-sm btn-secondary btn-block mb-3" onClick={linkEvent(community.id, this.handleSubscribe)}>Subscribe</button>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
<Link class="btn btn-sm btn-secondary btn-block mb-3"
|
|
||||||
to={`/create_post/c/${community.name}`}>Create a Post</Link>
|
|
||||||
{community.description &&
|
{community.description &&
|
||||||
<div>
|
<div>
|
||||||
<hr />
|
<hr />
|
||||||
|
|
Loading…
Reference in a new issue