Page MenuHomeSoftware Heritage

templates/top-navigation: Improve branches dropdown button text
ClosedPublic

Authored by anlambert on Apr 1 2021, 6:27 PM.

Details

Summary

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>".

Diff Detail

Repository
rDWAPPS Web applications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Build is green

Patch application report for D5405 (id=19342)

Rebasing onto 103b85d1c6...

Current branch diff-target is up to date.
Changes applied before test
commit 731d21e16437d609f3f93222fd111f7c23883647
Author: Antoine Lambert <antoine.lambert@inria.fr>
Date:   Thu Apr 1 18:23:20 2021 +0200

    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>".

See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/648/ for more details.

This revision is now accepted and ready to land.Apr 1 2021, 7:05 PM