Dotclear

Ticket #1978 (closed enhancement: fixed)

Opened 10 years ago

Last modified 9 years ago

<tpl:LoopPosition> attribute 'even' should be 'mod'

Reported by: bdjnk Owned by: team
Priority: normal Milestone: 2.7
Component: module:core Version: 2.6.4
Severity: normal Keywords:
Cc:

Description

I hope English is okay instead of French

The <tpl:LoopPosition> attribute 'even' should be 'mod' (modulus) instead. This would offer more flexibility without sacrificing functionality.

Attachments

mod.patch Download (1.9 KB) - added by bdjnk 10 years ago.

Change History

Changed 10 years ago by bdjnk

comment:1 Changed 9 years ago by franck <carnet.franck.paul@…>

  • Status changed from new to closed
  • Resolution set to fixed

(In [65395d6bf0a5]) Extends loopPosition in order to specify a modulo. Fixes #1978

comment:2 Changed 9 years ago by franck

  • Milestone changed from A definir to 2.7

comment:3 Changed 9 years ago by franck

Note that modulo="x" cannot replace even="0", but only even="1", so the two attributes are useful.

Note: See TracTickets for help on using tickets.

Sites map