[MGNLSTK-678] Conditional Comments für CSS und JS Dateien Created: 24/Aug/10  Updated: 13/Jun/13  Resolved: 13/Jun/13

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: base system
Affects Version/s: 1.3.4
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Stefan Baur Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0.5d
Time Spent: Not Specified
Original Estimate: 0.5d

Template:
Acceptance criteria:
Empty

 Description   

It would be very nice, if the bean info.magnolia.module.templatingkit.resources.Resource had a property for conditional comments. If the property is set, the file is rendered in a conditional comment.

Example for js:

<!--[if lte IE 6]>
<script src="js/DD_belatedPNG_0.0.8a-min.js" type="text/javascript"></script>
<![endif]-->

Example for css:
<!--[if lte IE 6]>
<link href="stylesheets/ie6.css" rel="stylesheet" type="text/css" />
<![endif]-->



 Comments   
Comment by Stefan Baur [ 18/Jan/13 ]

Going through my reported tickets...

This has been nicely implemented with STK 2! Thank you. Can be closed...

Generated at Mon Feb 12 07:29:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.