File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 192
192
<span class =' desc small' >Downloads all time</span >
193
193
</div >
194
194
<div class =' stat' >
195
- <span {{ bind-attr class =" crate.versions.isPending: loading : num" }} >
195
+ <span class =" {{ if crate.versions.isPending ' loading' }} num" >
196
196
<img src =" /assets/package.png" />
197
197
{{ model.versions.length }}
198
198
</span >
204
204
<span class =' small' >Showing stats for</span >
205
205
<div class =' button-holder' >
206
206
<button {{ action ' toggleVersions' }}
207
- {{ bind-attr class =" showAllVersions: active :tan-button : dropdown" }} >
207
+ class =" {{ if showAllVersions ' active' }} dropdown" >
208
208
{{ #if requestedVersion }}
209
209
{{ requestedVersion }}
210
210
{{ else }}
213
213
<span class =' arrow' ></span >
214
214
</button >
215
215
216
- <ul id =' all-versions' {{ bind-attr class =" showAllVersions: open : dropdown" }} >
216
+ <ul id =' all-versions' class =" {{ if showAllVersions ' open' }} dropdown" >
217
217
<li class =' all' >
218
218
{{ #link-to ' crate.index' this }} All Versions{{ /link-to }}
219
219
</li >
You can’t perform that action at this time.
0 commit comments