Fix a legacy call to cycle in the log template.

Review Request #10839 — Created Jan. 19, 2020 and submitted

chipx86
Djblets
release-2.0.x
djblets

We have a call to {% cycle %} in the log template that uses legacy
syntax, which isn't supported on Django 1.11. This is a simple update
that switches it to use the modern syntax, compatible on both 1.6 and
1.11.

Tested the log viewer. It rendered without breaking on Django 1.11.

Summary
Fix a legacy call to cycle in the log template.
bui1
  1. Looks good to me! I referenced https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#cycle to doublecheck the syntax as well

  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (82eadd4)
Loading...