% if isinstance(content, list): #no specific content: therefore index
% else: # specific content %if 'cheader' in self.request.params:{{! self.request.params['cheader'] }}
%end %cq = self.query_string %pe = course_labels(cq) %alinks = ['/'+self.request.lang+'/contents?'+x for x in [start_qs(cq),next_qs(cq,-1),cq,next_qs(cq),end_qs(cq)]] %def qsnav(where,sign): %end % if with_problems and not problem.answered: % end % # ASSIGN % if with_problems: % if self.request.user: % if 'bare' not in self.request.params: % teacher = self.request.student.key.parent().parent().get() % if teacher.userkey == db.idof(self.request.user): # self assignment is possible % end % end % end % end % end % include('chcko/main')