@(account: gitbucket.core.model.Account, groupNames: List[String], extraMailAddresses: List[String], gists: Seq[gitbucket.gist.model.Gist])(implicit context: gitbucket.core.controller.Context) @import gitbucket.gist.model.Mode @gitbucket.core.account.html.main(account, groupNames, "snippets", extraMailAddresses){ @if(gists.isEmpty){ No snippets } else { @gists.map { gist =>
@gist.title @if(gist.mode == Mode.Secret.code){ Secret } @if(gist.mode == Mode.Private.code){ Private }
@gist.description
Updated @gitbucket.core.helper.html.datetimeago(gist.updatedDate)
} } }