From cbab3b0fef4c6cd1e163ab24eba1c2c4c0f64e5d Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Fri, 22 Mar 2019 11:20:35 +0530 Subject: Modify the mandatory fields in proposal form --- proposal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proposal.inc') diff --git a/proposal.inc b/proposal.inc index af5fcd0..69c779f 100755 --- a/proposal.inc +++ b/proposal.inc @@ -225,7 +225,7 @@ function lab_migration_proposal_form($form, &$form_state) $first_experiemnt = TRUE; for ($counter = 1; $counter <= 15; $counter++) { - if ($counter <= 5) + if ($counter <= 1) { $form['lab_experiment-' . $counter] = array( '#type' => 'textfield', -- cgit From f7e323084ad4bd9a86b4e825b4767bdbe56cc561 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Thu, 28 Mar 2019 16:30:32 +0530 Subject: Modify directory naming convention when proposal is submitted --- proposal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proposal.inc') diff --git a/proposal.inc b/proposal.inc index 69c779f..d7b6fde 100755 --- a/proposal.inc +++ b/proposal.inc @@ -576,7 +576,7 @@ function _lm_list_of_software_version() function _lm_dir_name($lab, $name, $university) { $lab_title = ucname($lab); - $proposar_name = ucname($lab); + $proposar_name = ucname($name); $university_name = ucname($university); $dir_name = $lab_title . " " . "by". " " . $proposar_name . ' ' . $university_name; $directory_name = str_replace("__", "_", str_replace(" ", "_", $dir_name)); -- cgit