summaryrefslogtreecommitdiff
path: root/core/app/views/common/_download_for_os.html.haml
blob: 4c096ce3c61093f450bb449176402a9e81abdc36 (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
    %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