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

Logo not output in the navbar on page-site-index

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.9.2
    • Fix Version/s: None
    • Component/s: Themes, UX
    • Labels:
    • Affected Branches:
      MOODLE_39_STABLE

      Description

      Steps to replicate:

      Add a logo to your moodle admin/settings.php?section=logos

      Use the boost theme.

      Navigate to the site front page.

      Note the logo is not displayed in the navbar as it is on other pages.

      Details:

      The site page index does not output the logo in the navbar.

       

      <a href="http://localhost:8888/moodle" class="navbar-brand aabtn 
                          d-none d-sm-inline
                          ">
                      <span class="site-name d-none d-md-inline">sitename</span>
                  </a>
      

       

      On other pages it does.

       

      <a href="http://localhost:8888/moodle" class="navbar-brand aabtn has-logo
                          ">
                          <span class="logo d-none d-sm-inline">
                              <img src="http://localhost:8888/moodle/pluginfile.php/1/core_admin/logocompact/300x300/1599835116/site-logo.png" alt="moodle">
                          </span>
                      <span class="site-name d-none d-md-inline">sitename</span>
                  </a>
      

       

      This means when a user lands on the site index they get no brand logo.

       

       

      Acceptance criteria:

       The logo is output on the site index page as it is everywhere else.

       

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            stuartlamour Stuart Lamour
            Participants:
            Component watchers:
            Huong Nguyen, Bas Brands, Mathew May, Huong Nguyen, Barbara Ramiro, Bas Brands, Mathew May
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: