HomeSoftware Heritage

browse/templates/top-navigation: Prevent VariableDoesNotExist exception

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

browse/templates/top-navigation: Prevent VariableDoesNotExist exception

It exist cases where the vault_cooking template variable is set to None
(when browsing a snapshot branch targeting a content for instance), so
ensure to prevent VariableDoesNotExist exception thrown by django in
debug mode as it generates noise in debug output.

Details

Provenance
anlambertAuthored on Nov 4 2022, 4:43 PM
anlambertPushed on Nov 4 2022, 5:38 PM
Differential Revision
D8816: browse/templates/top-navigation: Prevent VariableDoesNotExist exception
Build Status
Buildable 32719
Build 51263: test-and-buildJenkins console · Jenkins

Commit No Longer Exists

This commit no longer exists in the repository.