Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 294687 Details for
Bug 406171
3.7: Description field in the bug status table.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to pull out status description from bug status table
status_desc_patch (text/plain), 3.22 KB, created by
Noura El hawary
on 2008-02-12 17:46:16 UTC
(
hide
)
Description:
patch to pull out status description from bug status table
Filename:
MIME Type:
Creator:
Noura El hawary
Created:
2008-02-12 17:46:16 UTC
Size:
3.22 KB
patch
obsolete
>Index: Bugzilla/Status.pm >=================================================================== >RCS file: /cvs/qa/rh_bugzilla_3/Bugzilla/Status.pm,v >retrieving revision 1.2 >diff -u -r1.2 Status.pm >--- Bugzilla/Status.pm 20 Jan 2008 16:36:19 -0000 1.2 >+++ Bugzilla/Status.pm 12 Feb 2008 17:39:27 -0000 >@@ -37,6 +37,7 @@ > sortkey > isactive > is_open >+ description > ); > > use constant NAME_FIELD => 'value'; >@@ -50,6 +51,9 @@ > sub sortkey { return $_[0]->{'sortkey'}; } > sub is_active { return $_[0]->{'isactive'}; } > sub is_open { return $_[0]->{'is_open'}; } >+# REDHAT EXTENSION START 406171 >+sub description { return $_[0]->{'description'}; } >+# REDHAT EXTENSION START 406171 > > ############################### > ##### Methods #### >Index: template/en/default/bug/knob.html.tmpl >=================================================================== >RCS file: /cvs/qa/rh_bugzilla_3/template/en/default/bug/knob.html.tmpl,v >retrieving revision 1.1.1.1 >diff -u -r1.1.1.1 knob.html.tmpl >--- template/en/default/bug/knob.html.tmpl 19 Nov 2007 22:11:21 -0000 1.1.1.1 >+++ template/en/default/bug/knob.html.tmpl 12 Feb 2008 17:40:49 -0000 >@@ -22,13 +22,21 @@ > > [% PROCESS global/variables.none.tmpl %] > >+[%# REDHAT EXTENSION START 406171 %] >+ >+[% knum = 1 %] >+ > <br> > <div id="knob"> > <div id="knob-options"> > [% initial_action_shown = 0 %] >- >+ [% PROCESS initial_action %] > [%# These actions are based on the current custom workflow. %] >- [% FOREACH bug_status = bug.status.can_change_to %] >+ <input id="knob-changestatus" type="radio" name="knob" value="changestatus"> >+ <label for="knob-changestatus">Change status to</label> >+ <select name="newstatus" onchange="document.changeform.knob[[% knum %]].checked=true;"> >+ [% FOREACH bug_status = bug.status.can_change_to %] >+ <h1>[% bug_status.name FILTER html %]</h1> > [% NEXT IF bug.isunconfirmed && bug_status.is_open && !bug.user.canconfirm %] > [% NEXT IF bug.isopened && !bug.isunconfirmed && bug_status.is_open && !bug.user.canedit %] > [% NEXT IF (!bug_status.is_open || !bug.isopened) && !bug.user.canedit && !bug.user.isreporter %] >@@ -36,18 +44,17 @@ > # for compatibility with older versions. %] > [% NEXT IF !bug.isopened && (bug.everconfirmed && bug_status.name == "UNCONFIRMED" > || !bug.everconfirmed && bug_status.name == "REOPENED") %] >- [% PROCESS initial_action %] > [% NEXT IF bug_status.name == bug.bug_status %] >- <input type="radio" id="knob_[% bug_status.id FILTER html %]" name="knob" >- value="[% bug_status.name FILTER html %]"> >- <label for="knob_[% bug_status.id FILTER html %]"> >- Change status to <b>[% get_status(bug_status.name) FILTER html %]</b> >- </label> >+ <option value="[% bug_status.name FILTER html %]" title="[% bug_status.description FILTER html %]" > >+ [% bug_status.name FILTER html %]</option> >+ [% END %] >+ </select> >+[%# REDHAT EXTENSION END 406171 %] > [% IF bug.isopened && !bug_status.is_open %] > and set the resolution to [% PROCESS select_resolution field = "knob_${bug_status.id}" %] > [% END %] > <br> >- [% END %] >+ > > [%# These actions are special and are independent of the workflow. %] > [% IF bug.user.canedit || bug.user.isreporter %]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
nelhawar
: review-
Actions:
View
|
Diff
Attachments on
bug 406171
:
290035
|
294687
|
294911
|
294941