mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-74367 recentlyaccesseditems: full name in item card tooltip
This commit is contained in:
parent
e5d207a518
commit
c32c3e89ef
2 changed files with 6 additions and 5 deletions
|
@ -42,7 +42,7 @@
|
||||||
|
|
||||||
<div class="card-deck dashboard-card-deck one-row" data-region="items-list" role="list">
|
<div class="card-deck dashboard-card-deck one-row" data-region="items-list" role="list">
|
||||||
{{#items}}
|
{{#items}}
|
||||||
<a class="card dashboard-card mb-1" href="{{{viewurl}}}">
|
<a class="card dashboard-card mb-1" href="{{{viewurl}}}" title="{{{name}}}">
|
||||||
<div class="card-body p-2 m-1">
|
<div class="card-body p-2 m-1">
|
||||||
<div class="d-flex text-truncate">
|
<div class="d-flex text-truncate">
|
||||||
<div class="d-flex align-self-center activityiconcontainer {{purpose}}">
|
<div class="d-flex align-self-center activityiconcontainer {{purpose}}">
|
||||||
|
|
|
@ -31,7 +31,7 @@ Feature: The recently accessed items block allows users to easily access their m
|
||||||
When I am on the "Test forum name" "forum activity" page
|
When I am on the "Test forum name" "forum activity" page
|
||||||
And I follow "Dashboard"
|
And I follow "Dashboard"
|
||||||
Then I should see "Test forum name" in the "Recently accessed items" "block"
|
Then I should see "Test forum name" in the "Recently accessed items" "block"
|
||||||
And I should not see "Show/hide more" in the "Recently accessed items" "block"
|
And I should not see "Show more items" in the "Recently accessed items" "block"
|
||||||
|
|
||||||
Scenario: User has accessed more than 3 items
|
Scenario: User has accessed more than 3 items
|
||||||
Given the following "activities" exist:
|
Given the following "activities" exist:
|
||||||
|
@ -42,13 +42,14 @@ Feature: The recently accessed items block allows users to easily access their m
|
||||||
| data | Test database name | Test database description | C1 | data1 |
|
| data | Test database name | Test database description | C1 | data1 |
|
||||||
And I change window size to "large"
|
And I change window size to "large"
|
||||||
And I am on the "Test forum name" "forum activity" page
|
And I am on the "Test forum name" "forum activity" page
|
||||||
|
And I am on the "Test database name" "data activity" page
|
||||||
And I am on the "Test assignment name" "assign activity" page
|
And I am on the "Test assignment name" "assign activity" page
|
||||||
And I am on the "Test book name" "book activity" page
|
And I am on the "Test book name" "book activity" page
|
||||||
And I am on the "Test choice name" "choice activity" page
|
And I am on the "Test choice name" "choice activity" page
|
||||||
When I follow "Dashboard"
|
When I follow "Dashboard"
|
||||||
Then I should see "Show more" in the "Recently accessed items" "block"
|
Then I should see "Show more items" in the "Recently accessed items" "block"
|
||||||
And I should not see "Test forum name" in the "Recently accessed items" "block"
|
And I should not see "Test forum name" in the "Recently accessed items" "block"
|
||||||
And I follow "Show more..."
|
And I click on "Show more items" "button"
|
||||||
And I should see "Test forum name" in the "Recently accessed items" "block"
|
And I should see "Test forum name" in the "Recently accessed items" "block"
|
||||||
And I turn editing mode on
|
And I turn editing mode on
|
||||||
And I configure the "Recently accessed items" block
|
And I configure the "Recently accessed items" block
|
||||||
|
@ -56,4 +57,4 @@ Feature: The recently accessed items block allows users to easily access their m
|
||||||
| Region | content |
|
| Region | content |
|
||||||
And I press "Save changes"
|
And I press "Save changes"
|
||||||
And I turn editing mode off
|
And I turn editing mode off
|
||||||
And I should not see "Show more" in the "Recently accessed items" "block"
|
And I should not see "Show more items" in the "Recently accessed items" "block"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue