feat(hide-columns): add hider label th attr
This commit is contained in:
parent
9053b878c9
commit
6c05a8f09f
@ -1435,6 +1435,8 @@ TutorialRoomPlaceholder: Raum
|
||||
TutorialTutors: Tutoren
|
||||
TutorialTutorAlreadyAdded: Ein Tutor mit dieser E-Mail ist bereits für dieses Tutorium eingetragen
|
||||
|
||||
TutorialActionsHead: Aktionen
|
||||
|
||||
OccurrenceNoneScheduled: (Noch) keine planmäßigen Termine
|
||||
OccurrenceNoneExceptions: (Noch) keine Termin-Ausnahmen
|
||||
|
||||
|
||||
@ -1433,6 +1433,8 @@ TutorialRoomPlaceholder: Room
|
||||
TutorialTutors: Tutors
|
||||
TutorialTutorAlreadyAdded: An user with this email address is already registered as tutor
|
||||
|
||||
TutorialActionsHead: Actions
|
||||
|
||||
OccurrenceNoneScheduled: No regular occurrences (yet)
|
||||
OccurrenceNoneExceptions: No exceptions (yet)
|
||||
|
||||
|
||||
@ -52,7 +52,7 @@ getCTutorialListR tid ssh csh = do
|
||||
, sortable (Just "register-from") (i18nCell MsgTutorialRegisterFrom) $ \DBRow{ dbrOutput = (Entity _ Tutorial{..}, _) } -> maybeDateTimeCell tutorialRegisterFrom
|
||||
, sortable (Just "register-to") (i18nCell MsgTutorialRegisterTo) $ \DBRow{ dbrOutput = (Entity _ Tutorial{..}, _) } -> maybeDateTimeCell tutorialRegisterTo
|
||||
, sortable (Just "deregister-until") (i18nCell MsgTutorialDeregisterUntil) $ \DBRow{ dbrOutput = (Entity _ Tutorial{..}, _) } -> maybeDateTimeCell tutorialDeregisterUntil
|
||||
, sortable Nothing (mempty & cellAttrs <>~ pure ("uw-hide-columns--hider-label", mr MsgActionsHead)) $ \DBRow{ dbrOutput = (Entity _ Tutorial{..}, _) } -> cell $ do
|
||||
, sortable Nothing (mempty & cellAttrs <>~ pure ("uw-hide-columns--hider-label", mr MsgTutorialActionsHead)) $ \DBRow{ dbrOutput = (Entity _ Tutorial{..}, _) } -> cell $ do
|
||||
linkButton mempty [whamlet|_{MsgTutorialEdit}|] [BCIsButton] . SomeRoute $ CTutorialR tid ssh csh tutorialName TEditR
|
||||
linkButton mempty [whamlet|_{MsgTutorialDelete}|] [BCIsButton, BCDanger] . SomeRoute $ CTutorialR tid ssh csh tutorialName TDeleteR
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user