login

<     >

2023-08-05 11:35:57 (UTC-03:00)

Marcel Rodrigues <marcelgmr@gmail.com>

move links in ticket page to better position

diff --git a/view/ticket.html b/view/ticket.html
index 02702bb..d35d57b 100644
--- a/view/ticket.html
+++ b/view/ticket.html
@@ -10,11 +10,6 @@
   </style>
 </head>
 <body>
-  <div class="centered menu">
-    <a href="/p/{{$proj.name}}/t/{{$tick.code}}/edit">edit</a>
-    <a href="/p/{{$proj.name}}/t/{{$tick.code}}/c/new">new comment</a>
-  </div>
-  <br>
   <h1 class="centered">{{$proj.name}} - Ticket #{{$tick.code}}</h1>
   <div class="ticket-details">
     <h1>{{$tick.title}}</h1>
@@ -30,9 +25,12 @@
     <div class="footer-details">
       <p><strong>Status:</strong> {{$states[$tick.state_id]}}</p>
       <p><strong>Priority:</strong> {{$tick.priority}}</p>
-      <form action="/p/{{$proj.name}}/t/{{$tick.code}}/del" method="post">
-        <button type="submit">delete</button>
-      </form>
+      <div class="menu">
+        <a href="/p/{{$proj.name}}/t/{{$tick.code}}/edit">edit</a>
+        <form action="/p/{{$proj.name}}/t/{{$tick.code}}/del" method="post">
+          <button type="submit">delete</button>
+        </form>
+      </div>
     </div>
   </div>
   <div class="comments-section">
@@ -51,5 +49,6 @@
     </div>
     % end
   </div>
+  <a href="/p/{{$proj.name}}/t/{{$tick.code}}/c/new">add comment</a>
 </body>
 </html>