Skip to content

Commit b2c8e18

Browse files
committed
Auto merge of #1854 - rust-lang:fix-1275-stats-dropdown, r=carols10cents
Removes "Showing stats for" dropdown I completely removed the indication of which version the stats are being displayed for because the graph labels already indicate the version being graphed. Fixes #1275. <img width="1015" alt="image" src="https://user-images.githubusercontent.com/32344/65592165-5bcca880-df8e-11e9-83ba-9438fbb86932.png">
2 parents 6a44062 + 04a6f75 commit b2c8e18

File tree

1 file changed

+0
-28
lines changed

1 file changed

+0
-28
lines changed

app/templates/crate/version.hbs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -264,34 +264,6 @@
264264
<span class='desc small'>Versions published</span>
265265
</div>
266266
</div>
267-
268-
<div class='versions'>
269-
<span class='small'>Showing stats for</span>
270-
271-
{{#rl-dropdown-container class="button-holder"}}
272-
{{#rl-dropdown-toggle class="tan-button dropdown"}}
273-
{{#if requestedVersion}}
274-
{{ requestedVersion }}
275-
{{else}}
276-
All Versions
277-
{{/if}}
278-
<span class='arrow'></span>
279-
{{/rl-dropdown-toggle}}
280-
281-
{{#rl-dropdown id="all-versions" tagName="ul" class="dropdown" closeOnChildClick="a:link"}}
282-
<li class='all'>
283-
{{#link-to 'crate.version' 'all'}}All Versions{{/link-to}}
284-
</li>
285-
{{#each smallSortedVersions as |version|}}
286-
<li>
287-
{{#link-to 'crate.version' version.num}}
288-
{{ version.num }}
289-
{{/link-to}}
290-
</li>
291-
{{/each}}
292-
{{/rl-dropdown}}
293-
{{/rl-dropdown-container}}
294-
</div>
295267
<div class='graph'>
296268
<h4>Downloads over the last 90 days</h4>
297269
{{download-graph data=downloadData}}

0 commit comments

Comments
 (0)