Fix annoying bug with the stream list in the menu that made it bail
out with a mysterious traceback on 500s - Legacy-Id: 3686
This commit is contained in:
parent
2b4f6f3751
commit
576b2bacce
|
@ -49,8 +49,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
<li><a href="{% url ietf.iesg.views.telechat_dates %}">Telechat Dates</a></li>
|
||||
<li><a href="{% url iesg_working_group_actions %}">Working Groups</a></li>
|
||||
{% endif %}
|
||||
{% if user %}
|
||||
{% get_user_managed_streams user as stream_list %}
|
||||
{% if stream_list %}
|
||||
<li class="sect{% if not user|in_group:"Area_Director,Secretariat" %} first{% endif %}">Streams</li>
|
||||
{% for stream in stream_list %}
|
||||
<li{% if forloop.last %} style="margin-bottom: 2px;"{% endif %}><a href="{% url stream_delegates stream.name %}">{{ stream.name }} stream</a></li>
|
||||
|
|
Loading…
Reference in a new issue