mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +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] %>
|
<% if !file[:is_root_index] %>
|
||||||
<a href="#" onclick="confirmFileDelete('<%= file[:path] %>')"><i class="fa fa-trash" title="Delete"></i> Delete</a>
|
<a href="#" onclick="confirmFileDelete('<%= file[:path] %>')"><i class="fa fa-trash" title="Delete"></i> Delete</a>
|
||||||
<% end %>
|
<% 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>
|
<a class="link-overlay" href="http://<%= current_site.username %>.neocities.org<%= file[:path] %>" title="View <%= file[:path] %>" target="_blank"></a>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue