2024-01-07 18:02:52 +13:00
|
|
|
<div class="mobile_create_post d-md-none mt-1">
|
|
|
|
<a class="btn btn-primary" href="/community/{{ community.link() }}/submit">{{ _('Create post') }}</a>
|
|
|
|
</div>
|
2024-01-03 20:14:39 +13:00
|
|
|
<div class="btn-group mt-1 mb-2">
|
2024-01-15 18:26:22 +13:00
|
|
|
<a href="?sort=hot" class="btn {{ 'btn-primary' if sort == '' or sort == 'hot' else 'btn-outline-secondary' }}" rel="nofollow">
|
2024-01-03 20:14:39 +13:00
|
|
|
{{ _('Hot') }}
|
|
|
|
</a>
|
2024-01-15 18:26:22 +13:00
|
|
|
<a href="?sort=top" class="btn {{ 'btn-primary' if sort == 'top' else 'btn-outline-secondary' }}" rel="nofollow">
|
2024-01-03 20:14:39 +13:00
|
|
|
{{ _('Top') }}
|
|
|
|
</a>
|
2024-01-15 18:26:22 +13:00
|
|
|
<a href="?sort=new" class="btn {{ 'btn-primary' if sort == 'new' else 'btn-outline-secondary' }}" rel="nofollow">
|
2024-01-03 20:14:39 +13:00
|
|
|
{{ _('New') }}
|
|
|
|
</a>
|
2024-01-15 18:26:22 +13:00
|
|
|
<a href="?sort=active" class="btn {{ 'btn-primary' if sort == 'active' else 'btn-outline-secondary' }}" rel="nofollow">
|
|
|
|
{{ _('Active') }}
|
|
|
|
</a>
|
2024-01-03 20:14:39 +13:00
|
|
|
</div>
|