Remove link to archived project page (#2037)

This commit is contained in:
aignatov-bio 2019-09-09 10:43:08 +02:00 committed by GitHub
parent 12d6804263
commit fdce4e6c7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,7 @@
<% if project.archived? %>
<span class="label label-warning"><%=t 'search.index.archived' %></span>
<% if can_read_team?(project.team) && can_restore_project?(project) %>
<%= route_to_other_team projects_archive_path(team: project.team),
project.team,
text %>
<% else %>
<%= text %>
<% end %>
<%= text %>
<% else %>
<% if can_read_project?(project) %>
<% if link_to_page == :show %>