mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-83593_404' of https://github.com/lostrogit/moodle into MOODLE_404_STABLE
This commit is contained in:
commit
1334a9ef95
@ -47,7 +47,14 @@
|
||||
>
|
||||
{{#pix}} e/cancel, core {{/pix}}
|
||||
</button>
|
||||
{{$drawerheading}}{{/drawerheading}}
|
||||
<a
|
||||
href="{{{ config.homeurl }}}"
|
||||
title="{{{ sitename }}}"
|
||||
data-region="site-home-link"
|
||||
class="aabtn text-reset d-flex align-items-center py-1 h-100 d-md-none"
|
||||
>
|
||||
{{$drawerheading}}{{/drawerheading}}
|
||||
</a>
|
||||
<div class="drawerheadercontent hidden">
|
||||
{{$drawerheadercontent}}{{/drawerheadercontent}}
|
||||
</div>
|
||||
|
@ -54,6 +54,8 @@ Feature: Primary navigation
|
||||
And "Side panel" "button" should exist
|
||||
And I click on "Side panel" "button"
|
||||
And I should see "Home" in the "theme_boost-drawers-primary" "region"
|
||||
And I click on "[data-region='site-home-link']" "css_element"
|
||||
And I should see "Dashboard" in the "page-header" "region"
|
||||
|
||||
@theme_boost
|
||||
Scenario: Guest users can only see the Home item in the primary navigation menu
|
||||
|
Loading…
x
Reference in New Issue
Block a user