diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-08-08 07:07:20 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-08-08 07:07:20 +0000 |
commit | a1b607480abc6649f9531b1fd8a7d20c3c656084 (patch) | |
tree | c23e04bd9922308d8c00f9e3962a02bdcb120248 /app/views/admin | |
parent | 5b64f0ff969db3f0a99c1c780ab03d842da6b59d (diff) | |
download | redmine-a1b607480abc6649f9531b1fd8a7d20c3c656084.tar.gz redmine-a1b607480abc6649f9531b1fd8a7d20c3c656084.zip |
Refactor: added link_to_project helper to handle links to projects
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3924 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/projects.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/projects.rhtml b/app/views/admin/projects.rhtml index dc7bb97ed..46b68e4cc 100644 --- a/app/views/admin/projects.rhtml +++ b/app/views/admin/projects.rhtml @@ -27,7 +27,7 @@ <tbody> <% project_tree(@projects) do |project, level| %> <tr class="<%= cycle("odd", "even") %> <%= css_project_classes(project) %> <%= level > 0 ? "idnt idnt-#{level}" : nil %>"> - <td class="name"><%= project.active? ? link_to(h(project.name), :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %></td> + <td class="name"><%= link_to_project(project, :action => 'settings') %></td> <td><%= textilizable project.short_description, :project => project %></td> <td align="center"><%= checked_image project.is_public? %></td> <td align="center"><%= format_date(project.created_on) %></td> |