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

Navbar when user is not logged in

    XMLWordPrintable

    Details

    • Affected Branches:
      MOODLE_400_STABLE
    • Fixed Branches:
      MOODLE_400_STABLE
    • Pull Master Branch:
    • Testing Instructions:
      Hide

      Matches designs provided by Rafaels' scenarios

      More in-depth testing,

       Requirements:

      1. Site with patch applied
      2. Site is currently using Boost theme

      Testing instructions:

      Test 1 (Default configuration):

      1. Navigate to the site whilst not logged in
      2. Confirm You only see the text 'Log in' in the nav bar
      3. Confirm You do not see the text 'You are not logged in.' in the nav bar

      Test 2 (Default with global search):

      1. Continuing from Test 1
      2. Log in as admin
      3. Navigate to Advanced features in site administration
      4. Enable global search
      5. Save the page
      6. Log out
      7. Confirm You see the text 'Log in' in the nav bar
      8. Confirm You see a search icon next to 'Log in'
      9. Confirm You see a divider between 'Log in' & the search icon

      Test 3 (Default with language packs):

      1. Continuing from Test 2
      2. Log in as admin
      3. Navigate to Advanced features in site administration
      4. Disable global search
      5. Save the page
      6. Navigate to Language packs in site administration
      7. Install one new language onto the site
      8. Log out
      9. Confirm You see the text 'Log in' in the nav bar
      10. Confirm You do not see a search icon next to 'Log in'
      11. Confirm You see the language selector next to 'Log in'
      12. Confirm You see a divider between 'Log in' & the language selector

      Test 4 (Default with both global search and language packs)

      1. Continuing from Test 3
      2. Log in as admin
      3. Navigate to Advanced features in site administration
      4. Enable global search
      5. Save the page
      6. Log out
      7. Confirm You see the text 'Log in' in the nav bar
      8. Confirm You see the language selector next to 'Log in'
      9. Confirm You see a divider between 'Log in' & the language selector
      10. Confirm You do see a search icon next to the language selector
      11. Confirm You see a divider between the search icon & the language selector
      12. Confirm You do not see a search icon next to 'Log in'

      Test 5 (Classic check)

      1. Log in as admin
      2. Change the theme to classic
      3. Log out
      4. Confirm You see the text 'You are not logged in.' in the nav bar
      5. Confirm You do not see a divider between the search icon & 'You are not logged in.'

       

      Show
      Matches designs provided by Rafaels' scenarios More in-depth testing,  Requirements: Site with patch applied Site is currently using Boost theme Testing instructions: Test 1 (Default configuration): Navigate to the site whilst not logged in Confirm You only see the text 'Log in' in the nav bar Confirm You do not see the text 'You are not logged in.' in the nav bar Test 2 (Default with global search): Continuing from Test 1 Log in as admin Navigate to Advanced features in site administration Enable global search Save the page Log out Confirm You see the text 'Log in' in the nav bar Confirm You see a search icon next to 'Log in' Confirm You see a divider between 'Log in' & the search icon Test 3 (Default with language packs): Continuing from Test 2 Log in as admin Navigate to Advanced features in site administration Disable global search Save the page Navigate to Language packs in site administration Install one new language onto the site Log out Confirm You see the text 'Log in' in the nav bar Confirm You do not see a search icon next to 'Log in' Confirm You see the language selector next to 'Log in' Confirm You see a divider between 'Log in' & the language selector Test 4 (Default with both global search and language packs) Continuing from Test 3 Log in as admin Navigate to Advanced features in site administration Enable global search Save the page Log out Confirm You see the text 'Log in' in the nav bar Confirm You see the language selector next to 'Log in' Confirm You see a divider between 'Log in' & the language selector Confirm You do see a search icon next to the language selector Confirm You see a divider between the search icon & the language selector Confirm You do not see a search icon next to 'Log in' Test 5 (Classic check) Log in as admin Change the theme to classic Log out Confirm You see the text 'You are not logged in.' in the nav bar Confirm You do not see a divider between the search icon & 'You are not logged in.'  
    • Story Points:
      1
    • Sprint:
      Navigation push 9

      Description

      Right now, in the prototype site, this is how the navbar looks when the user is not logged in:

       

      These are the proposed rules, for each scenario:

      1)
      Configuration:
      Global search: activated
      Language packs: more than one

      Printed in the UI:
      Global search icon/module
      Divider
      Language selector
      Divider
      Log in (Only the link, no "You are not logged in." string next to it)

      2)
      Configuration:
      Global search: activated
      Language packs: only one

      Printed in the UI:
      Global search icon/module
      Divider
      Log in (Only the link, no "You are not logged in." string next to it)

      3)
      Configuration:
      Global search: not activated
      Language packs: more than one

      Printed in the UI:
      Language selector
      Divider
      Log in (Only the link, no "You are not logged in." string next to it)

      4)
      Configuration:
      Global search: not activated
      Language packs: only one

      Printed in the UI:
      Log in (Only the link, no "You are not logged in." string next to it)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mathewmay Mathew May
              Reporter:
              rafaellechugo Rafael Lechugo
              Peer reviewer:
              Bas Brands Bas Brands
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              Gladys Basiana Gladys Basiana
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Sujith Haridasan, Huong Nguyen, Bas Brands, Mathew May
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours, 35 minutes
                  4h 35m