Skip to content

Commit

Permalink
Turn off Account Settings page when NOT signed in.
Browse files Browse the repository at this point in the history
  • Loading branch information
DaleMcGrew committed Feb 25, 2016
1 parent bf7819b commit c9a4d8b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
13 changes: 8 additions & 5 deletions src/js/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,14 @@ export default class Header extends Component {
My Ballot Location
</Link>
</li>
<li className="list-group-item">
<Link onClick={this.hide.bind(this)} to="/more/sign_in">
Account Settings
</Link>
</li>
{ signedIn ?
<li className="list-group-item">
<Link onClick={this.hide.bind(this)} to="/more/sign_in">
Account Settings
</Link>
</li>
: <span></span>
}
</ul>
{/*
<ul className="list-group">
Expand Down
6 changes: 5 additions & 1 deletion src/js/components/MoreMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ export default class MoreMenu extends Component {
{/*<li className="list-group-item"><Link to="/more/email_ballot">Print or Email Ballot</Link></li>*/}
<li className="list-group-item"><Link to="/more/opinions/followed">Opinions I'm Following</Link></li>
<li className="list-group-item"><Link to="/settings/location">My Ballot Location</Link></li>
<li className="list-group-item"><Link to="/more/sign_in">Account Settings</Link></li>
{this.props.signed_in_personal ?
<li className="list-group-item"><Link to="/more/sign_in">Account Settings</Link></li>
:
<span></span>
}
</ul>
{/*
<ul className="list-group">
Expand Down
7 changes: 4 additions & 3 deletions src/js/routes/More/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,22 +33,23 @@ export default class About extends Component {
Twitter - Data<br />
Vote Smart - Data<br />
Voting Information Project, Pew Charitable Trusts - Data<br />
Wikipedia - Data<br />
We Vote Education - Data
We Vote Education - Data<br />
Wikipedia - Data
</p>
<p>
Special thanks to our team of volunteers.
Thank you everyone! (This is a list of volunteers who have contributed 10 or more hours, in rough order of hours contributed.)</p>
<p>
Dale McGrew - Oakland, CA<br />
Jenifer Fernandez Ancona - Oakland, CA<br />
Rob Simpson - Vienna, VA<br />
Rob Simpson - Warrenton, VA<br />
Nicolas Fiorini - Arlington, VA<br />
Niko Barry - Berkeley, CA<br />
Joe Evans - Santa Cruz, CA<br />
Mary O'Connor - Sebastopol, CA<br />
Marissa Luna - Lansing, MI<br />
Aaron Borden - San Francisco, CA<br />
Lisa Cho - San Francisco, CA<br />
Judy Johnson - Oakland, CA<br />
Robin Braverman - Walnut Creek, CA<br />
Mike McConnell - San Francisco, CA<br />
Expand Down

0 comments on commit c9a4d8b

Please sign in to comment.