View | Details | Raw Unified | Return to bug 16097
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/add_fields.tt (-7 / +6 lines)
Lines 62-82 Link Here
62
    [% FOR message IN messages %]
62
    [% FOR message IN messages %]
63
      [% IF message.code == 'insert' %]
63
      [% IF message.code == 'insert' %]
64
        [% IF message.number > 0 %]
64
        [% IF message.number > 0 %]
65
          <div class="dialog message">The field has been inserted</div>
65
          <div class="dialog message">Field created.</div>
66
        [% ELSE %]
66
        [% ELSE %]
67
          <div class="dialog alert">The field has not been inserted (name still exist?)</div>
67
          <div class="dialog alert">The field could not be created. Perhaps the name already exists?</div>
68
        [% END %]
68
        [% END %]
69
      [% ELSIF message.code == 'update' %]
69
      [% ELSIF message.code == 'update' %]
70
        [% IF message.number > 0 %]
70
        [% IF message.number > 0 %]
71
          <div class="dialog message">The field has been updated</div>
71
          <div class="dialog message">Field updated.</div>
72
        [% ELSE %]
72
        [% ELSE %]
73
          <div class="dialog alert">The field has not been updated (name still exist?)</div>
73
          <div class="dialog alert">The field could not be updated. Perhaps the name already exists?</div>
74
        [% END %]
74
        [% END %]
75
      [% ELSIF message.code == 'delete' %]
75
      [% ELSIF message.code == 'delete' %]
76
        [% IF message.number > 0 %]
76
        [% IF message.number > 0 %]
77
          <div class="dialog message">The field has been deleted</div>
77
          <div class="dialog message">Field deleted.</div>
78
        [% ELSE %]
78
        [% ELSE %]
79
          <div class="dialog alert">The field has not been deleted</div>
79
          <div class="dialog alert">The field could not be deleted. Check the log for errors.</div>
80
        [% END %]
80
        [% END %]
81
      [% END %]
81
      [% END %]
82
    [% END %]
82
    [% END %]
83
- 

Return to bug 16097