Skip to content

Commit 68d42ed

Browse files
committed
Provide direct link to Bugzilla on a 404 page
1 parent f9fb5f8 commit 68d42ed

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

404.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $(D_S 404 Not Found,
55
$(P
66
Page not found!
77

8-
If you think there should be something here, please use the "Report a bug" link above to let us know.
8+
If you think there should be something here, please $(LINK2 $(BUGZILLA_NEW_BUG_URL)$(AMP)bug_severity=normal, report a bug).
99
))
1010

1111
Macros:

dlang.org.ddoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ BLUE=$(SPANC blue, $0)
1515
BODY_PREFIX=
1616
BOOKTABLE = $(TC table, book, $(T caption, $1)$+)
1717
BUGZILLA = $(SPANC bugzilla, $(AHTTPS issues.dlang.org/show_bug.cgi?id=$0, Bugzilla $0))
18+
BUGZILLA_NEW_BUG_URL=https://issues.dlang.org/enter_bug.cgi?bug_file_loc=http%3A%2F%2Fdlang.org/$(SELF_PATH)$(AMP)component=$(PROJECT)$(AMP)op_sys=All$(AMP)priority=P3$(AMP)product=D$(AMP)rep_platform=All$(AMP)short_desc=%5B$(TITLE)%5D$(AMP)version=D2
1819
_=
1920

2021
CCODE=$(TC pre, ccode notranslate, $0)
@@ -311,7 +312,7 @@ _=
311312
PAGE_TOOLS=
312313
$(DIVID tools, $(DIV,
313314
$(DIVC tip smallprint,
314-
$(HTMLTAG3 a, href="https://issues.dlang.org/enter_bug.cgi?bug_file_loc=http%3A%2F%2Fdlang.org/$(SELF_PATH)$(AMP)bug_severity=enhancement$(AMP)component=$(PROJECT)$(AMP)op_sys=All$(AMP)priority=P3$(AMP)product=D$(AMP)rep_platform=All$(AMP)short_desc=%5B$(TITLE)%5D$(AMP)version=D2", Report a bug)
315+
$(HTMLTAG3 a, href="$(BUGZILLA_NEW_BUG_URL)$(AMP)bug_severity=enhancement", Report a bug)
315316
$(DIV,
316317
If you spot a problem with this page, click here to create a Bugzilla issue.
317318
)

0 commit comments

Comments
 (0)