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, <[email protected]> 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: > > - <div class="admin-title">Mezzanine</div> > + <div class="admin-title">{{ admin_title }}</div> > > 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 [email protected]. > 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
