[
http://jira.magnolia-cms.com/browse/MGNLSTK-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Dertinger updated MGNLSTK-686:
-----------------------------------
Attachment: calendar.ftl.patch
Attached patch based on the code from the current stk trunk.
Cheers,
Matt
> HTML produced by calendar template is not correct
> -------------------------------------------------
>
> Key: MGNLSTK-686
> URL: http://jira.magnolia-cms.com/browse/MGNLSTK-686
> Project: Magnolia Standard Templating Kit
> Issue Type: Bug
> Components: paragraphs
> Affects Versions: 1.3.5
> Reporter: Jan Haderka
> Assignee: Philipp Bärfuss
> Priority: Major
> Attachments: calendar.ftl.patch
>
>
> {{<a/>}} or {{<td/>}} tags are not closed properly, depending on the
> conditions.
> {noformat}
> <tr>
> <th class="cw">${model.getCalendarItem(x, 1).week}</th>
> [#list 1 .. 7 as y]
> [#assign item = model.getCalendarItem(x, y)]
> <td ${mgnl.createAttribute("class", item.cssClass)}>
> [#if item.visible]
> [#if item.link??]
> <a href="${item.link}">${item.day}</td>
> [#else]
> ${item.day}
> [/#if]
> [/#if]
> [/#list]
> </tr>
> {noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------