aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/faq.html3
-rw-r--r--views/npost.html2
-rw-r--r--views/partials/footer.html3
-rw-r--r--views/partials/top.html6
4 files changed, 5 insertions, 9 deletions
diff --git a/views/faq.html b/views/faq.html
index 0305b7e..5b151a4 100644
--- a/views/faq.html
+++ b/views/faq.html
@@ -54,9 +54,6 @@
<h4 id="pubexamp">ActivityPub specific examples</h4>
<p>Soon&trade;.</p>
-
- <h4 id="version">What version is this FChannel instance?</h4>
- <p>v0.0.15-release</p>
</div>
<div style="width: 500px; margin:0 auto; margin-top: 50px; text-align: center;">
<a href="/">[Home]</a><a href="/static/rules.html">[Rules]</a><a href="/static/faq.html">[FAQ]</a>
diff --git a/views/npost.html b/views/npost.html
index 7c22b9b..04a0d97 100644
--- a/views/npost.html
+++ b/views/npost.html
@@ -25,6 +25,7 @@
</ul>
</td>
+ {{ if gt (len .page.Posts) 0 }}
{{ if eq (index .page.Posts 0).Type "Note" }}
<td style="text-align: center;">
<span>[<a id="reply-content" href="javascript:quote('{{ .page.Board.Actor.Id }}', '{{ (index .page.Posts 0).Id }}', 'reply')">Post a Reply</a>]</span>
@@ -35,6 +36,7 @@
{{ $replies := (index .page.Posts 0).Replies }}
<span id="threadStats" data-total="{{ $replies.TotalItems }}" data-imgs="{{ $replies.TotalImgs }}">{{ $replies.TotalItems }} / {{ $replies.TotalImgs }}</span>
</td>
+ {{ end }}
</tr>
</table>
diff --git a/views/partials/footer.html b/views/partials/footer.html
index 2253039..cfae619 100644
--- a/views/partials/footer.html
+++ b/views/partials/footer.html
@@ -4,7 +4,8 @@
</div>
<div style="float: right; margin-bottom: 25px;">
- Theme:
+ <p style="font-size: 12px; text-align: right; padding-right: 5px;">v0.1.0</p>
+ <span>Theme:</span>
<select id="themeSwitcher" onchange="setTheme(this.options[this.selectedIndex].value)">
{{ range .Themes }}
<option value="{{.}}">{{.}}</option>
diff --git a/views/partials/top.html b/views/partials/top.html
index 2a5c16b..58944a5 100644
--- a/views/partials/top.html
+++ b/views/partials/top.html
@@ -3,11 +3,7 @@
<p style="text-align: center;">{{ .Board.Summary }}</p>
{{ $len := len .Posts }}
{{ if eq $len 0 }}
- {{ if eq .PostType "reply" }}
- {{ if eq (index .Posts 0).Locked false }}
- <h3 id="newpostbtn" state="0" style="display: none; margin-bottom:100px;">[<a href="javascript:startNewPost()">Post a Reply</a>]</h3>
- {{ end }}
- {{ else if and (eq .PostType "new") }}
+ {{ if eq .PostType "new" }}
<h3 id="newpostbtn" state="0" style="display: none; margin-bottom:100px;">[<a href="javascript:startNewPost()">Start a New Thread</a>]</h3>
{{ end }} <!-- end if inreplyto-->
<div id="newpost">