diff --git a/onebusaway-nyc-acta-webapp/src/main/webapp/css/screen.css b/onebusaway-nyc-acta-webapp/src/main/webapp/css/screen.css index c02ac6ec2..4718c75bb 100644 --- a/onebusaway-nyc-acta-webapp/src/main/webapp/css/screen.css +++ b/onebusaway-nyc-acta-webapp/src/main/webapp/css/screen.css @@ -192,6 +192,11 @@ padding-bottom: 2px; } +#survey { + padding-top: 1.0em; + padding-bottom: 1.0em; +} + .clear { clear: both; } \ No newline at end of file diff --git a/onebusaway-nyc-webapp/src/main/java/org/onebusaway/nyc/webapp/actions/OneBusAwayNYCActionSupport.java b/onebusaway-nyc-webapp/src/main/java/org/onebusaway/nyc/webapp/actions/OneBusAwayNYCActionSupport.java index 7d15da055..0962fe78c 100644 --- a/onebusaway-nyc-webapp/src/main/java/org/onebusaway/nyc/webapp/actions/OneBusAwayNYCActionSupport.java +++ b/onebusaway-nyc-webapp/src/main/java/org/onebusaway/nyc/webapp/actions/OneBusAwayNYCActionSupport.java @@ -113,22 +113,22 @@ protected UserBean getCurrentUser() { public String getSurveyText() { return _configurationService.getConfigurationValueAsString( - "display.surveyTextMobile", "Take a brief survey to help us improve your ride"); + "display.surveyText", "Take a brief survey to help us improve your ride"); } public String getSurveyLinkText() { return _configurationService.getConfigurationValueAsString( - "display.surveyLinkTextMobile", "mta.info/csurvey"); + "display.surveyLinkText", "mta.info/csurvey"); } public String getSurveyLinkUrl() { return _configurationService.getConfigurationValueAsString( - "display.surveyLinkUrlMobile", "https://mta.info/csurvey"); + "display.surveyLinkUrl", "https://mta.info/csurvey"); } public Boolean getShowSurvey() { return _configurationService.getConfigurationValueAsBoolean( - "display.showSurveyMobile", false); + "display.showSurvey", false); } } diff --git a/onebusaway-nyc-webapp/src/main/webapp/WEB-INF/content/index.jspx b/onebusaway-nyc-webapp/src/main/webapp/WEB-INF/content/index.jspx index b8aaff9d2..3fe4d4386 100644 --- a/onebusaway-nyc-webapp/src/main/webapp/WEB-INF/content/index.jspx +++ b/onebusaway-nyc-webapp/src/main/webapp/WEB-INF/content/index.jspx @@ -244,6 +244,16 @@ + + +
+

+ ${surveyText} ${surveyLinkText} +

+
+
${psa}