diff options
author | BonfaceKilz | 2021-11-09 12:52:55 +0300 |
---|---|---|
committer | BonfaceKilz | 2021-11-11 09:32:26 +0300 |
commit | e7fb408c3ab09b3aed5c862848f02d28d1a25f35 (patch) | |
tree | 7f05c2f13e8830138c75abb228b5d8ecfae2936b /wqflask | |
parent | e0be9d3d6685b76a01c376655556295606ffea4e (diff) | |
download | genenetwork2-e7fb408c3ab09b3aed5c862848f02d28d1a25f35.tar.gz |
view_group.html: Remove redundant bool check
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/admin/view_group.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/wqflask/wqflask/templates/admin/view_group.html b/wqflask/wqflask/templates/admin/view_group.html index 26692fe8..b14fd14e 100644 --- a/wqflask/wqflask/templates/admin/view_group.html +++ b/wqflask/wqflask/templates/admin/view_group.html @@ -14,7 +14,7 @@ <input type="text" name="new_group_name" style="font-size: 20px; display: none; width: 500px;" class="form-control" placeholder="{{ group_info.name }}"> <button class="btn btn-default" style="display: inline;" id="change_group_name">Change Group Name</button> </h1> - {% if user_is_admin == true %} + {% if is_admin %} <div style="display: inline;"> <button type="button" id="remove_users" class="btn btn-danger" data-url="/groups/remove_users">Remove Selected Users from Group</button> </div> @@ -51,7 +51,7 @@ {% endfor %} </tbody> </table> - {% if user_is_admin == true %} + {% if is_admin %} <div style="margin-top: 20px;"> <span>E-mail of user to add to admins (multiple e-mails can be added separated by commas):</span> <input type="text" size="60" name="admin_emails_to_add" placeholder="Enter E-mail(s)" value=""> @@ -88,7 +88,7 @@ {% endfor %} </tbody> </table> - {% if user_is_admin == true %} + {% if is_admin %} <div style="margin-top: 20px;"> <span>E-mail of user to add to members (multiple e-mails can be added separated by commas):</span> <input type="text" size="60" name="member_emails_to_add" placeholder="Enter E-mail(s)" value=""> @@ -99,7 +99,7 @@ {% endif %} {% else %} There are currently no members in this group. - {% if user_is_admin == true %} + {% if is_admin %} <div style="margin-top: 20px;"> <span>E-mail of user to add to members (multiple e-mails can be added separated by commas):</span> <input type="text" size="60" name="member_emails_to_add" placeholder="Enter E-mail(s)" value=""> |