#3324: Nesting in templates/browser.cs has a close-tr outside the if that opens
it
-------------------------------------------+--------------------------------
Reporter: Tim Hatch <[EMAIL PROTECTED]> | Owner: jonas
Type: defect | Status: new
Priority: normal | Milestone:
Component: general | Version: devel
Severity: normal | Keywords:
-------------------------------------------+--------------------------------
Simple fix - just move the {{{</tr>}}} inside the {{{/if}}}. Without the
fix, outputs {{{</tr></tr>}}} when viewing files that don't have props.
P.S. Where should I report mimeview- or template-related tickets?
{{{
#!diff
Index: templates/browser.cs
===================================================================
--- templates/browser.cs (revision 3483)
+++ templates/browser.cs (working copy)
@@ -106,8 +106,8 @@
<li>Property <strong><?cs var:prop.name ?></strong> set to
<em><code><?cs
var:prop.value ?></code></em></li><?cs
/each ?>
- </ul></td><?cs
- /if ?></tr>
+ </ul></td></tr><?cs
+ /if ?>
</table><?cs
/if ?><?cs
}}}
--
Ticket URL: <http://projects.edgewall.com/trac/ticket/3324>
The Trac Project <http://trac.edgewall.com/>
_______________________________________________
Trac-Tickets mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-tickets