Freigabedaten für Sheet-Files
This commit is contained in:
parent
c259615dc4
commit
00a5f44d8b
@ -1 +1 @@
|
|||||||
keter_testworx.yml
|
keter_uni2work.yml
|
||||||
@ -636,18 +636,18 @@ defaultLinks = -- Define the menu items of the header.
|
|||||||
, menuItemRoute = HomeR
|
, menuItemRoute = HomeR
|
||||||
, menuItemAccessCallback' = return True
|
, menuItemAccessCallback' = return True
|
||||||
}
|
}
|
||||||
, NavbarRight $ MenuItem
|
|
||||||
{ menuItemLabel = "Profile"
|
|
||||||
, menuItemIcon = Just "cogs"
|
|
||||||
, menuItemRoute = ProfileR
|
|
||||||
, menuItemAccessCallback' = isJust <$> maybeAuthPair
|
|
||||||
}
|
|
||||||
, NavbarRight $ MenuItem
|
, NavbarRight $ MenuItem
|
||||||
{ menuItemLabel = "Impressum"
|
{ menuItemLabel = "Impressum"
|
||||||
, menuItemIcon = Just "book"
|
, menuItemIcon = Just "book"
|
||||||
, menuItemRoute = VersionR
|
, menuItemRoute = VersionR
|
||||||
, menuItemAccessCallback' = return True
|
, menuItemAccessCallback' = return True
|
||||||
}
|
}
|
||||||
|
, NavbarRight $ MenuItem
|
||||||
|
{ menuItemLabel = "Profile"
|
||||||
|
, menuItemIcon = Just "cogs"
|
||||||
|
, menuItemRoute = ProfileR
|
||||||
|
, menuItemAccessCallback' = isJust <$> maybeAuthPair
|
||||||
|
}
|
||||||
, NavbarSecondary $ MenuItem
|
, NavbarSecondary $ MenuItem
|
||||||
{ menuItemLabel = "Login"
|
{ menuItemLabel = "Login"
|
||||||
, menuItemIcon = Just "sign-in-alt"
|
, menuItemIcon = Just "sign-in-alt"
|
||||||
|
|||||||
@ -221,6 +221,11 @@ getSShowR tid csh shn = do
|
|||||||
[ sortable (Just "type") "Typ" $ \(_,_, E.Value ftype) -> stringCell ftype
|
[ sortable (Just "type") "Typ" $ \(_,_, E.Value ftype) -> stringCell ftype
|
||||||
, sortable (Just "path") "Dateiname" $ anchorCell (\(E.Value fName,_,E.Value fType) -> CSheetR tid csh shn (SFileR fType fName))
|
, sortable (Just "path") "Dateiname" $ anchorCell (\(E.Value fName,_,E.Value fType) -> CSheetR tid csh shn (SFileR fType fName))
|
||||||
(\(E.Value fName,_,_) -> str2widget fName)
|
(\(E.Value fName,_,_) -> str2widget fName)
|
||||||
|
, sortable Nothing "Freigabe" $ \(_,_, E.Value ftype) ->
|
||||||
|
case ftype of
|
||||||
|
SheetExercise -> textCell $ display $ sheetActiveFrom sheet
|
||||||
|
SheetHint -> textCell $ display $ sheetHintFrom sheet
|
||||||
|
SheetSolution -> textCell $ display $ sheetSolutionFrom sheet
|
||||||
, sortable (Just "time") "Modifikation" $ \(_,E.Value modified,_) -> stringCell $ formatTimeGerWDT (modified :: UTCTime)
|
, sortable (Just "time") "Modifikation" $ \(_,E.Value modified,_) -> stringCell $ formatTimeGerWDT (modified :: UTCTime)
|
||||||
]
|
]
|
||||||
fileTable <- dbTable def $ DBTable
|
fileTable <- dbTable def $ DBTable
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user