From 77179fa0fc7f8cc8976f22414c05babb2f7fbe90 Mon Sep 17 00:00:00 2001 From: Eric Tsai Date: Thu, 13 Feb 2020 15:54:36 +0800 Subject: [PATCH] add link to the activity --- app/views/admin/activities/_activity.html.erb | 4 ++-- app/views/plugin/personal_activity/_profile.html.erb | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/admin/activities/_activity.html.erb b/app/views/admin/activities/_activity.html.erb index 15f7be8..af7a44d 100644 --- a/app/views/admin/activities/_activity.html.erb +++ b/app/views/admin/activities/_activity.html.erb @@ -2,8 +2,8 @@ <%= activity.member_profile.name %> <%= activity.year %> - <%= activity.activity_name %> -
+ <%= link_to activity.activity_name, OrbitHelper.url_to_plugin_show(activity.to_param,'personal_activity'), target: "blank"%> +