Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-693

View Custom Data Values - Cleanup extraneous layout code

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.4
    • Component/s: None
    • Labels:
      None

      Description

      Contact/Page/View/InlineCustomData.tpl - remove extraneous options per line table creation code - since it is not used in 'view/browse mode'.

      Make sure and leave hard-coded   for all field value slots (<dd> </dd>) since otherwise the <dl>... layout messes up on empty fields (labels misaligned to field values).

      Check non-inline tpl for similar issue. Also, why are we inserting <tt> tags (view html source on contact/view page)? Should be removed from underlying code.

      NOTE: These issues are legacy from the time when we DISPLAYED all possible options in view mode for multiple choice (checkbox and radio) fields. Back then, we needed to pay attention to the 'options per line' param in BOTH view and update mode. Now, we only need to use that param in update mode.

        Attachments

          Activity

            People

            • Assignee:
              deepak Deepak Srivastava
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: