Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New filters, sorting, and more updates for browse view #835

Closed
wants to merge 42 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
731ff5a
Add meta block to base template
dismantl Aug 14, 2020
68fb05c
Add titles and meta descriptions to public templates
dismantl Aug 14, 2020
79d746d
Add structured data to officer profiles: schema.org, Open Graph, Twit…
dismantl Aug 14, 2020
120ebfa
Update structured data for incident templates
dismantl Aug 14, 2020
eb88463
flake8 fix
dismantl Aug 14, 2020
42f0a64
jinjaaaaaaaaaaaaaa fix
dismantl Aug 14, 2020
5c32849
Differentiate between local and S3-hosted images for officer structur…
dismantl Aug 15, 2020
1db45bb
Remove stray comma in officer JSON-LD
dismantl Aug 15, 2020
7abac1c
Fix officer full name display when middle_initial longer than 1 char
dismantl Aug 15, 2020
d5b4d0e
Fix double periods in middle initials
dismantl Aug 19, 2020
b52a1a4
Merge branch 'develop' into seo
dismantl Aug 21, 2020
2cec579
Allow multiple comma-separated values for UII and badge number form f…
dismantl Sep 25, 2020
67adfd9
Move logic from list_officers.html template to view; Remove officer_n…
dismantl Sep 25, 2020
ef9889e
Add field to filter by officer photo availability. Fixes #798
dismantl Sep 25, 2020
36fe52f
flake8 fixes
dismantl Sep 25, 2020
91e5ed7
Merge branch 'develop' into seo
dismantl Sep 26, 2020
f6d4bde
Add job_title() and badge_number() methods to Officer class; move log…
dismantl Sep 26, 2020
6863335
Removed tests for last name capitalization; names should be correctly…
dismantl Sep 27, 2020
6878780
Merge branch 'develop' into seo
dismantl Sep 27, 2020
bd9c357
Simplify incident list title/description
dismantl Sep 27, 2020
c7ba317
Merge branch 'develop' into seo
dismantl Sep 27, 2020
eb415f4
Switch to using job_title() and badge_number() methods in templates
dismantl Sep 27, 2020
2dc8680
Changed AddOfficerForm field job_title -> job_id to be consistent.
dismantl Sep 27, 2020
b6a0ed4
Merge branch 'seo' into list-officer-updates
dismantl Sep 27, 2020
a159bf6
Fixes related to list officer updates. Moved photo filter above unit …
dismantl Sep 27, 2020
07641f2
Added total pay filter to list_officers view
dismantl Sep 27, 2020
62a4b07
Added dropdown menu for sorting list_officers view by: last name, ran…
dismantl Sep 27, 2020
73d5d79
Forgot to change field name in Add Officer form javascript
dismantl Sep 27, 2020
fdc5dfe
Merge branch 'seo' into list-officer-updates
dismantl Sep 27, 2020
e5611a9
Fix bugs in add_officer_profile()
dismantl Sep 27, 2020
3bbd76e
Added tests for new list_officer filters and sorting
dismantl Sep 27, 2020
ff10608
Added First and Last buttons to list_officer pagination in addition t…
dismantl Sep 27, 2020
2f85fa7
minor testing fixes
dismantl Sep 27, 2020
f6528d3
Merge branch 'develop' into list-officer-updates
dismantl Sep 27, 2020
cc0b3dc
Merge branch 'develop' into list-officer-updates
dismantl Sep 28, 2020
2abefcc
Fix to latest db migration, since it would fail if DB had salaries wi…
dismantl Sep 29, 2020
3ecc2bd
Removed unncessary Bootstrap CSS include
dismantl Sep 29, 2020
4911a14
Merge branch 'list-officer-updates' of github.com:lucyparsons/OpenOve…
dismantl Sep 29, 2020
1a8b054
Generated prev/next urls didn't include the new filters
dismantl Sep 29, 2020
6768304
When sorting browse results, nulls last
dismantl Sep 29, 2020
f818509
Bump libsqlite3 version from 3.27.2 -> 3.33.0 in Dockerfile so it sup…
dismantl Sep 29, 2020
9fae02b
Merge branch 'develop' into list-officer-updates
abandoned-prototype Nov 13, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removed unncessary Bootstrap CSS include
dismantl committed Sep 29, 2020
commit 3ecc2bdb8ff388d8a144de08f95ba2ea6da8d786
1 change: 0 additions & 1 deletion OpenOversight/app/templates/list_officer.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends "base.html" %}
{% block head %}<link href="{{bootstrap_find_resource('css/bootstrap.css', cdn='bootstrap')}}" rel="stylesheet">{% endblock %}
{% import "bootstrap/wtf.html" as wtf %}
{% block title %}Browse {{ department.name|title }} officers - OpenOversight{% endblock %}
{% block meta %}<meta name="description" content="Browse or search for officers in the {{ department.name|title }}.">{% endblock %}