Closed Bug 701216 Opened 13 years ago Closed 13 years ago

[homepage] Some teams are missing a real name

Categories

(Webtools Graveyard :: Elmo, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

References

Details

Attachments

(1 file)

For example, on https://l10n-stage-sj.mozilla.org/teams/af it says::

 <h1>Mozilla Localization Team None</h1>
Correction: they're all missing it.
Half-way through doing the hotfix I figured out it's because django_compressor somehow overrides the template context variable 'name'. Not cool :(

https://github.com/jezdez/django_compressor/issues/156
yikes. are there more variables it uses?
(In reply to Axel Hecht [:Pike] from comment #3)
> yikes. are there more variables it uses?

Nope. Looked deep into it but eventually decided it's too complex for me to try to fix it for jezdez. I'm sure he can fix it by changing "name" to "block_name". Also I don't know how to run his testsuite. 
Here's the culprit: https://github.com/jezdez/django_compressor/blob/develop/compressor/templatetags/compress.py#L81
Attachment #573369 - Flags: review?(l10n) → review+
Depends on: 662303
Deployed and verified.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee: nobody → peterbe
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: