- Make svg of supported extension.
- Add svg versions of Mahara logo to all core themes including footer
logo.
- Tidied up upgrade footer styles and templates as well as using
theme_image_url instead of image path with specific file extension.
Note 1: We are not removing exisiting png version of both logos just
in case someone needs it or want to use it.
Fixed configurable custom logo display
- Check if there is a custom logo if so add to data attribute on the
template.
- Add a check in js if there's custom logo we won't replace the logo
Note 2: Displaying correct version of Mahara logo based on header
background could be done at the backend (PHP) since the background value
stored in the database (I think).
Reviewed: https:/ /reviews. mahara. org/7631 /git.mahara. org/mahara/ mahara/ commit/ 4078c8d5c52bbfd 7e021b1b54b2db1 d1361dc391
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 4078c8d5c52bbfd 7e021b1b54b2db1 d1361dc391
Author: Pat Kira <email address hidden>
Date: Tue Apr 11 13:42:33 2017 +1200
Bug 1681579 - Added svg support for mahara logo
- Make svg of supported extension.
- Add svg versions of Mahara logo to all core themes including footer
logo.
- Tidied up upgrade footer styles and templates as well as using
theme_image_url instead of image path with specific file extension.
Note 1: We are not removing exisiting png version of both logos just
in case someone needs it or want to use it.
Fixed configurable custom logo display
- Check if there is a custom logo if so add to data attribute on the
template.
- Add a check in js if there's custom logo we won't replace the logo
Note 2: Displaying correct version of Mahara logo based on header
background could be done at the backend (PHP) since the background value
stored in the database (I think).
behatnotneeded
Change-Id: I377401a9477e3b 06e9fcee366579b bfc09bc73ea