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, <[email protected] 
> <javascript:>> 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] <javascript:>.
>> 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.

Reply via email to