From c3147455457ac7b75400887d031dac3962b583a8 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Mon, 5 Nov 2012 10:37:04 +0800 Subject: [PATCH] add link of title --- .../app/views/panel/announcement/plugin/_profile.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vendor/built_in_modules/announcement/app/views/panel/announcement/plugin/_profile.html.erb b/vendor/built_in_modules/announcement/app/views/panel/announcement/plugin/_profile.html.erb index 1be8e9b7..2cb15a65 100644 --- a/vendor/built_in_modules/announcement/app/views/panel/announcement/plugin/_profile.html.erb +++ b/vendor/built_in_modules/announcement/app/views/panel/announcement/plugin/_profile.html.erb @@ -25,7 +25,11 @@ <%= bulletin.bulletin_category.title%> - <%= bulletin.title%> + <% if bulletin.is_checked? %> + <%= link_to bulletin.title, panel_announcement_front_end_bulletin_path(bulletin, :category_id => bulletin.bulletin_category.id) rescue ''%> + <% else %> + <%= bulletin.title%> + <% end %> <%= display_date_time(bulletin.postdate) %> <% if not bulletin.deadline.nil?%>