Code

Opened 4 years ago

Closed 4 years ago

#14048 closed (invalid)

Tag "cycle" doesn't work when included

Reported by: obiwanus Owned by: nobody
Component: Template system Version: 1.2
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Example:

base.html

<table>
<tr class="{% include 'cycle.html' %}">
    ...
</tr>
</table>

cycle.html

{% cycle 'row1' 'row2' %}

The result of cycle tag will always be 'row1'.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to invalid
  • Status changed from new to closed

Working as designed, for reasons that are documented in the 1.2 release notes.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.