diff --git a/swh/web/browse/snapshot_context.py b/swh/web/browse/snapshot_context.py --- a/swh/web/browse/snapshot_context.py +++ b/swh/web/browse/snapshot_context.py @@ -837,14 +837,11 @@ swhids_info = get_swhids_info(swh_objects, snapshot_context, dir_metadata) dir_path = "/".join([bc["name"] for bc in breadcrumbs]) + "/" - context_found = "snapshot: %s" % snapshot_context["snapshot_id"] + dir_path = f"dir : {dir_path}" + context_found = "Snapshot - %s" % snapshot_context["snapshot_id"] if origin_info: - context_found = "origin: %s" % origin_info["url"] - heading = "Directory - %s - %s - %s" % ( - dir_path, - snapshot_context["branch"], - context_found, - ) + context_found += " Origin : %s" % origin_info["url"] + heading = "%s - %s - %s" % (context_found, dir_path, snapshot_context["branch"]) top_right_link = None if not snapshot_context["is_empty"]: