Uploaded image for project: 'In-Portal CMS'
  1. In-Portal CMS
  2. INP-1476

Allow to customize "st_AdminEditButton" tag

    XMLWordPrintable

    Details

    • Type: Bug Report
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2-B3
    • Component/s: CMS
    • Labels:
      None
    • Change Log Group:
      Fixed
    • Change Log Message:
      The <inp2:st_AdminEditButton/> tag was ignoring values of "button_title", "button_icon" and "button_class" parameters.
    • Story Points:
      1
    • Copy Issue Key:
    • Patch Instructions:

      Patches must be submitted through Phabricator.

      Description

      Commits: rPLS18683 (don't use "default_look" approach from there).

      Plan

      1. pass "button_icon", "button_class" and "button_title" parameters to "st_AdminEditButton" tag call made from "st_EditPage" tag
      2. the code, that sets these parameters in the "st_AdminEditButton" tag needs to be removed
      3. remove $object variable that is never used
      4. confirm, that using <inp2:st_AdminEditButton/> tag will produce green "Edit Item" button with pencil icon

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alex Alex
                Reporter:
                alex Alex
                Developer:
                Erik Snarski [Intechnic]
                Reviewer:
                Alex
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: