From 461d51d5078bd9971593296dbc35d3e37e48df9b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Fri, 10 Apr 2009 09:36:43 +0000 Subject: Bug 471871: Bugzilla::Version has duplicated code compared to Bugzilla::Object (make Bugzilla::Version really a subclass of Bugzilla::Object) - Patch by Frédéric Buclin r/a=mkanat MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/global/messages.html.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'template/en/default/global/messages.html.tmpl') diff --git a/template/en/default/global/messages.html.tmpl b/template/en/default/global/messages.html.tmpl index c8e4dd225..d2915780c 100644 --- a/template/en/default/global/messages.html.tmpl +++ b/template/en/default/global/messages.html.tmpl @@ -796,7 +796,13 @@ [% ELSIF message_tag == "version_updated" %] [% title = "Version Updated" %] - Version renamed as [% version.name FILTER html %]. + [% IF changes.size %] + [% IF changes.value.defined %] + Version renamed to [% version.name FILTER html %]. + [% END %] + [% ELSE %] + No changes made to version [% version.name FILTER html %]. + [% END %] [% ELSIF message_tag == "workflow_updated" %] The workflow has been updated. -- cgit v1.2.3-24-g4f1b