Re: [mezzanine-users] updating the word "Mezzanine" to our own name/logo in the upper left of the admin view
I replied to the other discussion you started on Github. I would suggest having only one running conversation. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] updating the word "Mezzanine" to our own name/logo in the upper left of the admin view
Could we use the existant `SITE_TITLE` setting instead? Or could we put the admin title in it's own template block to ease template maintenance without increasing Mezzanine maintenance. E.g.: `{% block admin_title %}Mezzanine{% endblock}`. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] updating the word "Mezzanine" to our own name/logo in the upper left of the admin view
That's what I already pointed out. My question is about whether there is a good way to change this value, rather than overriding an entire template (as any template override adds another preflight checkbox to the list of things that need to be done when upgrading Mezzanine versions). On Friday, April 21, 2017 at 11:13:41 AM UTC-7, Joseph Mohan wrote: > > off the top of my head, it's a grappelli template. > > maybe: /includes_grappelli/header.html > > On Fri, Apr 21, 2017 at 7:07 PM, > wrote: > >> Hey all, >> >> we're trying to update our admin view so that the staff/admin users we >> have see a familiar logo and the name of the project they're adminning, but >> it looks like that string's been hardcoded into the template... is the only >> option here to copy the entire template and then put in the code we need >> instead? (Because that's adds quite a bit of work for maintenance crews >> when Mezzanine updates, where they need to maintain a list of template >> overrides and then check each file against the upstream update to see if >> the override is still valid or whether it needs to be redone). >> >> Would a PR that makes this hardcoded string "not hardcoded anymore" be >> appreciated? E.g a diff against >> https://github.com/stephenmcd/grappelli-safe/blob/master/grappelli_safe/templates/admin/includes_grappelli/header.html#L6 >> like: >> >> - Mezzanine >> + {{ admin_title }} >> >> where Mezzanine can can pull either ADMIN_TITLE from the settings, or if >> it's not set explicitly, use the string "Mezzanine"? >> >> (with logos being most a CSS issue - relatively easy to add some padding >> and then drop in a no-repeat background-image) >> >> - Mike "Pomax" Kmermans >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Mezzanine Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to mezzanine-use...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [mezzanine-users] updating the word "Mezzanine" to our own name/logo in the upper left of the admin view
off the top of my head, it's a grappelli template. maybe: /includes_grappelli/header.html On Fri, Apr 21, 2017 at 7:07 PM, wrote: > Hey all, > > we're trying to update our admin view so that the staff/admin users we > have see a familiar logo and the name of the project they're adminning, but > it looks like that string's been hardcoded into the template... is the only > option here to copy the entire template and then put in the code we need > instead? (Because that's adds quite a bit of work for maintenance crews > when Mezzanine updates, where they need to maintain a list of template > overrides and then check each file against the upstream update to see if > the override is still valid or whether it needs to be redone). > > Would a PR that makes this hardcoded string "not hardcoded anymore" be > appreciated? E.g a diff against https://github.com/stephenmcd/ > grappelli-safe/blob/master/grappelli_safe/templates/ > admin/includes_grappelli/header.html#L6 like: > > - Mezzanine > + {{ admin_title }} > > where Mezzanine can can pull either ADMIN_TITLE from the settings, or if > it's not set explicitly, use the string "Mezzanine"? > > (with logos being most a CSS issue - relatively easy to add some padding > and then drop in a no-repeat background-image) > > - Mike "Pomax" Kmermans > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to mezzanine-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[mezzanine-users] updating the word "Mezzanine" to our own name/logo in the upper left of the admin view
Hey all, we're trying to update our admin view so that the staff/admin users we have see a familiar logo and the name of the project they're adminning, but it looks like that string's been hardcoded into the template... is the only option here to copy the entire template and then put in the code we need instead? (Because that's adds quite a bit of work for maintenance crews when Mezzanine updates, where they need to maintain a list of template overrides and then check each file against the upstream update to see if the override is still valid or whether it needs to be redone). Would a PR that makes this hardcoded string "not hardcoded anymore" be appreciated? E.g a diff against https://github.com/stephenmcd/grappelli-safe/blob/master/grappelli_safe/templates/admin/includes_grappelli/header.html#L6 like: - Mezzanine + {{ admin_title }} where Mezzanine can can pull either ADMIN_TITLE from the settings, or if it's not set explicitly, use the string "Mezzanine"? (with logos being most a CSS issue - relatively easy to add some padding and then drop in a no-repeat background-image) - Mike "Pomax" Kmermans -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to mezzanine-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.