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