Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the distinction between source and platform releases clearer #364

Merged
merged 1 commit into from
Feb 26, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions app/assets/javascripts/site.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ var DownloadBox = {
var os = window.session.browser.os; // Mac, Win, Linux
if(os == "Mac") {
$(".monitor").addClass("mac");
$("#download-link").text("Download for Mac").attr("href", "/download/mac");
$("#download-link").text("Downloads for Mac").attr("href", "/download/mac");
$("#gui-link").removeClass('mac').addClass('gui');
$("#gui-link").text("Mac GUIs").attr("href", "/download/gui/mac");
$("#gui-os-filter").attr('data-os', 'mac');
$("#gui-os-filter").text("Only show GUIs for my OS (Mac)")
} else if (os == "Windows") {
$(".monitor").addClass("windows");
$("#download-link").text("Download for Windows").attr("href", "/download/win");
$("#download-link").text("Downloads for Windows").attr("href", "/download/win");
$("#gui-link").removeClass('mac').addClass('gui');
$("#gui-link").text("Windows GUIs").attr("href", "/download/gui/win");
$("#alt-link").removeClass("windows").addClass("mac");
Expand All @@ -48,7 +48,7 @@ var DownloadBox = {
$("#gui-os-filter").text("Only show GUIs for my OS (Windows)")
} else if (os == "Linux") {
$(".monitor").addClass("linux");
$("#download-link").text("Download for Linux").attr("href", "/download/linux");
$("#download-link").text("Downloads for Linux").attr("href", "/download/linux");
$("#gui-link").removeClass('mac').addClass('gui');
$("#gui-link").text("Linux GUIs").attr("href", "/download/gui/linux");
$("#alt-link").removeClass("windows").addClass("mac");
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_monitor.html.haml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%div.monitor
%h4 Latest stable release
%h4 Latest source release
%span.version= latest_version

=link_to "Release Notes", latest_relnote_url
Expand Down