Bug 9651 - When deleting a fund, button is wrongly labelled with 'Delete this budget'
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Sun, 17 Feb 2013 13:19:55 +0000 (10:19 -0300)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 20 Feb 2013 13:00:40 +0000 (08:00 -0500)
This patch change legends to approve/cancel deletion of a fund.
Changed to Delete/Cancel, same messages to delete a Budget.

To test:
1) When deleting a fund, confirmation messages said:
'Delete this budget XXX?' to approve
'No, do not delete' to cancel
2) Apply the patch
3) Now the messages are 'Delete'/'Cancel'

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works perfectly.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgets.tt

index ba308b6..519c276 100644 (file)
     <input type="hidden" name="op" value="delete_confirmed" />
     <input type="hidden" name="budget_id" value="[% budget_id %]" />
     <input type="hidden" name="budget_period_id" value="[% budget_period_id %]" />
-    <input type="submit" value="Delete this budget" class="approve" />
+    <input type="submit" value="Delete" class="approve" />
 </form>
 
 <form action="[% action %]" method="get">
-    <input type="submit" class="deny" value="No, do not delete" />
+    <input type="submit" class="deny" value="Cancel" />
 </form>
 </div>
 [% END %]