mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Clicking on folder name in dashboard now brings you to manage folder view
This commit is contained in:
parent
51bc2b3fae
commit
6ff82a699e
1 changed files with 4 additions and 0 deletions
|
@ -151,7 +151,11 @@
|
|||
<% if !file[:is_root_index] %>
|
||||
<a href="#" onclick="confirmFileDelete('<%= file[:path] %>')"><i class="fa fa-trash" title="Delete"></i> Delete</a>
|
||||
<% end %>
|
||||
<% if file[:is_directory] %>
|
||||
<a class="link-overlay" href="?dir=<%= Rack::Utils.escape file[:path] %>" title="View <%= file[:path] %>"></a>
|
||||
<% else %>
|
||||
<a class="link-overlay" href="http://<%= current_site.username %>.neocities.org<%= file[:path] %>" title="View <%= file[:path] %>" target="_blank"></a>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Reference in a new issue