On Fri, 2017-02-24 at 14:49 +1100, Daniel Axtens wrote:
> Hi Stephen,
>
> > class="btn btn-default" role="button" data-toggle="tooltip"
> > title="Download patch mbox">mbox</a>
> > + {% if submission.latest_series %}
> > + <button type="button" class="btn btn-default dropdown-toggle"
> > + data-toggle="dropdown">
> > + series <span class="caret"></span>
> > + </button>
> > + <ul class="dropdown-menu" role="menu">
> > + {% for series in submission.series.all %}
> > + <li><a href="{% url 'series-mbox' series_id=series.id %}"
> > + >{{ series }}</a></li>
> > + {% endfor %}
> > + </ul>
> > + {% endif %}
>
> Can we test at runtime if there are multiple series and only do a
> drop-down if necessary?
Sure. Let me whip that together for v3.
Stephen
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork