Moodle 2.5 Clean theme printing

Moodle 2.5 Clean theme printing

Greg Rodenhiser -
回帖数:5

I have Moodle 2.5 installed and am using the included clean theme, however we've run into a weird issue.  Whenever we attempt to print from Moodle the printout includes all the URLs in parentheses after their links.

 

For example the navigation block prints Home (https://<OUR_MOODLE_URL>).

 

Anyone else seeing this?  This is occurring on both my prod and DEV Moodle 2.5 using this theme. 

回复Greg Rodenhiser

Re: Moodle 2.5 Clean theme printing

Mary Evans -

Hi, If you feel this is a BUG in Clean theme then you need to report it as such in Moodle Tracker so that the theme developers can take a look at it.

Thank you,

Mary

回复Greg Rodenhiser

Re: Moodle 2.5 Clean theme printing

Mary Evans -

Hi,

I had forgotten all about MDL-40321 until Gareth reminded me. It looks like it is the same bug.

Mary

回复Mary Evans

Re: Moodle 2.5 Clean theme printing

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

As a quick fix, adding this to the theme setting custom css works:

@media print {
a[href]:after {
content: "";
}
}

Gareth

回复Gareth J Barnard

Re: Moodle 2.5 Clean theme printing

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

I've applied the fix in MDL-40321 and requested peer review.

回复Gareth J Barnard

Re: Moodle 2.5 Clean theme printing

Gareth J Barnard -
Core developers的头像 Particularly helpful Moodlers的头像 Plugin developers的头像

Dear all,

This has now been integrated and should be with you shortly in Moodle 2.5 and 'master', please see MDL-40321.  Thanks to all that helped with it.

Cheers,

Gareth