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

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

    XMLWordPrintable

Details

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

    Description

      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

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD