aboutsummaryrefslogtreecommitdiff
path: root/static/nposts.html
diff options
context:
space:
mode:
authorFChannel <>2021-07-31 16:35:42 -0700
committerFChannel <>2021-07-31 16:35:42 -0700
commitc2184d6add23d9b0ca44dbbc5d026ab4f482dceb (patch)
treeca2f8ef2557458eb045e3eafcccb5d7de823f41d /static/nposts.html
parent4a9452985a127a53572358c3b86a425a5df616e1 (diff)
added pop route for removing archived posts. removed seeing archive page when not archived posts.
Diffstat (limited to 'static/nposts.html')
-rw-r--r--static/nposts.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/static/nposts.html b/static/nposts.html
index e70b982..6def8b2 100644
--- a/static/nposts.html
+++ b/static/nposts.html
@@ -17,7 +17,9 @@
<hr>
<ul style="margin: 0; padding: 0; display: inline">
<li style="display: inline"><a href="/{{ $board.Name }}/catalog">[Catalog]</a></li>
+ {{ if showArchive }}
<li style="display: inline"><a href="/{{ $board.Name }}/archive">[Archive]</a></li>
+ {{ end }}
<li style="display: inline"><a href="#bottom">[Bottom]</a></li>
<li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
</ul>
@@ -27,7 +29,9 @@
<hr>
<ul style="margin: 0; padding: 0; display: inline">
<li style="display: inline"><a href="/{{ $board.Name }}/catalog">[Catalog]</a></li>
+ {{ if showArchive }}
<li style="display: inline"><a href="/{{ $board.Name }}/archive">[Archive]</a></li>
+ {{ end }}
<li style="display: inline"><a id="bottom" href="#top">[Top]</a></li>
<li style="display: inline"><a href="javascript:location.reload()">[Refresh]</a></li>
</ul>