OLD | NEW |
1 <a href="/bws/sidebar/{{id}}" | 1 <a href="/{{id}}" |
2 class="charm-token yui3-g {{size}}" | 2 class="charm-token yui3-g {{size}}" |
3 data-charmid="{{id}}"> | 3 data-charmid="{{id}}"> |
4 <span class="yui3-u"> | 4 <span class="yui3-u"> |
5 {{#if is_approved}} | 5 {{#if is_approved}} |
6 <span class="badge-approved" | 6 <span class="badge-approved" |
7 title="This charm has been reviewed."></span> | 7 title="This charm has been reviewed."></span> |
8 {{/if}} | 8 {{/if}} |
9 {{#if icon}} | 9 {{#if icon}} |
10 <img src="data:image/svg+xml;base64,{{ icon }}" alt="{{ name }} icon
" class="icon"> | 10 <img src="data:image/svg+xml;base64,{{ icon }}" alt="{{ name }} icon
" class="icon"> |
11 {{else}} | 11 {{else}} |
12 <div class="charm-icon"> | 12 <div class="charm-icon"> |
13 </div> | 13 </div> |
14 {{/if}} | 14 {{/if}} |
15 </span> | 15 </span> |
16 <span class="yui3-u-3-5"> | 16 <span class="yui3-u-3-5"> |
17 <span class="title"> | 17 <span class="title"> |
18 {{ name }} | 18 {{ name }} |
19 </span> | 19 </span> |
20 <span class="metadata"> | 20 <span class="metadata"> |
21 <strong>{{ recent_download_count }}</strong> | 21 <strong>{{ recent_download_count }}</strong> |
22 {{pluralize 'download' recent_download_count}}, | 22 {{pluralize 'download' recent_download_count}}, |
23 <strong>{{ recent_commit_count }}</strong> | 23 <strong>{{ recent_commit_count }}</strong> |
24 {{pluralize 'commit' recent_commit_count}} | 24 {{pluralize 'commit' recent_commit_count}} |
25 </span> | 25 </span> |
26 <span class="description">{{truncate description 110 }}</span> | 26 <span class="description">{{truncate description 110 }}</span> |
27 </span> | 27 </span> |
28 </a> | 28 </a> |
OLD | NEW |