[PATCH v3 6/7] templates: Integrate series support
Andy Doan
andy.doan at linaro.org
Fri Sep 23 06:09:04 AEST 2016
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 <stephenfinucane at 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?
More information about the Patchwork
mailing list