From 5767779c9ee884fe6fc1070576cda0c2abbaa993 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 24 Sep 2019 07:58:53 -0600 Subject: [PATCH] Number Translations: Fix delete button. --- app/number_translations/number_translation_edit.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/app/number_translations/number_translation_edit.php b/app/number_translations/number_translation_edit.php index 08820ab40a..17e4f90e44 100644 --- a/app/number_translations/number_translation_edit.php +++ b/app/number_translations/number_translation_edit.php @@ -215,7 +215,7 @@ echo " ".$text['label-number_translation_detail_regex']."\n"; echo " ".$text['label-number_translation_detail_replace']."\n"; echo " ".$text['label-number_translation_detail_order']."\n"; - echo " \n"; + echo " \n"; echo " \n"; $x = 0; foreach($number_translation_details as $row) { @@ -247,7 +247,9 @@ echo " \n"; echo " \n"; echo " \n"; - echo " \n"; + if ($x < sizeof($number_translation_details) - 1) { + echo " ".$v_link_label_delete."\n"; + } echo " \n"; echo " \n"; $x++; @@ -264,7 +266,6 @@ echo "\n"; echo "\n"; echo " \n"; echo " \n"; + echo "
\n"; echo " \n"; echo " \n"; echo " ";