diff --git a/app/models/project.rb b/app/models/project.rb index 6933baf..9859921 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -86,7 +86,9 @@ class Project pd_data = [] fields_to_show.collect do |t| if t == "project_title" - pd_data << { "data_title" => "#{p.send(t)}" } + link = OrbitHelper.url_to_plugin_show(p.to_param,'personal_project') + link = (link == "#" ? p.send(t) : "#{p.send(t)}") + pd_data << { "data_title" => link } elsif t == "period" date = p.duration pd_data << { "data_title" => date } diff --git a/app/views/plugin/personal_project/_profile.html.erb b/app/views/plugin/personal_project/_profile.html.erb index cd80f7f..54e1c3b 100644 --- a/app/views/plugin/personal_project/_profile.html.erb +++ b/app/views/plugin/personal_project/_profile.html.erb @@ -43,7 +43,8 @@ <% end %>