gnowledge/gstudio — pull request #806 by AvadootNachankar (2014-09-16 18:23:38+00:00)
Title: Bugs resolved - trans block syntax & invalid django variables rectified; Student-details page redirection

**Functionalities implemented:**

**1) trans block syntax & invalid django variables rectified**

- In commit #804, after replacing blocktrans tag with trans tag few of the django variables were left as it is. Hence, those variables were not having any values. Such variables are replaced with proper django variables. And in few templates, incorrect trans syntax corrected!

- Files modified:

1) ndf/templates/ndf/html_field_widget.html
2) ndf/templates/ndf/mis_details.html
3) templates/ndf/person_create_edit.html
4) templates/ndf/student_create_edit.html
5) templates/ndf/student_enroll.html
6) templates/ndf/uDashboard.html

**2) MIS: Student's details page redirection from list-view page**

- Bug: After clicking on any value in student-list view page, the page was getting redirected to the same page.

- This is because use of default-template was implemented earlier. And while doing so 'default_template' variable's value set properly but for 'template' variable it was referring to list-view template even when coming to details-view!

- template: refers to template (more customized)

- default_template: generic template which is used if customized version is not available

- File modified:

1) views/person.py