#956 Japanese links
This commit is contained in:
parent
d455b18fda
commit
04c1a1a809
@ -30,7 +30,13 @@
|
|||||||
link.external_url,
|
link.external_url,
|
||||||
:target => '_blank',
|
:target => '_blank',
|
||||||
:class => 'icon icon-link') %>
|
:class => 'icon icon-link') %>
|
||||||
<div class="dmsf_filename" title="<%= l(:label_target_folder)%>"><%= link.external_url %></div>
|
<div class="dmsf_filename" title="<%= l(:label_target_folder)%>">
|
||||||
|
<% if link.external_url && link.external_url.length > 50 %>
|
||||||
|
<%= "#{link.external_url[0, 25]}...#{link.external_url[-25, 25]}" %>
|
||||||
|
<% else %>
|
||||||
|
<%= link.external_url %>
|
||||||
|
<% end %>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if DmsfFolder.is_column_on?('extension') %>
|
<% if DmsfFolder.is_column_on?('extension') %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user