about summary refs log tree commit diff
path: root/app/views/about/_links.html.haml
blob: d7fe317e61d505d73ffd48bf54cd5d061200a4a6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
.panel
  .panel-header= t 'about.links'
  .panel-list
    %ul
      - if user_signed_in?
        %li= link_to t('about.get_started'), root_path
      - else
        - if instance.open_registrations
          %li= link_to t('about.get_started'), new_user_registration_path
        %li= link_to t('auth.login'), new_user_session_path
      %li= link_to t('about.terms'), terms_path
      %li= link_to t('about.source_code'), 'https://github.com/chronister/mastodon'