From 3d03194f58cb0e2121c9ed9e73febb8f8657c31d Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.co.uk>
Date: Wed, 25 Feb 2015 14:14:54 +0000
Subject: [PATCH] Added d.o username for each candidate

---
 template.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template.php b/template.php
index 51612883..f89ebbd1 100644
--- a/template.php
+++ b/template.php
@@ -107,5 +107,5 @@ function bluecheese_election_candidate_ballot_item($variables) {
   $full_name = theme('election_candidate_full_name', array('candidate' => $candidate));
   $link = l($picture . $full_name, election_candidate_uri_path($candidate), array('html' => TRUE));
 
-  return '<span class="election-candidate-ballot-item">' . $link . '</span>';
+  return '<span class="election-candidate-ballot-item">' . $link . ' <span class="username">(' . format_username($account)  .')</span></span>';
 }
-- 
GitLab