Fixed the "assign" link for the users that are not allowed to assign template to a study.  Fixed the formating for IE7 as well by moving div-element inside the if-statement, so empty div is not ever created until the conditions are met.
Fixed the "assign" link for the users that are not allowed to assign template to a study. 
Fixed the formating for IE7 as well by moving div-element inside the if-statement, so empty div is not ever created until the conditions are met.

NCIP/psc,NCIP/psc,NCIP/psc,NCIP/psc