Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066255
D5164.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
948 B
Subscribers
None
D5164.diff
View Options
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"]:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 4:16 AM (19 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3216857
Attached To
D5164: Fix snapshot page title
Event Timeline
Log In to Comment