summaryrefslogtreecommitdiff
path: root/core/app/views/common/_download_for_os.html.haml
blob: b7c88ba8c21be68d2d091a2d1125f582ef501919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
- 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
      .pull-left= huge_icon('mask')
      = t(:download_client)
      %br/
      %small= I18n.t("os.#{os}")
  %span.info
    = t(:client_info, :provider => content_tag(:b,APP_CONFIG[:domain])).html_safe
    %br/
    - 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