[MGNLSTK-686] HTML produced by calendar template is not correct Created: 04/Oct/10 Updated: 04/Nov/15 Resolved: 04/Nov/15 |
|
| Status: | Closed |
| Project: | Magnolia Standard Templating Kit (closed) |
| Component/s: | paragraphs |
| Affects Version/s: | 1.3.5 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Jan Haderka | Assignee: | Philipp Bärfuss |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Date of First Response: |
| Description |
|
<a/> or <td/> tags are not closed properly, depending on the conditions. <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>
|
| Comments |
| Comment by Matt Dertinger [ 31/Oct/11 ] |
|
Attached patch based on the code from the current stk trunk. Cheers, |
| Comment by Michael Mühlebach [ 04/Nov/15 ] |
|
Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes. |