templates/top-navigation: Improve branches dropdown button text
When browsing an object in a revision context without any branch or release
name, set the branches dropdown button text to "Revision: <rev_id>"
instead
of "Branch: <rev_id>"
.
Migrated from D5405 (view on Phabricator)