Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-678

Conditional Comments für CSS und JS Dateien

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.3.4
    • base system
    • None

      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]-->

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              sbaur Stefan Baur
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 0.5d
                  0.5d
                  Remaining:
                  Remaining Estimate - 0.5d
                  0.5d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified