~sircmpwn/todo.sr.ht

b779e21822c881e6a996069ffe952c72a8481386 — Drew DeVault 4 months ago 533ca5c 0.64.9
Fix use of relative URLs in "closed tickets" links
2 files changed, 3 insertions(+), 3 deletions(-)

M todosrht/templates/tracker-labels.html
M todosrht/templates/tracker.html
M todosrht/templates/tracker-labels.html => todosrht/templates/tracker-labels.html +1 -1
@@ 20,7 20,7 @@
        <a class="nav-link" href="{{ tracker|tracker_url }}">open tickets</a>
      </li>
      <li class="nav-item">
        <a class="nav-link" href="?search=status:closed">closed tickets</a>
        <a class="nav-link" href="{{ tracker|tracker_url }}?search=status:closed">closed tickets</a>
      </li>
      <li class="nav-item">
        <a class="nav-link active"

M todosrht/templates/tracker.html => todosrht/templates/tracker.html +2 -2
@@ 17,13 17,13 @@
    <ul class="nav nav-tabs">
      <li class="nav-item">
        <a class="nav-link {{ "active" if not search else "" }}"
          href="{{ tracker|tracker_url }}">open tickets</a>
          href="{{ tracker | tracker_url }}">open tickets</a>
      </li>
      <li class="nav-item">
        <a class="nav-link {{
            "active" if search == "status:closed"
              or search == "status:resolved" else ""
          }}" href="?search=status:closed">closed tickets</a>
            }}" href="{{ tracker | tracker_url}}?search=status:closed">closed tickets</a>
      </li>
      {% if search and search != "status:closed" and search != "status:resolved" %}
      <li class="nav-item">