Skip to content

Commit

Permalink
Add buttons to "Departments" page for adding officers, units
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Oct 9, 2017
1 parent 700c40b commit 90bb847
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions OpenOversight/app/templates/departments.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,18 @@ <h4><small>{{ department.name }} ({{department.short_name}})</small></h4>
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add New Department
</a>

<a href="{{ url_for('main.add_officer') }}"
class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add New Officer
</a>

<a href="{{ url_for('main.add_unit') }}"
class="btn btn-primary" role="button">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
Add New Unit
</a>
{% endif %}

</div>
Expand Down

0 comments on commit 90bb847

Please sign in to comment.