summaryrefslogtreecommitdiff
path: root/app/views/home/_content.html.haml
blob: 950f85e637f5980fb5e316e0e22a9134fb4bea68 (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
- 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

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