-
-
Notifications
You must be signed in to change notification settings - Fork 166
Configurable institution logo #1415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
pstaabp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well and looks good.
pstaabp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, just noticed that the image I put in the htdocs/images directory is now tracked with git. Perhaps, make a directory in htdocs/images to store these and put the directory contents in .gitignore.
|
I would like the image to be able to be placed in a custom theme directory rather than in the images directory. |
|
Does an images folder in the math4 theme make sense? If so, should I move the MAA logo and WeBWorK logo in there? Tracked by git. |
|
I think that makes sense. You could say that they are part of the theme. Then we can move closer to just being able to delete the images directory. Very little of what is in there is used. |
|
OK, now there is an I either removed or deleted the various log image files that relate to this form |
|
@Alex-Jordan: I think we wanted to use |
|
@taniwallach I don't recall that there was anything more to do. I just committed that change to |
taniwallach
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and works. Having the extra line in .gitignore helps as it should help keep local image files from ending up in the main repository.
I think this is ready to merge.
@drgrice1 - Sorry this also has maketext calls.
|
@pstaabp - With the |
|
Stand by. Glenn and I think that the |
|
OK, now this has each of But then anything inside the three So I think this will be good for @pstaabp and anyone else to make another review. |
drgrice1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good and is a good improvement to the theme system.
|
Why did I add the "Do not merge yet" label to this? Github says I did that, but I don't remember doing it or why. |
Could just be an errant GitHub click. The choice I made for which things are sylinks and which things are in |
pstaabp
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me now.
* remove references to math3 * configurable institution logo * add theme images folder for logos * don't use 'webwork2_files' directly * copy paste error * make WW logo link go directly to courses page * git ignore theme image folders * use symlinks to theme logo files * only ignore the distribution theme image folders
With this, in a config chain, you can set like:
and then the place where we usually see the MAA logo will have a different logo, with a different href, and different alt text.
One thing an institution wants to do to customize the look of their site is have a logo link to their school. This makes that easy without having to create a new theme. The defaults are still to/for MAA, except I saw no reason not to use the larger slightlly higher res MAA logo file.
Also with this, it could be customized at the course level. So if your server hosts more than one school, some courses could have different institution logos than others.