Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2902

Database: css template is not applied

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: DEV backlog
    • Fix Version/s: 3.6.1
    • Component/s: Database add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device on  3.3 site.

      1. In web, create a  database activity and add some entries.
      2. Set the CSS template to:
        table {
            color: green;
        }
      3. In the app, go to the database activity.
      4. Check that the list of entries is displayed in green text.
      5. View an entry individually and check the text is green.
      6. Edit an entry and check the text is green.
      7. In web, set the CSS template to blank.
      8. In the app, check that database entries are displayed without errors and the text is black.

       

      Show
      Test on any device on  3.3 site. In web, create a  database activity and add some entries. Set the CSS template to: table {     color: green; } In the app, go to the database activity. Check that the list of entries is displayed in green text. View an entry individually and check the text is green. Edit an entry and check the text is green. In web, set the CSS template to blank. In the app, check that database entries are displayed without errors and the text is black.  
    • Fixed Branches:
      MOODLE_36_STABLE
    • Pull Master Branch:

      Description

      The style element is added to the DOM but it contains "<style>{{ cssTemplate }}</style>".

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                29/Mar/19