2525 $ ( '#asset_linux' ) . text ( "SU2 " + data . tag_name + " for Linux" )
2626 $ ( '#asset_linux_time' ) . text ( data . assets [ key ] . created_at . substring ( 0 , 10 ) )
2727 $ ( '#asset_linux_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
28+ $ ( '#asset_linux_count' ) . text ( data . assets [ key ] . download_count )
2829 }
2930 if ( data . assets [ key ] . name . includes ( "linux64-mpi.zip" ) ) {
3031 $ ( '#asset_linux_mpi' ) . attr ( "href" , data . assets [ key ] . browser_download_url )
3132 $ ( '#asset_linux_mpi' ) . text ( "SU2 MPI " + data . tag_name + " for Linux" )
3233 $ ( '#asset_linux_mpi_time' ) . text ( data . assets [ key ] . created_at )
3334 $ ( '#asset_linux_mpi_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
35+ $ ( '#asset_linux_mpi_count' ) . text ( data . assets [ key ] . download_count )
3436 }
3537 if ( data . assets [ key ] . name . includes ( "mac64.zip" ) ) {
3638 $ ( '#asset_mac' ) . attr ( "href" , data . assets [ key ] . browser_download_url )
3739 $ ( '#asset_mac' ) . text ( "SU2 " + data . tag_name + " for macOS" )
3840 $ ( '#asset_mac_time' ) . text ( data . assets [ key ] . created_at . substring ( 0 , 10 ) )
3941 $ ( '#asset_mac_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
42+ $ ( '#asset_mac_count' ) . text ( data . assets [ key ] . download_count )
4043 }
4144 if ( data . assets [ key ] . name . includes ( "mac64-mpi.zip" ) ) {
4245 $ ( '#asset_mac_mpi' ) . attr ( "href" , data . assets [ key ] . browser_download_url )
4346 $ ( '#asset_mac_mpi' ) . text ( "SU2 MPI " + data . tag_name + " for macOS" )
4447 $ ( '#asset_mac_mpi_time' ) . text ( data . assets [ key ] . created_at )
45- $ ( '#asset_mac_mpi_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
48+ $ ( '#asset_mac_mpi_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
49+ $ ( '#asset_mac_mpi_count' ) . text ( data . assets [ key ] . download_count )
4650 }
4751 if ( data . assets [ key ] . name . includes ( "win64.zip" ) ) {
4852 $ ( '#asset_win' ) . attr ( "href" , data . assets [ key ] . browser_download_url )
4953 $ ( '#asset_win' ) . text ( "SU2 " + data . tag_name + " for Windows" )
5054 $ ( '#asset_win_time' ) . text ( data . assets [ key ] . created_at . substring ( 0 , 10 ) )
5155 $ ( '#asset_win_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
56+ $ ( '#asset_win_count' ) . text ( data . assets [ key ] . download_count )
5257 }
5358 if ( data . assets [ key ] . name . includes ( "win64-mpi.zip" ) ) {
5459 $ ( '#asset_win_mpi' ) . attr ( "href" , data . assets [ key ] . browser_download_url )
5560 $ ( '#asset_win_mpi' ) . text ( "SU2 MPI " + data . tag_name + " for Windows" )
5661 $ ( '#asset_win_mpi_time' ) . text ( data . assets [ key ] . created_at . substring ( 0 , 10 ) )
5762 $ ( '#asset_win_mpi_size' ) . text ( parseInt ( data . assets [ key ] . size / 1024 / 1024 ) + 'MB' )
63+ $ ( '#asset_win_mpi_count' ) . text ( data . assets [ key ] . download_count )
5864 }
5965 }
6066
@@ -106,12 +112,14 @@ <h3 id="current_release"></h3>
106112 < th > < h4 > Version</ h4 > </ th >
107113 < th > < h4 > Notes</ h4 > </ th >
108114 < th > < h4 > Published</ h4 > </ th >
115+ < th > < h4 > Downloads</ h4 > </ th >
109116 < th > < h4 > Size</ h4 > </ th >
110117 </ tr >
111118 < tr >
112119 < td > < a class ="btn btn-info btn-lg " style ="width: 280px; " id ="asset_linux " role ="button "> SU2 for Linux</ a > </ td >
113120 < td > -</ td >
114121 < td > < p id ="asset_linux_time "> </ p > </ td >
122+ < td > < p id ="asset_linux_count "> </ p > </ td >
115123 < td > < p id ="asset_linux_size "> </ p > </ td >
116124 </ tr >
117125 < tr >
@@ -121,6 +129,7 @@ <h3 id="current_release"></h3>
121129 < td > < a class ="btn btn-info btn-lg " style ="width: 280px; "id ="asset_linux_mpi " role ="button "> SU2 MPI for Linux</ a > </ td >
122130 < td > Requires installation of < a href ="https://www.mpich.org/downloads/ "> MPICH</ a > </ td >
123131 < td > < p id ="asset_linux_mpi_time "> </ p > </ td >
132+ < td > < p id ="asset_linux_mpi_count "> </ p > </ td >
124133 < td > < p id ="asset_linux_mpi_size "> </ p > </ td >
125134 </ tr >
126135 < tr >
@@ -130,6 +139,7 @@ <h3 id="current_release"></h3>
130139 < td > < a class ="btn btn-success btn-lg " style ="width: 280px; " id ="asset_mac " role ="button "> SU2 for macOS</ a > </ td >
131140 < td > -</ td >
132141 < td > < p id ="asset_mac_time "> </ p > </ td >
142+ < td > < p id ="asset_mac_count "> </ p > </ td >
133143 < td > < p id ="asset_mac_size "> </ p > </ td >
134144 </ tr >
135145 < tr >
@@ -139,6 +149,7 @@ <h3 id="current_release"></h3>
139149 < td > < a class ="btn btn-success btn-lg " style ="width: 280px; " id ="asset_mac_mpi " role ="button "> SU2 MPI macOS</ a > </ td >
140150 < td > Requires installation of < a href ="https://www.mpich.org/downloads/ "> MPICH</ a > </ td >
141151 < td > < p id ="asset_mac_mpi_time "> </ p > </ td >
152+ < td > < p id ="asset_mac_mpi_count "> </ p > </ td >
142153 < td > < p id ="asset_mac_mpi_size "> </ p > </ td >
143154 </ tr >
144155 < tr >
@@ -148,6 +159,7 @@ <h3 id="current_release"></h3>
148159 < td > < a class ="btn btn-danger btn-lg " style ="width: 280px; " id ="asset_win " role ="button "> SU2 for Windows</ a > </ td >
149160 < td > -</ td >
150161 < td > < p id ="asset_win_time "> </ p > </ td >
162+ < td > < p id ="asset_win_count "> </ p > </ td >
151163 < td > < p id ="asset_win_size "> </ p > </ td >
152164 </ tr >
153165 < tr >
@@ -157,6 +169,7 @@ <h3 id="current_release"></h3>
157169 < td > < a class ="btn btn-danger btn-lg " style ="width: 280px; " id ="asset_win_mpi " role ="button "> SU2 MPI for Windows</ a > </ td >
158170 < td > Requires installation of < a href ="https://www.microsoft.com/en-us/download/details.aspx?id=100593 "> Microsoft MPI</ a > </ td >
159171 < td > < p id ="asset_win_mpi_time "> </ p > </ td >
172+ < td > < p id ="asset_win_mpi_count "> </ p > </ td >
160173 < td > < p id ="asset_win_mpi_size "> </ p > </ td >
161174 </ tr >
162175 </ table >
0 commit comments