mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-30 20:23:14 +08:00
Remove link to archived project page (#2037)
This commit is contained in:
parent
12d6804263
commit
fdce4e6c7c
1 changed files with 1 additions and 7 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue