From: Fabien Potencier Date: Sun, 30 Dec 2012 15:51:54 +0000 (+0100) Subject: fixed wrong version in the docs X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=45850f554f048a3693ebc53d7d2db78e9bc4dd05;p=web%2Fkonrad%2Ftwig.git fixed wrong version in the docs --- diff --git a/doc/templates.rst b/doc/templates.rst index e45b7a8..93f3108 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -722,8 +722,8 @@ tests. Other Operators ~~~~~~~~~~~~~~~ -.. versionadded:: 1.11.2 - Support for the extended ternary operator was added in Twig 1.11.2. +.. versionadded:: 1.12.0 + Support for the extended ternary operator was added in Twig 1.12.0. The following operators are very useful but don't fit into any of the other categories: @@ -746,7 +746,7 @@ categories: {{ foo ? 'yes' : 'no' }} - {# as of Twig 1.11.2 #} + {# as of Twig 1.12.0 #} {{ foo ?: 'no' }} == {{ foo ? foo : 'no' }} {{ foo ? 'yes' }} == {{ foo ? 'yes' : '' }}