summaryrefslogtreecommitdiff
path: root/gnowsys-ndf
diff options
context:
space:
mode:
authorkatkamrachana <katkam.rachana@gmail.com>2015-06-29 16:41:46 +0530
committerkatkamrachana <katkam.rachana@gmail.com>2015-06-29 16:41:46 +0530
commit5f094d0f4937dbb284f70e1b23a8890a4760471e (patch)
treece4692ec0318c512b69d4496da9c770847108e8d /gnowsys-ndf
parent705f4c61aadbd470e9b23e56af6a258313d61a61 (diff)
downloadgnowsys-5f094d0f4937dbb284f70e1b23a8890a4760471e.tar.gz
Student name will now link to detail template instead of create_edit template
Diffstat (limited to 'gnowsys-ndf')
-rw-r--r--gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/student_list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/student_list.html b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/student_list.html
index 68a516ba..2c7accbc 100644
--- a/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/student_list.html
+++ b/gnowsys-ndf/gnowsys_ndf/ndf/templates/ndf/student_list.html
@@ -586,7 +586,7 @@
s_id = data["stud_id"];
$(row).attr("id", s_id);
- edit_url = "{% url 'mis:mis_app_instance_edit' 'groupid' 'app_id' 'app_set_id' 'stud_id' %}".replace("groupid", groupid_val).replace("app_id", app_id_val).replace("app_set_id", app_set_id_val).replace("stud_id", s_id);
+ edit_url = "{% url 'mis:mis_app_instance_detail' 'groupid' 'app_id' 'app_set_id' 'stud_id' %}".replace("groupid", groupid_val).replace("app_id", app_id_val).replace("app_set_id", app_set_id_val).replace("stud_id", s_id);
name = data['Name']
$(row).find("td:nth-child(3)").html("<a href='" + edit_url + "'>"+name+"</a>");