Skip to content

Commit

Permalink
Remove lobbyists and lobbyist employers from front page
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Cochrane (Lead developer, DataMade) committed May 8, 2020
1 parent f8ca656 commit 9b6e30f
Showing 1 changed file with 4 additions and 78 deletions.
82 changes: 4 additions & 78 deletions camp_fin/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -59,82 +59,6 @@ <h1>Keep an eye on money in New Mexico politics</h1>
{{ page.text|safe }}
</div>
</div>
<div class="row">
<div class='col-xs-12'>
<h1>
<i class="fa fa-fw fa-university"></i>
New Mexico Lobbyists
<br/>
<small>
Browse lobbyists and their employers in New Mexico
</small>
</h1>
</div>
</div>
<div class="row">
<div class="col-xs-12 lobbyist-stats">
<p>
<span class="green">
<i class="fa fa-fw fa-plus-circle"></i>
{{ total_lobbyist_contributions|format_money_short }}
</span>
raised for candidates and committees since 2013
</p>
<p>
<span class="red">
<i class="fa fa-fw fa-minus-circle"></i>
{{ total_lobbyist_expenditures|format_money_short }}
</span>
spent on lobbying since 2013
</p>
</div>
<hr/>
</div>
{% if page.text %}
<div class="row">
<div class="col-xs-12 col-md-10">
{{ page.text|safe }}
</div>
</div>
{% endif %}
<div class="row">
<div class="col-xs-12">
<h3>
<i class="fa fa-fw fa-user"></i>
Browse {{ num_lobbyists|intcomma }}
<a href="{% url 'lobbyist-list' %}">lobbyists</a>
</h3>
{% with sortable=False %}
{% include 'camp_fin/widgets/lobbyist-list.html' %}
{% endwith %}
<p>
<a href="{% url 'lobbyist-list' %}" class='btn btn-danger'>
<i class='fa fa-fw fa-user'></i>
See more top lobbyists >
</a>
</p>
<br />
</div>
</div>
<div class="row">
<div class="col-xs-12">
<h3>
<i class="fa fa-fw fa-users"></i>
Browse {{ num_employers|intcomma }}
<a href="{% url 'organization-list' %}">employers</a>
paying lobbyists
</h3>
{% include 'camp_fin/widgets/organization-list.html' %}
<p>
<a href="{% url 'organization-list' %}" class='btn btn-danger'>
<i class='fa fa-fw fa-user'></i>
See more top lobbyist employers >
</a>
</p>
<br /><br />
</div>
</div>

<div class='row'>
<div class='col-sm-12'>

Expand Down Expand Up @@ -198,8 +122,10 @@ <h2><a href='/committees/'><i class='fa fa-group'></i> Top Committees</a></h2>

<p><a href='/committees/' class='btn btn-danger'><i class='fa fa-group'></i> Browse committees ></a></p><br /><br />

<h2><a href='/about/'><i class='fa fa-fw fa-info-circle'></i> About</a></h2>
{{ home_page_about|safe }}
{% if home_page_about %}
<h2><a href='/about/'><i class='fa fa-fw fa-info-circle'></i> About</a></h2>
{{ home_page_about|safe }}
{% endif %}
</div>
</div>
{% endblock %}

0 comments on commit 9b6e30f

Please sign in to comment.