From 3a25b85e959043a5b39b2dc681fefde6526d8c32 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Mon, 13 Jan 2020 21:05:09 +0000 Subject: [PATCH] FEAT: Add conditional formatting to whole auth panel Matches the formatting on the button --- RIGS/templates/RIGS/event_detail.html | 10 +++++++++- RIGS/test_functional.py | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/RIGS/templates/RIGS/event_detail.html b/RIGS/templates/RIGS/event_detail.html index 1e570429..43631971 100644 --- a/RIGS/templates/RIGS/event_detail.html +++ b/RIGS/templates/RIGS/event_detail.html @@ -158,7 +158,15 @@ {% if event.is_rig and event.internal %}
-
+
Client Authorisation
diff --git a/RIGS/test_functional.py b/RIGS/test_functional.py index dff75735..df67a7dc 100644 --- a/RIGS/test_functional.py +++ b/RIGS/test_functional.py @@ -74,7 +74,7 @@ class UserRegistrationTest(LiveServerTestCase): self.assertEqual(last_name.get_attribute('placeholder'), 'Last name') initials = self.browser.find_element_by_id('id_initials') self.assertEqual(initials.get_attribute('placeholder'), 'Initials') - # No longer required for new users + # No longer required for new users # phone = self.browser.find_element_by_id('id_phone') # self.assertEqual(phone.get_attribute('placeholder'), 'Phone')