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

View Case Activity: add the fieldID to custom fields in the tpl

    Details

    • Type: Improvement
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.6
    • Fix Version/s: None
    • Component/s: CiviCase
    • Labels:
      None
    • Documentation Required?:
      None

      Description

      This is a really trivial patch to add the "fieldID" to customgroups/fields when they are passed to the smarty template.

      It makes it easier to theme specific custom fields in "View Activity" popups, because this way we can add classes such as

      <td [...] class="myextension-case-act-view-field-{$customField.fieldID}-value">

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mlutfy Mathieu Lutfy
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: