From 5b3d92e40000e14c913c52227b5a717201cc5074 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 29 Apr 2014 12:34:32 +0200 Subject: remove os specific download buttons keeping the platform detection for now. --- app/views/common/_download_for_os.html.haml | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 app/views/common/_download_for_os.html.haml (limited to 'app/views/common') diff --git a/app/views/common/_download_for_os.html.haml b/app/views/common/_download_for_os.html.haml deleted file mode 100644 index 3a11d10..0000000 --- a/app/views/common/_download_for_os.html.haml +++ /dev/null @@ -1,17 +0,0 @@ -- os = download_for_os -%div{:class => "os-#{os}"} - %span.link - - btn_class = (os == "other") ? "disabled" : "btn-primary" - = link_to client_download_url(os), :class => "btn btn-large #{btn_class}" do - = big_icon('download') - .pull-right - = t(:download_client) - %br/ - %small= I18n.t("os.#{os}") - %span.info - %div= t(:client_info, :provider => content_tag(:b,APP_CONFIG[:domain])).html_safe - %div - - if os == "other" - = t(:all_downloads_info, :clients => alternative_client_links(os).to_sentence).html_safe - - else - = t(:other_downloads_info, :clients => alternative_client_links(os).to_sentence).html_safe -- cgit v1.2.3