about summary refs log tree commit diff
path: root/app/views/about/_links.html.haml
blob: fb3350539ea5924dc182ba7a06a0df4906dd3fcc (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/tootsuite/mastodon'