On 09/12/2016 04:53 PM, Stephen Finucane wrote:
> Integrate support for series in the web UI. This is rather
> straightforward, the only significant change being the addition of a
> filter for series filtering.
> 
> Signed-off-by: Stephen Finucane <stephenfinuc...@hotmail.com>
> ---

> diff --git a/patchwork/templates/patchwork/patch-list.html 
> b/patchwork/templates/patchwork/patch-list.html

> @@ -176,6 +181,13 @@ $(document).ready(function() {
>       {{ patch.name|default:"[no subject]"|truncatechars:100 }}
>      </a>
>     </td>
> +   <td>
> +    {% if patch.series %}
> +    <a href="?series={{patch.series.id}}">
> +     {{ patch.series.name|truncatechars:100 }}
> +    </a>
> +    {% endif %}
> +   </td>
>     <td class="text-nowrap">{{ patch|patch_tags }}</td>
>     <td class="text-nowrap">{{ patch|patch_checks }}</td>
>     <td class="text-nowrap">{{ patch.date|date:"Y-m-d" }}</td>

As per: http://patchwork.ozlabs.org/patch/634512/

This produces a column like "[00/10] Add series support". Should we
filter out the [00/10] part to make the column nicer to read?


_______________________________________________
Patchwork mailing list
Patchwork@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/patchwork

Reply via email to