Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.3, 2.1.1, 2.2
    • Fix Version/s: 2.0.5, 2.1.2
    • Component/s: Blocks
    • Labels:
    • Testing Instructions:
      Hide
      1. Log in as an admin
      2. In a course create an html block and give it a multilang block
      3. While editing the block go to the permissions screen for the block (Settings block > Block: blockname > Permissions)
      4. Remove the teachers ability to edit the block by removing teacher from the roles with permission list (moodle/block:edit)
      5. Log in as the teacher
      6. Browse to edit the block
      7. Make sure you see the translated strip and not the raw string.

      Multilang string example: <span class="multilang" lang="en">Some</span><span class="multilang" lang="nz">Sum</span>

      Show
      Log in as an admin In a course create an html block and give it a multilang block While editing the block go to the permissions screen for the block (Settings block > Block: blockname > Permissions) Remove the teachers ability to edit the block by removing teacher from the roles with permission list (moodle/block:edit) Log in as the teacher Browse to edit the block Make sure you see the translated strip and not the raw string. Multilang string example: <span class="multilang" lang="en">Some</span><span class="multilang" lang="nz">Sum</span>
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE
    • Pull Master Branch:
      wip-MDL-29006-master

      Description

      We created sticky blocks on mymoodle of type block_html like described in MDL-26103.
      In the block title, we used multilang tags to support several languages.

      If the user views the block, multilang filter works as expexted. When the user clicks on "edit block", he is shown the preference page of the block. That's ok for this ticket. On this preference page, the block title field is read-only, which is also totally ok.

      The Problem is now: multilang filter is not applied on the block title field, so the multilang tags are visible to the user.

      See (german) screenshot attached for clarification.

        Attachments

          Activity

            People

            Assignee:
            samhemelryk Sam Hemelryk
            Reporter:
            abias Alexander Bias
            Peer reviewer:
            Andrew Davis
            Integrator:
            Eloy Lafuente (stronk7)
            Tester:
            Rossiani Wijaya
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              10/Oct/11