mirror of
https://github.com/moodle/moodle.git
synced 2025-04-24 18:04:43 +02:00
MDL-40759 fontawesome: Minor cleanups
Remove eslint hints that are not required and revert changes to the behat test for recycle bin that are not needed.
This commit is contained in:
parent
07171e831e
commit
42d4689c65
admin/tool/recyclebin/tests/behat
lib/amd/src
@ -23,7 +23,6 @@ Feature: Basic recycle bin functionality
|
||||
| categorybinexpiry | 1209600 | tool_recyclebin |
|
||||
| autohide | 0 | tool_recyclebin |
|
||||
|
||||
@javascript
|
||||
Scenario: Restore a deleted assignment
|
||||
Given I log in as "teacher1"
|
||||
And I follow "Course 1"
|
||||
@ -32,7 +31,6 @@ Feature: Basic recycle bin functionality
|
||||
| Assignment name | Test assign |
|
||||
| Description | Test |
|
||||
And I delete "Test assign" activity
|
||||
And I run all adhoc tasks
|
||||
When I navigate to "Recycle bin" node in "Course administration"
|
||||
Then I should see "Test assign"
|
||||
And I should see "Contents will be permanently deleted after 7 days"
|
||||
|
@ -83,7 +83,7 @@ define(['core/icon_system', 'jquery', 'core/ajax', 'core/mustache', 'core/locals
|
||||
* @return {String}
|
||||
* @method renderIcon
|
||||
*/
|
||||
IconSystemFontawesome.prototype.renderIcon = function(key, component, title, template) { // eslint-disable-line no-unused-vars
|
||||
IconSystemFontawesome.prototype.renderIcon = function(key, component, title, template) {
|
||||
var mappedIcon = staticMap[component + '/' + key];
|
||||
if (typeof mappedIcon === "undefined") {
|
||||
mappedIcon = component + '/' + key;
|
||||
|
@ -42,7 +42,7 @@ define(['core/icon_system', 'core/url', 'core/mustache'],
|
||||
* @return {String}
|
||||
* @method renderIcon
|
||||
*/
|
||||
IconSystemStandard.prototype.renderIcon = function(key, component, title, template) { // eslint-disable-line no-unused-vars
|
||||
IconSystemStandard.prototype.renderIcon = function(key, component, title, template) {
|
||||
var url = CoreUrl.imageUrl(key, component);
|
||||
|
||||
var templatecontext = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user