Bug 10752: (QA followup) rephrase erorr messages a little
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Mon, 20 Apr 2015 20:15:02 +0000 (22:15 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 28 Apr 2015 18:43:19 +0000 (15:43 -0300)
Rephrased error messages a little and changed the link to
look like it does on other pages, for example when looking
at an order created from a suggestion.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
http://bugs.koha-community.org/show_bug.cgi?id=10752
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt

index e56ed58..c609a05 100644 (file)
@@ -462,7 +462,7 @@ h4.local_collapse a { font-size : 80%; text-decoration: none; } fieldset.brief o
     <div class="dialog [% m.type %]">
         [% SWITCH m.code %]
         [% CASE 'already_exists' %]
-            The suggestion has not been inserted. The same suggestion already exists (<a href='/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% m.id %]&op=show'>see the suggestion</a>)
+            The suggestion has not been added. A suggestion with this title already exists (<a href='/cgi-bin/koha/suggestion/suggestion.pl?suggestionid=[% m.id %]&op=show'>suggestion #[% m.id %]</a>)
         [% CASE %]
             [% m.code %]
         [% END %]
index 8ac7035..8ae9214 100644 (file)
                                 <div class="alert alert-[% m.type %]">
                                     [% SWITCH m.code %]
                                     [% CASE 'already_exists' %]
-                                        The suggestion has not been inserted. The same suggestion already exists.
+                                        The suggestion has not been added. A suggestion with this title already exists.
                                     [% CASE 'success_on_inserted' %]
                                         Your suggestion has been submitted.
                                     [% CASE %]