summaryrefslogtreecommitdiff
path: root/app/views/home/_content.html.haml
blob: c7902b1698bb39a490a961b5341126e2aad9057e (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
30
31
- if twitter_enabled == true
  .col-md-8
    .row
      %h1= t(:welcome, :provider => APP_CONFIG[:domain])
      .p=t(:welcome_message_html)

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

  .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?