Merge branch 'MDL-82551-401' of https://github.com/junpataleta/moodle into MOODLE_401_STABLE

This commit is contained in:
Shamim Rezaie
2024-07-25 11:53:53 +10:00
3 changed files with 21 additions and 5 deletions
@@ -27,9 +27,8 @@
<div class="text-xs-center text-center mt-4" data-region="empty-message">
<img
src="{{noitemsimgurl}}"
alt="{{#str}} noitems, block_recentlyaccesseditems {{/str}}"
role="presentation"
alt=""
style="height: 70px; width: 70px;"
>
<p class="text-muted mt-3 mb-0">{{#str}} noitems, block_recentlyaccesseditems {{/str}}</p>
</div>
</div>
+2 -2
View File
@@ -25,7 +25,7 @@
}
}}
{{#welcomemessage}}
<h2 class="mb-3 mt-3">
<h1 class="h2 mb-3 mt-3">
{{.}}
</h2>
</h1>
{{/welcomemessage}}
+17
View File
@@ -30,3 +30,20 @@ Feature: Welcome message
And I should see "You are not logged in" in the "page-footer" "region"
And I log in as "admin"
Then I should see "Hi, Admin!" in the "page-header" "region"
@accessibility @javascript
Scenario Outline: The start page must meet accessibility standards when the welcome message is displayed
Given the following config values are set as admin:
| defaulthomepage | <defaulthomepage> |
When I log in as "admin"
Then I should see "Welcome, Admin!" in the "page-header" "region"
And the page should meet accessibility standards
Examples:
| defaulthomepage |
# Home.
| 0 |
# Dashboard.
| 1 |
# My courses.
| 2 |