Closed Bug 284151 Opened 19 years ago Closed 19 years ago

"edit" link shows up on confirmation page for deleting a Field Value

Categories

(Bugzilla :: Administration, task, P2)

2.19.2

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: cedric.caron, Assigned: bugzilla-mozilla)

Details

Attachments

(1 file)

When deleting a field value a link is displayed in the confirmation page to 
edit the deleted value !!!

This is very confusing.
mkanat, could you fix this bug please?
Severity: normal → major
OS: Windows XP → All
Hardware: PC → All
Target Milestone: --- → Bugzilla 2.20
Hahahaha. OK, that's a simple template change. I'll get to it.
Assignee: administration → mkanat
Severity: major → normal
Priority: -- → P1
Summary: invalid fonction proposed after field value delete → "edit" link shows up on confirmation page for deleting a Field Value
Severity: normal → minor
Priority: P1 → P2
template/en/default/admin/fieldvalues/footer.html.tmpl has as interface
no_edit_link to disable the edit link. The actual code uses
no_edit_milestone_link.

template/en/default/admin/fieldvalues/deleted.html.tmpl and edit.html.tmpl both
 use no_edit_link.

Patch changes:
  footer.html.tmpl to use no_edit_link
  confirm-delete.html.tmpl to pass no_edit_link = 1
Attachment #178788 - Flags: review?(mkanat)
Comment on attachment 178788 [details] [diff] [review]
Patch v1 against Bugzilla HEAD 28 March 2005

Yeah. On inspection, that looks correct.
Attachment #178788 - Flags: review?(mkanat) → review+
Assignee: mkanat → bugzilla-mozilla
Flags: approval?
Status: NEW → ASSIGNED
Flags: approval? → approval+
Checking in template/en/default/admin/fieldvalues/confirm-delete.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/fieldvalues/confirm-delete.html.tmpl,v
 <--  confirm-delete.html.tmpl
new revision: 1.2; previous revision: 1.1
done
Checking in template/en/default/admin/fieldvalues/footer.html.tmpl;
/cvsroot/mozilla/webtools/bugzilla/template/en/default/admin/fieldvalues/footer.html.tmpl,v
 <--  footer.html.tmpl
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: