Change list items on /users page

Change the HTML & CSS for user-list-item's to
support their content being split into 2 columns
of a grid instead of the edit link being
positioned absolutely.

Also includes:
1. removes `<div>`s from `<ul>` (non-valid HTML)
2. split action link out from permissions list
3. split summary of folder permissions out from
   permissions list
4. introduces a class for blocks of text that
   appear when there are no items.
5. fixes tests broken by changes to HTML
This commit is contained in:
Tom Byers
2020-08-19 14:52:17 +01:00
parent 3bebb1fbfd
commit be83ea36ea
4 changed files with 95 additions and 80 deletions

View File

@@ -28,7 +28,7 @@ def test_view_team_members(
) == 'Test User {}'.format(i + 1)
assert normalize_spaces(
page.select('.tick-cross-list-edit-link')[0].text
page.select('.user-list-edit-link')[0].text
) == 'Cancel invitation'