.error

-#%i.fa.fa-5x.fa-exclamation-triangle

%h2 We found an error loading this page.

- if current_repo
  - url = "#{current_repo.get('url')}/settings"
- else
  - url = "/"

%p
  %img{src: "/assets/error.gif"}

%hr

- if url
  %a.btn.btn-primary{href: "#{url}", data: {"dont-push": "true"}, target: "blank" }
    Check your permissions on #{current_repo.get('github_data').name} and try again.

%h3 error status: #{@status}