22 lines
620 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:30:09 +00:00
ol#load-more-target.popular-companies
2018-03-13 22:06:16 +00:00
PopularCompaniesScrollable(companies, user)
if nextIndex != -1
.buttons
LoadMore(nextIndex)
component PopularCompaniesScrollable(companies []*arn.Company, user *arn.User)
each company in companies
2018-03-13 22:30:09 +00:00
li.popular-company.mountable
a.popular-company-name.ajax(href=company.Link())
.popular-company-icon
Icon("building")
span= company.Name.English
2018-03-13 22:06:16 +00:00
//- span= " (" + strconv.Itoa(popularity[company.ID]) + ")"