Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54962

Apparently no text string assigned to ##approvalstatus## tag

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Create a database activity.
      2. Under 'Entries' change 'Approval required' to yes.
      3. Add a field or two to the activity.
      4. When saving the templates click the ##approvalstatus## to add it to the template. ##approvalstatus## is locate under the title "Other" in the box with the title of "Available tags". Add this "tag" to at least the list template.
      5. Log in as a student and add an entry.
      6. Log in as a teacher and view the entries in the list view.
      7. Approved entries should be labelled "Approved", Unapproved entries should be labelled "Entry is not approved yet."
      8. Change the language and check that the approval status changes from English.
      Show
      Create a database activity. Under 'Entries' change 'Approval required' to yes. Add a field or two to the activity. When saving the templates click the ##approvalstatus## to add it to the template. ##approvalstatus## is locate under the title "Other" in the box with the title of "Available tags". Add this "tag" to at least the list template. Log in as a student and add an entry. Log in as a teacher and view the entries in the list view. Approved entries should be labelled "Approved", Unapproved entries should be labelled "Entry is not approved yet." Change the language and check that the approval status changes from English.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      wip-MDL-54962-master

      Description

      In a list of database entries ("View list") "approved" or "unapproved" labels appear against ##approvalstatus## tag in the list template. It happens disregarding to a language pack, see two screenshots for English and Russian, though in the language packs there are appropriate text strings.

      It'd be nice to get them displayed in database lists

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abgreeve Adrian Greeve
              Reporter:
              goryntsev Alexander Goryntsev
              Peer reviewer:
              Jun Pataleta
              Integrator:
              David Monllaó
              Tester:
              Rajesh Taneja
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Sep/16