HomeSoftware Heritage

webapp/templates/layout: Fix deposit moderation view integration

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

Description

webapp/templates/layout: Fix deposit moderation view integration

Test in template file must be splitted in two: one to check if the
swh.web.deposit application is installed, another one to check
user permissions.

An error was raised otherwise when swh.web.deposit is not in
installed application and when admin user logs in.

Related to T4398

Commit No Longer Exists

This commit no longer exists in the repository.