package templates import "dealroom/internal/model" import "fmt" templ AuditLogPage(profile *model.Profile, activities []*model.DealActivity, deals []*model.Deal, selectedDealID string, buyerGroups []string, selectedBuyerGroup string) { @Layout(profile, "audit") {

Audit Log

Complete activity timeline across all deal rooms.

if len(buyerGroups) > 0 { }
for _, act := range activities {
@activityDot(act.ActivityType)
{ act.UserName } { act.ActivityType } if act.DealName != "" { { act.DealName } }

{ act.ResourceType }: { act.ResourceName }

{ act.CreatedAt.Format("Jan 2, 2006 3:04 PM") }

}
} } templ activityDot(actType string) {
}