summaryrefslogtreecommitdiff
path: root/app/views/home/_content.html.haml
blob: 45afd92a6b8b31c64c43285b3cdc285e74129506 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
- if twitter_enabled == true
  .col-md-8
    .row
      %h1= t(:welcome, :provider => APP_CONFIG[:domain])
      .p=t(:welcome_message_html)

    .row
      = home_page_buttons

  .col-md-1

  .col-md-3
    .row
      = render 'twitter/index'
- else
  .row
    %h1= t(:welcome, :provider => APP_CONFIG[:domain])
    .p=t(:welcome_message_html)

  .row
    = home_page_buttons
  .row
    = render 'home/provider_message'

    - if Rails.env == 'development'
      .row
        %hr
        %p
          = link_to "make donation", new_payment_path if APP_CONFIG[:payment].present?