2023-08-16 15:34:34 (UTC-03:00)
Marcel Rodrigues <marcelgmr@gmail.com>
ui: small adjustments to ticket page
diff --git a/view/ticket.html b/view/ticket.html index 9a3527a..f48d4d4 100644 --- a/view/ticket.html +++ b/view/ticket.html @@ -35,7 +35,6 @@ </div> </div> <div class="comments-section"> - <h2>Comments</h2> % for ev in $events do <div class="comment"> <div class="header-details"> @@ -61,14 +60,14 @@ % end </div> % end + <details><summary>new comment</summary> + % set action = "/p/" .. $proj.name .. "/t/" .. $tick.code .. "/c" + <form action="{{$action}}" method="post"> + <textarea id="text" name="text" required cols="100" rows="5"></textarea> + <br><br> + <input type="submit" value="add comment"> + </form> + </details> </div> - <details><summary>new comment</summary> - % set action = "/p/" .. $proj.name .. "/t/" .. $tick.code .. "/c" - <form action="{{$action}}" method="post"> - <textarea id="text" name="text" required cols="100" rows="5"></textarea> - <br><br> - <input type="submit" value="add comment"> - </form> - </details> </body> </html>