25 lines
733 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
2018-03-23 17:15:04 +00:00
a.popular-company-header.ajax(href=company.Link())
Icon("building")
span.popular-company-name= company.Name.English
p.popular-company-body.popular-company-description= company.Description
.popular-company-footer
p Test.
2018-03-13 22:30:09 +00:00
2018-03-13 22:06:16 +00:00
//- span= " (" + strconv.Itoa(popularity[company.ID]) + ")"