Skip to content

Commit

Permalink
Use new downloads field for bioc too
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroen committed Aug 18, 2024
1 parent ac9f4e1 commit b9873ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions views/pkginfo.pug
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,10 @@ block content
a.text-muted.badge.text-bg-light.p-1.me-1.border(target='_blank' href=`https://github.com/search?q=library%28${Package}%29&type=code`)
i.fa-solid.fa-code
| #{format_count(_searchresults)} scripts
if _crandownloads
a.text-muted.badge.text-bg-light.p-1.me-1.border(target='_blank' href=`https://cranlogs.r-pkg.org`)
if _downloads && _downloads.count > 0
a.text-muted.badge.text-bg-light.p-1.me-1.border(target='_blank' href=_downloads.source)
i.fas.fa-download.text-success-emphasis
| #{format_count(_crandownloads)} downloads
| #{format_count(_downloads.count)} downloads

p
small.text-dark
Expand Down

0 comments on commit b9873ef

Please sign in to comment.