Fix link for term layout to pass the right context.

#5483 

Layout link:
![5483-after1](https://f.cloud.github.com/assets/4497748/2371426/aafbf4b0-a826-11e3-9577-bf7839391dcf.png)

And in the Layout page:
![5483-after2](https://f.cloud.github.com/assets/4497748/2371428/b233b56a-a826-11e3-8127-6a22a29f4d1e.png)