diff options
author | azul <azul@riseup.net> | 2014-05-06 09:35:35 +0200 |
---|---|---|
committer | azul <azul@riseup.net> | 2014-05-06 09:35:35 +0200 |
commit | a4131d472329dc6416623691dcc956dc32793638 (patch) | |
tree | ba74769a2f0781ccbdd920f6e47f0de7cc7c7661 /app/views/common/_download_for_os.html.haml | |
parent | 55fcdd3975baf6f6e167ab5164203ab9a2245186 (diff) | |
parent | f1c45566aaa06a1a4b2d2bb1f9b5abb4ab645dab (diff) |
Merge pull request #155 from azul/feature/simplify-download-btn
Feature/simplify download btn
Diffstat (limited to 'app/views/common/_download_for_os.html.haml')
-rw-r--r-- | app/views/common/_download_for_os.html.haml | 17 |
1 files changed, 0 insertions, 17 deletions
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 |