|
106 | 106 | </div>
|
107 | 107 | </div>
|
108 | 108 |
|
| 109 | +<div id='crate-links'> |
| 110 | + <div class='section'> |
| 111 | + <h3>Links</h3> |
| 112 | + <ul> |
| 113 | + {{#if homepage}} |
| 114 | + <li><a {{bind-attr href=homepage}}>Homepage</a></li> |
| 115 | + {{/if}} |
| 116 | + {{#if wiki}} |
| 117 | + <li><a {{bind-attr href=wiki}}>Wiki</a></li> |
| 118 | + {{/if}} |
| 119 | + {{#if mailing_list}} |
| 120 | + <li><a {{bind-attr href=mailing_list}}>Mailing List</a></li> |
| 121 | + {{/if}} |
| 122 | + {{#if documentation}} |
| 123 | + <li><a {{bind-attr href=documentation}}>Documentation</a></li> |
| 124 | + {{/if}} |
| 125 | + {{#if repository}} |
| 126 | + <li><a {{bind-attr href=repository}}>Repository</a></li> |
| 127 | + {{/if}} |
| 128 | + </ul> |
| 129 | + </div> |
| 130 | + |
| 131 | + <div class='section' id='crate-dependencies'> |
| 132 | + <h3>Dependencies</h3> |
| 133 | + <ul> |
| 134 | + {{#each currentDependencies}} |
| 135 | + <li> |
| 136 | + {{#link-to 'crate' crate_id}} |
| 137 | + {{ crate_id}} {{ req }} |
| 138 | + {{/link-to}} |
| 139 | + </li> |
| 140 | + {{/each}} |
| 141 | + </ul> |
| 142 | + </div> |
| 143 | + |
| 144 | + <div class='section' id='crate-dev-dependencies'> |
| 145 | + <h3>Dev-Dependencies</h3> |
| 146 | + <ul> |
| 147 | + {{#each currentDevDependencies}} |
| 148 | + <li> |
| 149 | + {{#link-to 'crate' crate_id}} |
| 150 | + {{ crate_id}} {{ req }} |
| 151 | + {{/link-to}} |
| 152 | + </li> |
| 153 | + {{/each}} |
| 154 | + </ul> |
| 155 | + </div> |
| 156 | + |
| 157 | + <div class='section' id='crate-versions'> |
| 158 | + <h3>Versions</h3> |
| 159 | + <ul> |
| 160 | + {{#each smallSortedVersions}} |
| 161 | + <li> |
| 162 | + {{#link-to 'crate' this}}{{ num }}{{/link-to}} |
| 163 | + <span class='date'>{{ date-small created_at }}</span> |
| 164 | + {{#if yanked}} |
| 165 | + <span class='yanked'>yanked</span> |
| 166 | + {{/if}} |
| 167 | + </li> |
| 168 | + {{/each}} |
| 169 | + </ul> |
| 170 | + <span class='small'> |
| 171 | + {{#if hasMoreVersions}} |
| 172 | + {{#link-to 'crate.versions' this}} |
| 173 | + show all {{ versions.length }} versions |
| 174 | + {{/link-to}} |
| 175 | + {{/if}} |
| 176 | + </span> |
| 177 | + </div> |
| 178 | +</div> |
| 179 | + |
109 | 180 | <div id='crate-downloads'>
|
110 | 181 | <div class='stats'>
|
111 | 182 | <h3>Stats Overview</h3>
|
|
160 | 231 | </div>
|
161 | 232 | </div>
|
162 | 233 | {{/if}}
|
163 |
| - |
164 |
| -<div id='crate-links'> |
165 |
| - <div class='section'> |
166 |
| - <h3>Links</h3> |
167 |
| - <ul> |
168 |
| - {{#if homepage}} |
169 |
| - <li><a {{bind-attr href=homepage}}>Homepage</a></li> |
170 |
| - {{/if}} |
171 |
| - {{#if wiki}} |
172 |
| - <li><a {{bind-attr href=wiki}}>Wiki</a></li> |
173 |
| - {{/if}} |
174 |
| - {{#if mailing_list}} |
175 |
| - <li><a {{bind-attr href=mailing_list}}>Mailing List</a></li> |
176 |
| - {{/if}} |
177 |
| - {{#if documentation}} |
178 |
| - <li><a {{bind-attr href=documentation}}>Documentation</a></li> |
179 |
| - {{/if}} |
180 |
| - {{#if repository}} |
181 |
| - <li><a {{bind-attr href=repository}}>Repository</a></li> |
182 |
| - {{/if}} |
183 |
| - </ul> |
184 |
| - </div> |
185 |
| - |
186 |
| - <div class='section' id='crate-dependencies'> |
187 |
| - <h3>Dependencies</h3> |
188 |
| - <ul> |
189 |
| - {{#each currentDependencies}} |
190 |
| - <li> |
191 |
| - {{#link-to 'crate' crate_id}} |
192 |
| - {{ crate_id}} {{ req }} |
193 |
| - {{/link-to}} |
194 |
| - </li> |
195 |
| - {{/each}} |
196 |
| - </ul> |
197 |
| - </div> |
198 |
| - |
199 |
| - <div class='section' id='crate-dev-dependencies'> |
200 |
| - <h3>Dev-Dependencies</h3> |
201 |
| - <ul> |
202 |
| - {{#each currentDevDependencies}} |
203 |
| - <li> |
204 |
| - {{#link-to 'crate' crate_id}} |
205 |
| - {{ crate_id}} {{ req }} |
206 |
| - {{/link-to}} |
207 |
| - </li> |
208 |
| - {{/each}} |
209 |
| - </ul> |
210 |
| - </div> |
211 |
| - |
212 |
| - <div class='section' id='crate-versions'> |
213 |
| - <h3>Versions</h3> |
214 |
| - <ul> |
215 |
| - {{#each smallSortedVersions}} |
216 |
| - <li> |
217 |
| - {{#link-to 'crate' this}}{{ num }}{{/link-to}} |
218 |
| - <span class='date'>{{ date-small created_at }}</span> |
219 |
| - {{#if yanked}} |
220 |
| - <span class='yanked'>yanked</span> |
221 |
| - {{/if}} |
222 |
| - </li> |
223 |
| - {{/each}} |
224 |
| - </ul> |
225 |
| - <span class='small'> |
226 |
| - {{#if hasMoreVersions}} |
227 |
| - {{#link-to 'crate.versions' this}} |
228 |
| - show all {{ versions.length }} versions |
229 |
| - {{/link-to}} |
230 |
| - {{/if}} |
231 |
| - </span> |
232 |
| - </div> |
233 |
| -</div> |
0 commit comments