Sort the emoji guide
This commit is contained in:
parent
f2340864a4
commit
03c4353476
|
@ -14,7 +14,7 @@
|
|||
<section>
|
||||
<div class="columns is-9 is-variable is-centered is-multiline">
|
||||
{% for emojo in emojos %}
|
||||
<div class="column is-one-quarter">
|
||||
<div class="column is-one-fifth">
|
||||
<p class="level emoji-box">
|
||||
<img alt="" class="level-item emoji" src="{{ emojo.url }}">
|
||||
<span class="level-item">:{{ emojo.shortcode }}:</span>
|
||||
|
|
|
@ -579,5 +579,5 @@ def emoji_reference(request):
|
|||
emojos = mastodon.custom_emojis()
|
||||
return render(request, 'main/emoji.html',
|
||||
{"fullbrutalism": fullbrutalism_p(request),
|
||||
"emojos": emojos,
|
||||
"emojos": sorted(emojos, key=lambda x: x['shortcode']),
|
||||
'own_acct' : request.session['user']})
|
||||
|
|
Loading…
Reference in New Issue