Merge pull request #2992 from aignatov-bio/ai-sci-fix-asset-link-partial-in-item-card

Fix asset link partial in item card
This commit is contained in:
aignatov-bio 2020-12-03 13:19:30 +01:00 committed by GitHub
commit edd774b045
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -31,7 +31,7 @@
<span>
<%= t 'repository_row.modal_info.column_name', cf: repository_cell.repository_column.name %>
<% if repository_cell.value_type == 'RepositoryAssetValue' %>
<%= render partial: 'shared/asset_link', locals: { asset: repository_cell.value.asset, display_image_tag: false }, formats: :html %>
<%= render partial: 'assets/asset_link', locals: { asset: repository_cell.value.asset, display_image_tag: false }, formats: :html %>
<% else %>
<%= custom_auto_link(repository_cell.value.formatted, simple_format: false, team: current_team) %>
<% end %>