diff --git a/README.md b/README.md index fc01b18..bf676b1 100644 --- a/README.md +++ b/README.md @@ -296,6 +296,8 @@ The following manual tests were made: - [see issue #179 here](https://github.com/mikerae/string-rota/issues/179) - [Fix Allocate Reserve Button for Admin and Rota Manager #184 Testing](/readme_assets/images/testing-issue184.png) - [see issue #184 here](https://github.com/mikerae/string-rota/issues/184) +- [Update messaging #176 Testing](/readme_assets/images/testing-issue176.png) + - [see issue #176 here](https://github.com/mikerae/string-rota/issues/176) #### Human Testing No human testing was done for this MVP, but once office manager functionality, and the hiding of draft rotas is implemented, user feedback will be sort. diff --git a/readme_assets/images/testing-issue176.png b/readme_assets/images/testing-issue176.png new file mode 100644 index 0000000..5071455 Binary files /dev/null and b/readme_assets/images/testing-issue176.png differ diff --git a/string_rota/templates/string_rota/home.html b/string_rota/templates/string_rota/home.html index 0349ebd..0ed5faf 100644 --- a/string_rota/templates/string_rota/home.html +++ b/string_rota/templates/string_rota/home.html @@ -34,47 +34,65 @@
To enable an existing member {% if not office %}the {{section}} section{% endif %} to - access this app, please choose - "Register a Player" from the side menu.
+ + {% if messages %} + {% for message in messages %} + {% with message.level as level %} + {% if level == 40 %} +To enable an existing member {% if not office %}the {{section}} section{% endif %} + to + access this app, please choose + "Register a Player" from the side menu.
+This project - needs {{ strength }} players.
- {% if not rota_manager %} - {% if seating_plan.get_plan_status_display == "Draft" %} -This project + needs {{ strength }} players.
+ {% if not rota_manager %} + {% if seating_plan.get_plan_status_display == "Draft" %} +Name | +Position | +|
---|---|---|
{{position.player}} + | + {% else %} +{{position.player}} + | + {% endif %} +{{position.position_number}} | +
{{position.player}} | +{{position.position_number}} | +
Name | -Position | -|
---|---|---|
{{position.player}} - | - {% else %} -{{position.player}} - | - {% endif %} -{{position.position_number}} | -
{{position.player}} | -{{position.position_number}} | -