mirror of
https://github.com/neocities/neocities.git
synced 2025-06-29 15:43:20 +02:00
Improvements to filenames in Dashboard
This commit is contained in:
parent
3f607501d6
commit
1334a03875
2 changed files with 4 additions and 3 deletions
|
@ -135,8 +135,8 @@
|
|||
<% end %>
|
||||
|
||||
<a class="title">
|
||||
<% if file[:name].length > 15 %>
|
||||
<%= file[:name].slice(0..14) %>…
|
||||
<% if file[:name].length > 19 %>
|
||||
<%= file[:name].slice(0..18) %>…
|
||||
<% else %>
|
||||
<%= file[:name] %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue