feat(course-teaser): final version of course-teaser for course list
This commit is contained in:
parent
a25efb3be4
commit
66b97d6729
@ -211,9 +211,8 @@ makeCourseTable whereClause colChoices psValidator = do
|
||||
]
|
||||
, dbtStyle = def
|
||||
{ dbsFilterLayout = defaultDBSFilterLayout
|
||||
-- DBSTCourse :: Lens' r (Entity Course) -> Traversal' r ([Entity User]) -> Lens' r Bool -> DBSTemplateMode r
|
||||
, dbsCellTemplate = DBSTCourse (_dbrOutput . _1) (_dbrOutput . _5) (_dbrOutput . _3)
|
||||
-- ^ course lens ^ lecturers traversal ^ isRegistered lens
|
||||
-- ^ course ^ lecturer list ^ isRegistered
|
||||
}
|
||||
, dbtParams = def
|
||||
, dbtIdent = "courses" :: Text
|
||||
|
||||
@ -1,3 +0,0 @@
|
||||
module Handler.Utils.Table.Pagination.Utils
|
||||
(
|
||||
) where
|
||||
Loading…
Reference in New Issue
Block a user