summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-09-02 20:47:55 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-09-02 20:47:55 +0000
commitbcb9a1cd3347031884474cf8c5de153e43964a9e (patch)
treecf40259c52e3b58c2396545fcc6ec1ab400522b4 /app/views/repositories
parentd24d11a6825eda4e4efee455e2aafff01a16616a (diff)
downloadredmine-bcb9a1cd3347031884474cf8c5de153e43964a9e.tar.gz
redmine-bcb9a1cd3347031884474cf8c5de153e43964a9e.zip
Replaces icon-folder and icon-folder-open in repository view with SVG icons (#23980).
git-svn-id: https://svn.redmine.org/redmine/trunk@23010 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r--app/views/repositories/_dir_list_content.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_dir_list_content.html.erb b/app/views/repositories/_dir_list_content.html.erb
index 396c7f6d0..a46f9665b 100644
--- a/app/views/repositories/_dir_list_content.html.erb
+++ b/app/views/repositories/_dir_list_content.html.erb
@@ -16,7 +16,7 @@
:depth => (depth + 1),
:parent_id => tr_id)) %>');">&nbsp;</span>
<% end %>
-<%= link_to ent_name,
+<%= link_to icon_for_file(entry, ent_name),
{:action => (entry.is_dir? ? 'show' : 'entry'), :id => @project, :repository_id => @repository.identifier_param, :path => to_path_param(ent_path), :rev => @rev},
:class => (entry.is_dir? ? 'icon icon-folder' : "icon icon-file #{Redmine::MimeType.css_class_of(ent_name)}")%>
</td>