diff options
Diffstat (limited to 'views/partials/top.html')
-rw-r--r-- | views/partials/top.html | 6 |
1 files changed, 1 insertions, 5 deletions
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"> |