[Bps-public-commit] RT-BugTracker-Public branch, alternate-bugtracker, created. 0248b833120e1a4d045e37902360bdaa22e95810
Thomas Sibley
trs at bestpractical.com
Tue Mar 12 22:25:36 EDT 2013
The branch, alternate-bugtracker has been created
at 0248b833120e1a4d045e37902360bdaa22e95810 (commit)
- Log -----------------------------------------------------------------
commit 8891bd2645698eff13b400e077d7f08904f26212
Author: Thomas Sibley <trs at bestpractical.com>
Date: Tue Mar 12 18:31:44 2013 -0700
Show distribution notes on more public bug report pages
This helps authors gain visibility for their notes.
diff --git a/html/Public/Bug/Display.html b/html/Public/Bug/Display.html
index 9e060d5..264e927 100755
--- a/html/Public/Bug/Display.html
+++ b/html/Public/Bug/Display.html
@@ -51,6 +51,8 @@
<& /Elements/ListActions, actions => \@Actions &>
+<& /Dist/Elements/ShowNotes, Queue => $TicketObj->QueueObj &>
+
<&| /Widgets/TitleBox, title => loc("Report information") &>
<& /Public/Bug/Elements/ShowSummary, Ticket => $TicketObj, Attachments => $attachments &>
</&>
diff --git a/html/Public/Bug/Report.html b/html/Public/Bug/Report.html
index cf736fb..3799b9f 100755
--- a/html/Public/Bug/Report.html
+++ b/html/Public/Bug/Report.html
@@ -71,6 +71,9 @@ reproduce and fix your problem.
</div>
<div id="reporting-a-bug">
+
+<& /Dist/Elements/ShowNotes, Queue => $QueueObj &>
+
% if ( $session{'CurrentUser'}->Name eq $RT::WebPublicUser ) {
<p style="font-weight: bold">
commit 0248b833120e1a4d045e37902360bdaa22e95810
Author: Ian Norton <i.norton at shadowcat.co.uk>
Date: Tue Mar 12 18:33:15 2013 -0700
Display alternate bug tracker info for a distribution, if available [rt.cpan.org #80021]
This patch adds support for displaying the information added by cpan2rt
in rt.cpan.org ticket #80020 and #79499.
Whilst we don't prevent creation of tickets in a queue with an external
bug tracker set, we strongly suggest that they might want to look at the
alternative tracking solution indicated. Should this be unavailable,
this still enables creation of tickets within rt.cpan.org as a last
resort.
This work has been sponsored by Shadowcat Systems.
Signed-off-by: Thomas Sibley <trs at bestpractical.com>
diff --git a/html/Public/Bug/Display.html b/html/Public/Bug/Display.html
index 264e927..527a74c 100755
--- a/html/Public/Bug/Display.html
+++ b/html/Public/Bug/Display.html
@@ -51,6 +51,7 @@
<& /Elements/ListActions, actions => \@Actions &>
+<& /Dist/Elements/ShowBugtracker, Queue => $TicketObj->QueueObj &>
<& /Dist/Elements/ShowNotes, Queue => $TicketObj->QueueObj &>
<&| /Widgets/TitleBox, title => loc("Report information") &>
diff --git a/html/Public/Bug/Report.html b/html/Public/Bug/Report.html
index 3799b9f..fa34edb 100755
--- a/html/Public/Bug/Report.html
+++ b/html/Public/Bug/Report.html
@@ -72,6 +72,7 @@ reproduce and fix your problem.
<div id="reporting-a-bug">
+<& /Dist/Elements/ShowBugtracker, Queue => $QueueObj &>
<& /Dist/Elements/ShowNotes, Queue => $QueueObj &>
% if ( $session{'CurrentUser'}->Name eq $RT::WebPublicUser ) {
diff --git a/html/Public/Dist/Display.html b/html/Public/Dist/Display.html
index 91f89bd..470ff86 100755
--- a/html/Public/Dist/Display.html
+++ b/html/Public/Dist/Display.html
@@ -48,6 +48,8 @@
<& /Elements/Header, Title => $title &>
<& /Elements/Tabs &>
+<& /Dist/Elements/ShowBugtracker, Queue => $QueueObj &>
+
<& /Dist/Elements/ShowNotes, Queue => $QueueObj &>
<& /Dist/Elements/ShowMaintainers,
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list