From af4a2a33f66ef7a9ee8055e97ebeb6a7f3d336e5 Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Thu, 27 Feb 2014 13:10:50 -0500 Subject: [PATCH] Add link/unlink LinkedIn to profile template --- views/account/profile.jade | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/views/account/profile.jade b/views/account/profile.jade index e45f8b433a8..047d077389a 100644 --- a/views/account/profile.jade +++ b/views/account/profile.jade @@ -98,3 +98,9 @@ block content p: a.text-danger(href='/account/unlink/github') Unlink your GitHub account else p: a(href='/auth/github') Link your GitHub account + + if secrets.linkedinAuth + if user.linkedin + p: a.text-danger(href='/account/unlink/linkedin') Unlink your LinkedIn account + else + p: a(href='/auth/linkedin') Link your LinkedIn account