Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-1302

pages: pass view name to template, use view name as a template postfix

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.2
    • None
    • admininterface
    • None

      Pass the view name as a string data value to the template (one template multiple views for example)

      Use the view name to build the template name in case the view is not 'show'.

      class = mypackage.MyPage and view = "error" --> /mypackage/MyPageError.html

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: