From bafe6568e9ee8860f4807e68a83ea44bfdc93733 Mon Sep 17 00:00:00 2001 From: Jackmcbarn Date: Tue, 14 Jan 2014 14:00:33 -0500 Subject: [PATCH] Make the diff the primary link in thanks When viewing a thank message, make the link to the diff the primary link. Visiting the user's user page is almost never the desired action when viewing a thank notification. The link to the user page is no longer present as a secondary link, but the notification-thanks-flyout2 and notification-thanks messages both include a link from the user's name to their user page. Bug: 56225 Change-Id: If971385e6d1a47e394d06decf25db2c1b7cc2fb9 --- Thanks.hooks.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Thanks.hooks.php b/Thanks.hooks.php index 059f4f05..424d54f3 100644 --- a/Thanks.hooks.php +++ b/Thanks.hooks.php @@ -130,8 +130,7 @@ class ThanksHooks { ); $notifications['edit-thank'] = array( - 'primary-link' => array( 'message' => 'notification-link-text-respond-to-user', 'destination' => 'agent' ), - 'secondary-link' => array( 'message' => 'notification-link-text-view-edit', 'destination' => 'diff' ), + 'primary-link' => array( 'message' => 'notification-link-text-view-edit', 'destination' => 'diff' ), 'category' => 'edit-thank', 'group' => 'positive', 'formatter-class' => 'EchoThanksFormatter',