17 lines
517 B
Plaintext

component PopularCompanies(companies []*arn.Company, nextIndex int, user *arn.User)
CompaniesTabs(user)
h1.page-title Popular companies
ol#load-more-target.companies
PopularCompaniesScrollable(companies, user)
if nextIndex != -1
.buttons
LoadMore(nextIndex)
component PopularCompaniesScrollable(companies []*arn.Company, user *arn.User)
each company in companies
li.company.mountable
a.ajax(href=company.Link())= company.Name.English
//- span= " (" + strconv.Itoa(popularity[company.ID]) + ")"