Details

    • Type: Sub-task
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: HR-1.0
    • Fix Version/s: HR-1.0
    • Component/s: None
    • Labels:
      None

      Description

      A picture needs to be included for each individual listed in the Directory. This should be a thumbnail that could be enlarged by the user clicking on it or by choosing to view more detail about the individual.

      1. Update the profile form in hrstaffdir to include "image_url" as the first column
      2. Inject some jQuery to convert the textual into a suitable image. (You should be able to get the image using something like: cj('form#Search .crm-profile-name-hrstaffdir crm-image_URL'))

      Note: It appears that the handling of the picture was recently updated in CRM-11137. You might want to look at how that was implemented to see if there are any good ideas or re-usable bits.

      Note: The profile form used by the staff directory is also used (by default) on the search-results screen. Please make sure that the search-results screen doesn't show the staff URL. (There are several ways one might do this – eg display the image_URL using a similar technique on the staff screen; or make a second copy of the profile – the staffdir copy should include image_URL and the search-result should omit it; choose whatever is easiest)

        Attachments

          Activity

            People

            • Assignee:
              nishant.bhorodia Nishant Bhorodia
              Reporter:
              timotten Tim Otten
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 4 hours Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 20 minutes
                1d 4h 20m