Skip to content

Commit

Permalink
Fixed #341 - email column in edit/add permissions now disappears when…
Browse files Browse the repository at this point in the history
… in mobile view
  • Loading branch information
linzjax committed Jul 11, 2016
1 parent c621121 commit 92d6c63
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions cadasta/organization/tests/test_widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def test_render_with_admin(self):
' <p>Bob Smith</p>'
' <p>bob</p>'
' </td>'
' <td>[email protected]</td>'
' <td class="hidden-xs hidden-sm">[email protected]</td>'
' <td>'
' Administrator'
' </td>'
Expand All @@ -43,7 +43,7 @@ def test_render_with_manager(self):
' <p>Bob Smith</p>'
' <p>bob</p>'
' </td>'
' <td>[email protected]</td>'
' <td class="hidden-xs hidden-sm">[email protected]</td>'
' <td>'
' <select name="bob">\n'
'<option value="PU">Project User</option>\n'
Expand Down
2 changes: 1 addition & 1 deletion cadasta/organization/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class ProjectRoleWidget(Select):
' <p>{full_name}</p>'
' <p>{username}</p>'
' </td>'
' <td>{email}</td>'
' <td class="hidden-xs hidden-sm">{email}</td>'
' <td>'
' {select}'
' </td>'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<thead>
<tr>
<th class="col-md-4">{% trans "Member" %}</th>
<th class="col-md-4">{% trans "Email address" %}</th>
<th class="col-md-4 hidden-xs hidden-sm">{% trans "Email address" %}</th>
<th class="col-md-4">{% trans "Permissions" %}</th>
</tr>
</thead>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2>{% trans "Edit member permissions" %}</h2>
<thead>
<tr>
<th class="col-md-4">{% trans "Member" %}</th>
<th class="col-md-4">{% trans "Email address" %}</th>
<th class="col-md-4 hidden-xs hidden-sm">{% trans "Email address" %}</th>
<th class="col-md-4">{% trans "Permissions" %}</th>
</tr>
</thead>
Expand Down

0 comments on commit 92d6c63

Please sign in to comment.