mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Fix asset link partial in item card
This commit is contained in:
parent
a27c78e445
commit
e6e9c84a7c
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@
|
||||||
<span>
|
<span>
|
||||||
<%= t 'repository_row.modal_info.column_name', cf: repository_cell.repository_column.name %>
|
<%= t 'repository_row.modal_info.column_name', cf: repository_cell.repository_column.name %>
|
||||||
<% if repository_cell.value_type == 'RepositoryAssetValue' %>
|
<% 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 %>
|
<% else %>
|
||||||
<%= custom_auto_link(repository_cell.value.formatted, simple_format: false, team: current_team) %>
|
<%= custom_auto_link(repository_cell.value.formatted, simple_format: false, team: current_team) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue