Skip to content

Commit

Permalink
display full commissioner name on main page, as well
Browse files Browse the repository at this point in the history
  • Loading branch information
stvnrlly committed Mar 8, 2014
1 parent fad7784 commit 6bd0809
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ancbrigadesite/templates/ancbrigadesite/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ <h3>Find Your ANC</h3>
<!--If search successful, details below-->
<div id="info" style="display: none; margin-top: 1em;">
<div>
<p>You live in <b>ANC <span class="anc-name"> </span></b>, single member district <b><span class="smd-name"> </span></b>.</p>
<p>You live in <b>ANC <span class="anc-name"> </span></b>, single member district <b><span class="smd-name"> </span></b></p>

<p>Your commissioner is: <b><span class="smd-commissioner"></span></b>.
<p>Your commissioner is: <b><span class="smd-commissioner"></span></b>

<p><a id="anc-link">Find out more about this ANC.</a></p>
<p><a id="anc-link">Find out more about this ANC</a></p>

</div>
</div>
Expand Down Expand Up @@ -333,6 +333,7 @@ <h2>How can I get involved?</h2>
if (smd["nickname"]) name += smd["nickname"] + " ";
if (smd["middle_name"]) name += smd["middle_name"] + " ";
name += smd["last_name"];
if (smd["suffix"]) name += " " + smd["suffix"];
$(".smd-commissioner").text(name);

$('#map_col').show();
Expand Down

0 comments on commit 6bd0809

Please sign in to comment.