File tree Expand file tree Collapse file tree
templates/dashboard/packages Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 {% for package in packages %}
55 <div class =" card" >
66 <div class =" card-body py-2" >
7- {% set packageInfoUrl = path(' dashboard_packages_info' , {packageName : package .name }) %}
8- <a href =" {{ packageInfoUrl }}" ><h5 class =" card-title" >{{ package .name }}</h5 ></a >
9- {% if package .mirrorRegistry %}
10- <p class =" card-text mb-1 text-body-secondary" >Mirrored from {{ package .mirrorRegistry .name }}</p >
11- {% endif %}
7+ <div class =" d-flex justify-content-between align-items-center" >
8+ <div >
9+ {% set packageInfoUrl = path(' dashboard_packages_info' , {packageName : package .name }) %}
10+ <a href =" {{ packageInfoUrl }}" ><h5 class =" card-title" >{{ package .name }}</h5 ></a >
11+ {% if package .mirrorRegistry %}
12+ <p class =" card-text mb-1 text-body-secondary" >Mirrored from {{ package .mirrorRegistry .name }}</p >
13+ {% endif %}
14+ </div >
15+ <div >
16+ <div title =" {{ ' Total installations' | trans }}" >
17+ <span class =" fa-solid fa-download me-2" aria-hidden =" true" ></span >{{ package .installations .total }}
18+ </div >
19+ </div >
20+ </div >
1221 <p class =" card-text" >{{ package .description ?? ' <em>No description provided.</em>' }}</p >
1322 </div >
1423 </div >
Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ License: License
5050Providers : Providers
5151Statistics : Statistics
5252Suggesters : Suggesters
53+ Total installations : Total installations
5354
5455# Page actions
5556Impersonate : Impersonate
You can’t perform that action at this time.
0 commit comments