diff options
author | lpsolit%gmail.com <> | 2009-04-10 09:36:43 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2009-04-10 09:36:43 +0000 |
commit | 461d51d5078bd9971593296dbc35d3e37e48df9b (patch) | |
tree | eaf3ebb004f28d3a3e91f6f7f1f9d81cca89bbe6 /template/en/default | |
parent | cec56973dd19c6b949d549d30d4375b76de50e27 (diff) | |
download | bugs-461d51d5078bd9971593296dbc35d3e37e48df9b.tar bugs-461d51d5078bd9971593296dbc35d3e37e48df9b.tar.gz bugs-461d51d5078bd9971593296dbc35d3e37e48df9b.tar.bz2 bugs-461d51d5078bd9971593296dbc35d3e37e48df9b.tar.xz bugs-461d51d5078bd9971593296dbc35d3e37e48df9b.zip |
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 <LpSolit@gmail.com> r/a=mkanat
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/global/messages.html.tmpl | 8 | ||||
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 4 |
2 files changed, 7 insertions, 5 deletions
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 <em>[% version.name FILTER html %]</em>. + [% IF changes.size %] + [% IF changes.value.defined %] + Version renamed to <em>[% version.name FILTER html %]</em>. + [% END %] + [% ELSE %] + No changes made to version <em>[% version.name FILTER html %]</em>. + [% END %] [% ELSIF message_tag == "workflow_updated" %] The workflow has been updated. diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 879e62ade..d1c3bd643 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1579,10 +1579,6 @@ version! You must reassign those [% terms.bugs %] to another version before you can delete this one. - [% ELSIF error == "version_not_specified" %] - [% title = "No Version Specified" %] - No version specified when trying to edit versions. - [% ELSIF error == "users_deletion_disabled" %] [% title = "Deletion not activated" %] [% admindocslinks = {'useradmin.html' => 'User administration'} %] |