File tree Expand file tree Collapse file tree 7 files changed +18
-17
lines changed Expand file tree Collapse file tree 7 files changed +18
-17
lines changed Original file line number Diff line number Diff line change 1
1
<div class =' crate row' >
2
2
<div class =' desc' >
3
3
<div class =' info' >
4
- {{ #link-to " crate" model }} {{ model .name }} {{ /link-to }}
5
- <span class =' vers small' >{{ model .max_version }} </span >
4
+ {{ #link-to ' crate' crate }} {{ crate .name }} {{ /link-to }}
5
+ <span class =' vers small' >{{ crate .max_version }} </span >
6
6
</div >
7
7
<div class =' summary' >
8
8
<span class =' small' >
9
- {{ truncate-text model .description }}
9
+ {{ truncate-text crate .description }}
10
10
</span >
11
11
</div >
12
12
</div >
13
13
<div class =' stats' >
14
14
<div class =' downloads' >
15
15
<img src =" /assets/download.png" />
16
- <span class =' num' >{{ format-num model .downloads }} </span >
16
+ <span class =' num' >{{ format-num crate .downloads }} </span >
17
17
</div >
18
18
</div >
19
19
</div >
Original file line number Diff line number Diff line change 15
15
<div class =' row' >
16
16
<div >
17
17
{{ #link-to ' crate' version }} {{ num }} {{ /link-to }}
18
+
18
19
<span class =' small' >{{ date-long created_at }} </span >
19
20
{{ #if yanked }}
20
21
<span class =' yanked' >yanked</span >
Original file line number Diff line number Diff line change 52
52
</div >
53
53
54
54
<div id =' crates' class =' white-rows' >
55
- {{ #each this as |row |}}
56
- {{ render " crate-row" row }}
55
+ {{ #each this as |crate |}}
56
+ {{ crate-row crate = crate }}
57
57
{{ /each }}
58
58
</div >
59
59
Original file line number Diff line number Diff line change 40
40
41
41
<div id =' crates' class =' white-rows' >
42
42
{{ #each this as |crate |}}
43
- {{ render ' crate -row' crate }}
43
+ {{ create -row crate = crate }}
44
44
{{ /each }}
45
45
</div >
46
46
Original file line number Diff line number Diff line change 40
40
</div >
41
41
42
42
<div id =' crates' class =' white-rows' >
43
- {{ #each }}
44
- {{ render " crate-row" this }}
43
+ {{ #each this as | crate | }}
44
+ {{ crate-row crate = crate }}
45
45
{{ /each }}
46
46
</div >
47
47
Original file line number Diff line number Diff line change 40
40
</div >
41
41
42
42
<div id =' crates' class =' white-rows' >
43
- {{ #each }}
44
- {{ render " crate-row" this }}
43
+ {{ #each this as | crate | }}
44
+ {{ crate-row crate = crate }}
45
45
{{ /each }}
46
46
</div >
47
47
Original file line number Diff line number Diff line change 19
19
</div >
20
20
21
21
<div id =' crates' class =' white-rows' >
22
- {{ #each }}
23
- {{ render " crate-row" this }}
22
+ {{ #each this as | crate | }}
23
+ {{ crate-row crate = crate }}
24
24
{{ /each }}
25
25
</div >
26
26
27
27
<div class =' pagination' >
28
- {{ #link-to ' search' (query-params page =prevPage ) class =" prev" }}
28
+ {{ #link-to ' search' (query-params page =prevPage ) class =' prev' }}
29
29
<img src =" /assets/left-pag.png" />
30
30
{{ /link-to }}
31
- {{ #each pages }}
32
- {{ #link-to ' search' (query-params page =this )}} {{ this }} {{ /link-to }}
31
+ {{ #each pages as | page | }}
32
+ {{ #link-to ' search' (query-params page =this )}} {{ page }} {{ /link-to }}
33
33
{{ /each }}
34
- {{ #link-to ' search' (query-params page =nextPage ) class =" next" }}
34
+ {{ #link-to ' search' (query-params page =nextPage ) class =' next' }}
35
35
<img src =" /assets/right-pag.png" />
36
36
{{ /link-to }}
37
37
</div >
You can’t perform that action at this time.
0 commit comments