17 lines
517 B
Plaintext
Raw Normal View History

2018-03-13 22:06:16 +00:00
component PopularCompanies(companies []*arn.Company, nextIndex int, user *arn.User)
2017-12-02 20:53:01 +00:00
CompaniesTabs(user)
2017-12-02 22:18:11 +00:00
h1.page-title Popular companies
2018-03-13 22:06:16 +00:00
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]) + ")"