Commit 8076d034 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 349367: Display a message when a custom field has been successfully created…

Bug 349367: Display a message when a custom field has been successfully created - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
parent fcb6d45d
......@@ -91,6 +91,7 @@ elsif ($action eq 'new') {
Bugzilla::Field::create_or_update($vars);
$vars->{'custom_fields'} = [Bugzilla->get_fields({'custom' => 1})];
$vars->{'message'} = 'custom_field_created';
$template->process('admin/custom_fields/list.html.tmpl', $vars)
|| ThrowTemplateError($template->error());
......
......@@ -160,6 +160,11 @@
Click <a href="[% redirect_url FILTER html %]">here</a>
if the page does not automatically refresh.
[% ELSIF message_tag == "custom_field_created" %]
[% title = "Custom Field Created" %]
The new custom field '[% name FILTER html %]' has been
successfully created.
[% ELSIF message_tag == "emailold_change_cancelled" %]
[% title = "Cancel Request to Change Email Address" %]
The request to change the email address for your account to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment