button inserted Agent_detail. Ticket #3831.

(cherry picked from commit 2c0dae13b1)
This commit is contained in:
Daniel Maya 2016-06-15 10:52:44 +02:00
parent c32c32b4d4
commit 390942dcbc
1 changed files with 6 additions and 0 deletions

View File

@ -587,6 +587,12 @@ if (!empty ($table->data)) {
} }
else { else {
ui_print_info_message ( array ( 'no_close' => true, 'message' => __('There are no defined agents') ) ); ui_print_info_message ( array ( 'no_close' => true, 'message' => __('There are no defined agents') ) );
echo '<div style="text-align: right; float: right;">';
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente">';
html_print_input_hidden ('new_agent', 1);
html_print_submit_button (__('Create agent'), 'crt', false, 'class="sub next"');
echo "</form>";
echo '</div>';
} }
?> ?>