From 71b2b649629de30ef133ce2dd9c8e855abe66a31 Mon Sep 17 00:00:00 2001
From: Akshen
Date: Wed, 20 Sep 2017 15:17:28 +0530
Subject: Fixes State Field Bug
- State field bug in registration form fixed
- Test cases updated for the same
- my_workshops page titles changed
---
workshop_app/templates/workshop_app/my_workshops.html | 12 ++++++++++--
.../templates/workshop_app/registration/register.html | 1 +
workshop_app/templates/workshop_app/workshop_stats.html | 2 +-
3 files changed, 12 insertions(+), 3 deletions(-)
(limited to 'workshop_app/templates')
diff --git a/workshop_app/templates/workshop_app/my_workshops.html b/workshop_app/templates/workshop_app/my_workshops.html
index 740e28f..d652502 100644
--- a/workshop_app/templates/workshop_app/my_workshops.html
+++ b/workshop_app/templates/workshop_app/my_workshops.html
@@ -81,7 +81,11 @@
-
My Requests
+ {% if request.user.profile.position == 'instructor' %}
+
Requests for Me
+ {% else %}
+
My Requests
+ {% endif %}
@@ -171,7 +175,11 @@
-
Proposed Workshops
+ {% if request.user.profile.position == 'instructor' %}
+
Workshops Proposed By Coordinators
+ {% else %}
+
Workshops Proposed By Me
+ {% endif %}
diff --git a/workshop_app/templates/workshop_app/registration/register.html b/workshop_app/templates/workshop_app/registration/register.html
index 6804ad0..abca610 100644
--- a/workshop_app/templates/workshop_app/registration/register.html
+++ b/workshop_app/templates/workshop_app/registration/register.html
@@ -49,5 +49,6 @@
+
{% endblock %}
diff --git a/workshop_app/templates/workshop_app/workshop_stats.html b/workshop_app/templates/workshop_app/workshop_stats.html
index d923c92..ba597dc 100644
--- a/workshop_app/templates/workshop_app/workshop_stats.html
+++ b/workshop_app/templates/workshop_app/workshop_stats.html
@@ -359,7 +359,7 @@
domain: 'IN',
displayMode: 'regions',
resolution: 'provinces',
- colorAxis: {colors: ['orange']},
+ colorAxis: {colors: ['lightyellow', 'orange']},
legend: {position: 'top'},
};
--
cgit