Skip to content

Commit

Permalink
imp(index.html): DL title contains os-name
Browse files Browse the repository at this point in the history
That way, it's clearer, besides the icons themselves, which OS you are
downloading for.

Related to #106
[skip ci]
  • Loading branch information
Byron committed May 10, 2015
1 parent 52027c6 commit 69b1210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mako/index.html.mako
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ DO NOT EDIT !
<a href="${crates_io_url(an, v)}"><img src="${html_index.asset_urls.crates_img}" title="This API on crates.io" height="16" width="16"/></a>
% else:
% for os_name in ('ubuntu', 'osx'):
<a href="${html_index.download_base_url + '/google.rs/%s/%s/%s/%s' % (api_name, ad.cargo.build_version, os_name, program_name(an, v))}"><img src="${html_index.asset_urls.get('%s_img' % os_name)}" title="Download the 64bit program" height="16" width="16"/></a>
<a href="${html_index.download_base_url + '/google.rs/%s/%s/%s/%s' % (api_name, ad.cargo.build_version, os_name, program_name(an, v))}"><img src="${html_index.asset_urls.get('%s_img' % os_name)}" title="Download the pre-compiled 64bit program for ${os_name}" height="16" width="16"/></a>
% endfor ## each os
% endif
% if not loop.last:
Expand Down

0 comments on commit 69b1210

Please sign in to comment.