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

Edit profile field: javascript user messages are not localised

    Details

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

      Description

      1. There are a number of new user alerts / messages in the Javascript code in templates/CRM/UF/Form/Field.tpl - but none of them are localised.

      2. Results Column field should not be allowed to be selected for Group(s) profile field - since it does NOT actually work (we ignore it when rendering the search results columns). We should either hide this checkbox when user selects Group(s) (first choice), or give this alert if they check the box - "Group(s) field can not be included in search Results Columns.".

          • NOTE: As part of this issue, we should see if there's an easy way to grep of the other new Javascript embedded user messages, since this is the 2nd instance of this I've come across accidentally. And we should come up with a standard approach to handling this - probably defining the messages above the jscript function so we don't have to use {literal}

            tags all over the place - and then train the whole team on this. Also, the new messages needed quite a bit of rewrite for proper syntax. If a team member is creating complex user messages - they should probably get them reviewed.

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 15 minutes
                15m
                Remaining:
                Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - Not Specified
                Not Specified