- str += '<span style="margin-right:20px"><a target=_self href="/admin" target=_self">Main Page</a></span>'
- str += '<span>Select another <b>'+EXP+'</b> Report:</span> <select>'
- for af in Affiliation.objects.distinct():
+ str += '<span style="margin-right:20px"><a target=_self href="/admin" target=_self" style="font-size:140%">HOME</a></span>'
+ str += '<span>Select another <b>'+EXP+'</b> Report:</span> <select onchange="window.location=\'/htsw_reports/report_RM?exp='+EXP+'&aflid=\'+this.options[selectedIndex].value; return false;">'
+
+ if request.user.username == 'caltech':
+ Affil_List = Affiliation.objects.filter(name__contains='ENCODE').distinct()
+ else:
+ Affil_List = Affiliation.objects.distinct()
+
+ for af in Affil_List: