~sircmpwn/todo.sr.ht

d3ef822252f3358ac3b7fab11c9920cab7112e90 — наб 4 months ago 28c831f 0.61.13
Allow long tracker/ticket slugs to break

Ref: ~sircmpwn/sr.ht#245
M todosrht/templates/edit_ticket.html => todosrht/templates/edit_ticket.html +3 -4
@@ 10,10 10,9 @@
<div class="container">
  <h2 class="ticket-title">
    <div>
      <a href="{{ tracker.owner|user_url }}"
        >{{ tracker.owner }}</a>/<a href="{{ tracker|tracker_url }}"
        >{{ tracker.name }}</a>#{{ ticket.scoped_id }}<span
          class="d-none d-md-inline">:&nbsp;</span>
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a>/<wbr
     ><a href="{{ tracker|tracker_url }}">{{ tracker.name }}</a><wbr
     >#{{ ticket.scoped_id }}<spanclass="d-none d-md-inline">:&nbsp;</span>
    </div>
    <div id="title-field">
      {{ticket.title}}

M todosrht/templates/settings.html => todosrht/templates/settings.html +3 -4
@@ 1,5 1,5 @@
{% extends "layout.html" %}
{% block body %} 
{% block body %}
<div class="header-tabbed">
  <div class="container">
    {% macro link(path, title) %}


@@ 8,9 8,8 @@
      href="{{ path }}">{{ title }}</a>
    {% endmacro %}
    <h2>
      <a
        href="{{ tracker.owner|user_url }}"
      >{{ tracker.owner }}</a>/{{ tracker.name }}
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a>/<wbr
     >{{ tracker.name }}
    </h2>
    <ul class="nav nav-tabs">
      <li class="nav-item">

M todosrht/templates/ticket.html => todosrht/templates/ticket.html +3 -4
@@ 10,10 10,9 @@
<div class="container">
  <h2 class="ticket-title">
    <div>
      <a href="{{ tracker.owner|user_url }}"
        >{{ tracker.owner }}</a>/<a href="{{ tracker|tracker_url }}"
        >{{ tracker.name }}</a>#{{ ticket.scoped_id }}<span
          class="d-none d-md-inline">:</span>&nbsp;
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a>/<wbr
     ><a href="{{ tracker|tracker_url }}">{{ tracker.name }}</a><wbr
     >#{{ ticket.scoped_id }}<span class="d-none d-md-inline">:</span>&nbsp;
    </div>
    <div id="title-field">
      {{ticket.title}}

M todosrht/templates/tracker-label-edit.html => todosrht/templates/tracker-label-edit.html +2 -2
@@ 14,8 14,8 @@
  <div class="container">
    <ul class="nav nav-tabs">
      <h2>
        <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a
          >/{{ tracker.name }}
        <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a>/<wbr
       >{{ tracker.name }}
      </h2>
      <li class="nav-item">
        <a class="nav-link" href="{{ tracker|tracker_url }}">

M todosrht/templates/tracker-labels.html => todosrht/templates/tracker-labels.html +2 -2
@@ 12,8 12,8 @@
<div class="header-tabbed">
  <div class="container">
    <h2>
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a
        >/{{ tracker.name }}
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a>/<wbr
     >{{ tracker.name }}
    </h2>
    <ul class="nav nav-tabs">
      <li class="nav-item">

M todosrht/templates/tracker.html => todosrht/templates/tracker.html +2 -2
@@ 10,8 10,8 @@
<div class="header-tabbed">
  <div class="container-fluid">
    <h2>
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a
        >/{{ tracker.name }}
      <a href="{{ tracker.owner|user_url }}">{{ tracker.owner }}</a>/<wbr
     >{{ tracker.name }}
    </h2>
    <ul class="nav nav-tabs">
      <li class="nav-item">