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:
Zanz2 2018-09-11 09:36:47 +02:00 committed by GitHub
commit 0efaf827b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -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>

View file

@ -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 %>

View file

@ -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 %>

View file

@ -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) %>

View file

@ -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 %>