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

Use filter for assignment name in grader view

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.5, 3.2.2
    • 3.1.4, 3.2, 3.3
    • Assignment
    • MOODLE_31_STABLE, MOODLE_32_STABLE, MOODLE_33_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-57592-master
    • Hide
      1. Enable the multi-language content filter to apply to "Content and headings" (Site administration  ► Plugins  ► Filters  ► Manage filters).
      2. Create a assignment activity and set the name with multi language tags.
        Example: <span lang="de" class="multilang">Aufgabe</span><span lang="en" class="multilang">Assignment</span> "
      3. Go to the assignment -> grade
      4. The assignment name in the upper left corner of the grader view should be displayed as the corresponding lang-matching name
      Show
      Enable the multi-language content filter to apply to "Content and headings" (Site administration  ► Plugins  ► Filters  ► Manage filters). Create a assignment activity and set the name with multi language tags. Example: <span lang="de" class="multilang">Aufgabe</span><span lang="en" class="multilang">Assignment</span> " Go to the assignment -> grade The assignment name in the upper left corner of the grader view should be displayed as the corresponding lang-matching name

      Hi,

      When using the multi language tags with the available multi language filter the name of the assignment gets proper converted by the multilang filter in the course view.
      However, if we go to the grader view of the assignment then the raw text of the name property with all the multi language tags is displayed on the upper left corner.
      It seems there is a format_string() call missing when processing the name property in export_for_template().

      regards
      Mario

            mwehr Mario Wehr
            mwehr Mario Wehr
            Adrian Greeve Adrian Greeve
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Damyon Wiese Damyon Wiese
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.