*{{=A(T('New Ticket'), _href='#', **_style=('text-decoration: bold;' if** '/ttracker/index' in request.env.path_info else None))}} *
On Friday, 28 December 2012 05:42:07 UTC-6, _developer_ wrote: > > I have a following problem with the syntax, > who can help me here please. > here is my code: > > *{{=A(XML(T('New Ticket')), _href='#', [if '/ttracker/index' in > request.env.path_info: _style='text-decoration: bold;' pass])}} * > > syntax error: [if... > what is the correct syntax? > --