Esempio n. 1
0
 def get_paths(self):
     obj = self.get_object()
     return [
         PathText("Home"),
         PathLink("Gradebook", reverse_lazy("gradebook:teacher_home")),
         PathLink(
             str(obj.subject),
             reverse_lazy("gradebook:teacher_gradebook_detail",
                          kwargs={'pk': obj.id})),
     ]
Esempio n. 2
0
 def get_paths(self):
     obj = self.get_object()
     return [
         PathText("Home"),
         PathLink("Gradebook", reverse_lazy("gradebook:teacher_home")),
         PathLink(
             str(obj.subject_record_book.subject),
             reverse_lazy("gradebook:teacher_gradebook_detail",
                          kwargs={'pk': obj.subject_record_book.id})),
         PathText(obj.student_record_book.user.full_name),
         PathText("Add Grade")
     ]
Esempio n. 3
0
 def get_paths(self):
     return [
         PathText("Home"),
         PathLink("Profile", reverse("accounts:my_profile")),
         PathLink("Update", reverse("accounts:my_profile_update"))
     ]
Esempio n. 4
0
 def get_paths(self):
     return [
         PathText("Home"),
         PathLink("Gradebook", reverse_lazy("gradebook:teacher_home")),
     ]