module Web.View.InstitutionalKnowledge.Index where import Web.View.Prelude data IndexView = IndexView { entries :: ![InstitutionalKnowledgeEntry] , hubs :: ![Hub] , mQuery :: !(Maybe Text) } instance View IndexView where html IndexView { .. } = [hsx|
No entries found.
|] renderEntriesSection entries = [hsx|{e.summary}
View{show e.createdAt}