gitlab-org--gitlab-foss/app/views/projects/forks/error.html.haml

22 lines
578 B
Text
Raw Normal View History

2015-04-30 13:06:18 -04:00
- page_title "Fork project"
- if @forked_project && !@forked_project.saved?
.alert.alert-danger.alert-block
%h4
%i.fa.fa-code-fork
Fork Error!
%p
You tried to fork
= link_to_project @project
but it failed for the following reason:
- if @forked_project && @forked_project.errors.any?
%p
–
= @forked_project.errors.full_messages.first
%p
= link_to new_namespace_project_fork_path(@project.namespace, @project), title: "Fork", class: "btn" do
%i.fa.fa-code-fork
Try to Fork again