From 4a653128165cf649536293cebf6ee0ec1e215656 Mon Sep 17 00:00:00 2001 From: Steffen Jost Date: Sat, 4 May 2019 18:56:25 +0200 Subject: [PATCH] Bugfix: sorting materials visible from; updated info pages --- src/Handler/Material.hs | 2 +- templates/featureList.hamlet | 1 - templates/info-lecturer/de.hamlet | 14 +++++++------- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/src/Handler/Material.hs b/src/Handler/Material.hs index 7268f0f09..86b1789e6 100644 --- a/src/Handler/Material.hs +++ b/src/Handler/Material.hs @@ -106,7 +106,7 @@ getMaterialListR tid ssh csh = do $ liftA2 anchorCell matLink toWgt . materialName . row2material , sortable (toNothingS "description") mempty $ foldMap modalCell . materialDescription . row2material - , sortable (Just "visble-from") (i18nCell MsgAccessibleSince) + , sortable (Just "visible-from") (i18nCell MsgAccessibleSince) $ foldMap (dateTimeCellVisible now) . materialVisibleFrom . row2material , sortable (Just "last-edit") (i18nCell MsgFileModified) $ dateTimeCell . materialLastEdit . row2material diff --git a/templates/featureList.hamlet b/templates/featureList.hamlet index e700604e3..ecd29bf3d 100644 --- a/templates/featureList.hamlet +++ b/templates/featureList.hamlet @@ -6,7 +6,6 @@

aus UniWorX bekannt: