HomePhabricator

Use get_event_name result in Jinja templates
d3ac62cccc1dUnpublished

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Use get_event_name result in Jinja templates

The method get_event_name was extracted in 3953ebdc,
and used throughout the code base since - except in
some of the Jinja templates, where we were still
manually constructing event names.

Here we build a global mapping between scope slugs
and event names, that we pass to the Jinja template.

(Also rename some variables for consistency).

Details

Provenance
JeanFredAuthored on Feb 5 2019, 10:39 AM
Parents
R1969:0426eb6a42dd: Rename variable 'name' in routes and templates
Branches
Unknown
Tags
Unknown
ChangeId
None