{% with paginate=objects, - next_url=url_for('auth.user_api', page=objects.next_num), - prev_url=url_for('auth.user_api', page=objects.prev_num), + next_url=url_for('auth.get_users', page=objects.next_num), + prev_url=url_for('auth.get_users', page=objects.prev_num), location='top' %} {% include "partials/paginate_nav.html" %} {% endwith %} @@ -29,20 +29,11 @@

Users

{% for user in objects.items %} - {{ user.username }} + {{ user.username }}
- Edit | - Delete | - {% if user.is_disabled %} - Enable - {% elif user.confirmed %} - Disable - {% elif not user.approved %} - Approve - {% else %} - Re-send confirmation email - {% endif %} + Edit user | + Profile
{{ user.email }} @@ -80,8 +71,8 @@

Users

{% with paginate=objects, - next_url=url_for('auth.user_api', page=objects.next_num), - prev_url=url_for('auth.user_api', page=objects.prev_num), + next_url=url_for('auth.get_users', page=objects.next_num), + prev_url=url_for('auth.get_users', page=objects.prev_num), location='bottom' %} {% include "partials/paginate_nav.html" %} {% endwith %} diff --git a/OpenOversight/app/templates/description_delete.html b/OpenOversight/app/templates/description_delete.html index 1a33ff981..1003a109a 100644 --- a/OpenOversight/app/templates/description_delete.html +++ b/OpenOversight/app/templates/description_delete.html @@ -15,6 +15,7 @@

Are you sure you want to delete this description? This cannot be undone.
+

diff --git a/OpenOversight/app/templates/image.html b/OpenOversight/app/templates/image.html index 9e8d54ea1..64f777f2a 100644 --- a/OpenOversight/app/templates/image.html +++ b/OpenOversight/app/templates/image.html @@ -73,6 +73,7 @@

Classification

Classify Admin only

+ @@ -80,6 +81,7 @@

Classify Admin only

+ diff --git a/OpenOversight/app/templates/incident_delete.html b/OpenOversight/app/templates/incident_delete.html index 38f7d1d93..c0166f7f7 100644 --- a/OpenOversight/app/templates/incident_delete.html +++ b/OpenOversight/app/templates/incident_delete.html @@ -12,6 +12,7 @@

Are you sure you want to delete this incident? This cannot be undone. +

diff --git a/OpenOversight/app/templates/link_delete.html b/OpenOversight/app/templates/link_delete.html index 4330ae4dd..c516d7fb7 100644 --- a/OpenOversight/app/templates/link_delete.html +++ b/OpenOversight/app/templates/link_delete.html @@ -25,6 +25,7 @@

Are you sure you want to delete this link? This cannot be undone.
+

diff --git a/OpenOversight/app/templates/note_delete.html b/OpenOversight/app/templates/note_delete.html index 15bc4d8ba..a4d0d85b3 100644 --- a/OpenOversight/app/templates/note_delete.html +++ b/OpenOversight/app/templates/note_delete.html @@ -15,6 +15,7 @@

Are you sure you want to delete this note? This cannot be undone.
+

diff --git a/OpenOversight/app/templates/profile.html b/OpenOversight/app/templates/profile.html index 1235f9f7f..f85427f4d 100644 --- a/OpenOversight/app/templates/profile.html +++ b/OpenOversight/app/templates/profile.html @@ -37,14 +37,10 @@

Account Status

{% endif %} {% if current_user.is_administrator and user.is_administrator == False %} -

Toggle (Disable/Enable) User Admin only

-

-

- -
-

+

Edit user Admin only

+ {% endif %} {% if current_user.is_administrator %} diff --git a/OpenOversight/app/templates/sort.html b/OpenOversight/app/templates/sort.html index 3a1ce8a7c..df43826a5 100644 --- a/OpenOversight/app/templates/sort.html +++ b/OpenOversight/app/templates/sort.html @@ -38,6 +38,7 @@

Do you see uniformed law enforcement officers in the photo?
@@ -49,6 +50,7 @@

Do you see uniformed law enforcement officers in the photo?
+