Uploaded image for project: 'Custom (Development Kit)'
  1. Custom (Development Kit)
  2. MCUS-9

Use Default Template parameters in Admin templates

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.2-B1
    • Fix Version/s: 1.1.2-RC1
    • Component/s: General
    • Labels:
      None

      Description

      Currently in list/edit templates at least 3 words are repeated a lot, which makes harder to create one section from another:

      • unit config prefix
      • grid name

      We could unify them by using <inp2:m_DefaultParam tag like this:

      <inp2:m_DefaultParam prefix="widget" grid="Default" title_preset="widget_list" section="custom:widgets" edit_template="custom/widgets/widget_edit" id_field="WidgetId"/>

      and where needed replace "widget" with $prefix (when inside the tag) and with <inp2:m_Param name="prefix"/> (when inside HTML).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                dmitry Dmitry Andrejev [Intechnic]
                Developer:
                Dmitry Andrejev [Intechnic]
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: