mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 16:37:52 +01:00
add sort by oldest
This commit is contained in:
parent
18edb4b110
commit
c01a70c86b
1 changed files with 31 additions and 2 deletions
|
@ -877,11 +877,15 @@ width: fit-content;
|
|||
Popular
|
||||
</a>
|
||||
|
||||
|
||||
<a href="/channel?id=<%=ID%>&sort_by=oldest" style="color:#fff;text-decoration:none;
|
||||
" class="tag c">
|
||||
Oldest
|
||||
</a>
|
||||
|
||||
<% } %>
|
||||
<% if (sort) { %>
|
||||
|
||||
<% if (sort != "newest") { %>
|
||||
<% if (sort === "popular") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>" style="color:#fff;text-decoration:none;
|
||||
" class="tag c" >
|
||||
|
@ -890,8 +894,33 @@ width: fit-content;
|
|||
|
||||
<a style="background:var(--chip-background-hover)" class="tag">
|
||||
Popular
|
||||
</a>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&sort_by=oldest" style="color:#fff;text-decoration:none;
|
||||
" class="tag c">
|
||||
Oldest
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
|
||||
<% if (sort === "oldest") { %>
|
||||
|
||||
<a href="/channel?id=<%=ID%>" style="color:#fff;text-decoration:none;
|
||||
" class="tag c" >
|
||||
Recently Uploaded
|
||||
</a>
|
||||
|
||||
<a href="/channel?id=<%=ID%>&sort_by=popular" style="color:#fff;text-decoration:none;
|
||||
" class="tag">
|
||||
Popular
|
||||
</a>
|
||||
|
||||
<a style="background:var(--chip-background-hover)
|
||||
" class="tag c">
|
||||
Oldest
|
||||
</a>
|
||||
<% } %>
|
||||
|
||||
<% } %>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue