diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-08 12:51:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2018-05-08 12:57:56 +0100 |
commit | ba16e095260993d814e6fb603a7d405d08a4ecb9 (patch) | |
tree | ee4ab36985d558c65d1e886b09a7b49e21e866a9 | |
parent | 91c279004bcf9d98a566531d1721648e7b424c82 (diff) |
Only hide deleted rows in contacts table.
Only the contacts table gets a button added to toggle the display
of deleted rows; elsewhere the rows need to continue to be shown.
-rw-r--r-- | templates/web/base/admin/body.html | 2 | ||||
-rw-r--r-- | web/cobrands/sass/_admin.scss | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/base/admin/body.html b/templates/web/base/admin/body.html index 92d20f665..2d77f10ce 100644 --- a/templates/web/base/admin/body.html +++ b/templates/web/base/admin/body.html @@ -67,7 +67,7 @@ <form method="post" action="[% c.uri_for('body', body_id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> - <table cellspacing="0" cellpadding="2" border="1"> + <table cellspacing="0" cellpadding="2" border="1" id="admin_contacts"> <tr> <th>[% loc('Category') %]</th> <th>[% loc('State') %]</th> diff --git a/web/cobrands/sass/_admin.scss b/web/cobrands/sass/_admin.scss index 9b4f8e20f..58d2ded5f 100644 --- a/web/cobrands/sass/_admin.scss +++ b/web/cobrands/sass/_admin.scss @@ -69,7 +69,7 @@ $button_bg_col: #a1a1a1; // also search bar (tables) } } -.js tr.is-deleted { +.js #admin_contacts tr.is-deleted { display: none; } |