mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-29 03:35:25 +08:00
Merge pull request #1285 from Zanz2/zz_refactor_icons_sci_2445_v2
Replaced image icon with paperclip on scinote [SCI-2712]
This commit is contained in:
commit
0efaf827b8
5 changed files with 5 additions and 5 deletions
|
@ -6,7 +6,7 @@
|
|||
<% elsif result.is_table %>
|
||||
<span class="fas fa-table"></span>
|
||||
<% elsif result.is_asset %>
|
||||
<span class="fas fa-image"></span>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<h3 class="panel-title">
|
||||
<% if result.is_asset %>
|
||||
<% if result.asset.is_image? %>
|
||||
<span class="fas fa-image"></span>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<% else %>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<% end %>
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
id="new-result-asset"
|
||||
data-href="<%= new_my_module_result_asset_path(my_module_id: @my_module.id) %>"
|
||||
href="#">
|
||||
<span class="fas fa-image"></span>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<span class="hidden-xs"><%= t("my_modules.results.new_asset_result") %></span>
|
||||
</a>
|
||||
<% end %>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<% @asset_results.each do |asset| %>
|
||||
<h5>
|
||||
<% if asset.is_image? %>
|
||||
<span class="fas fa-image"></span>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<% else %>
|
||||
<% if wopi_file?(asset) %>
|
||||
<%= file_extension_icon(asset) %>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<span class="fas fa-table"></span>
|
||||
<% else %>
|
||||
<% if result.asset.is_image? %>
|
||||
<span class="fas fa-image"></span>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<% else %>
|
||||
<span class="fas fa-paperclip"></span>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue