diff --git a/applications/workeffort/data/WorkEffortPortletData.xml b/applications/workeffort/data/WorkEffortPortletData.xml
index b5fc3430bf..e0ebf21fc0 100644
--- a/applications/workeffort/data/WorkEffortPortletData.xml
+++ b/applications/workeffort/data/WorkEffortPortletData.xml
@@ -26,5 +26,14 @@
screenLocation="component://workeffort/widget/WorkEffortScreens.xml"
description="My Company Comms From My Page" securityServiceName="portalPermissionIsEmployee" securityMainAction="VIEW"/>
+
+
+
+
+
diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Days.groovy b/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Days.groovy
index 8642bfed73..2e4f3a6ace 100644
--- a/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Days.groovy
+++ b/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Days.groovy
@@ -58,7 +58,9 @@ if (start == null) {
}
Timestamp prev = UtilDateTime.getDayStart(start, -1, timeZone, locale);
+context.prevMillis = new Long(prev.getTime()).toString();
Timestamp next = UtilDateTime.getDayStart(start, 1, timeZone, locale);
+context.nextMillis = new Long(next.getTime()).toString();
Map serviceCtx = UtilMisc.toMap("userLogin", userLogin,"start",start,"numPeriods",new Integer(24),"periodType",new Integer(Calendar.HOUR));
serviceCtx.putAll(UtilMisc.toMap("partyId", partyId, "facilityId", facilityId, "fixedAssetId", fixedAssetId, "workEffortTypeId", workEffortTypeId, "locale", locale, "timeZone", timeZone));
diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Month.groovy b/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Month.groovy
index eeffa98c5b..139ffbf6a3 100644
--- a/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Month.groovy
+++ b/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Month.groovy
@@ -62,7 +62,9 @@ tempCal = UtilDateTime.toCalendar(start, timeZone, locale);
numDays = tempCal.getActualMaximum(Calendar.DAY_OF_MONTH);
prev = UtilDateTime.getMonthStart(start, -1, timeZone, locale);
+context.prevMillis = new Long(prev.getTime()).toString();
next = UtilDateTime.getDayStart(start, numDays+1, timeZone, locale);
+context.nextMillis = new Long(next.getTime()).toString();
end = UtilDateTime.getDayStart(start, numDays, timeZone, locale);
//Find out what date to get from
diff --git a/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Week.groovy b/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Week.groovy
index 6d3f9adbac..f414f648fc 100644
--- a/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Week.groovy
+++ b/applications/workeffort/webapp/workeffort/WEB-INF/actions/calendar/Week.groovy
@@ -58,7 +58,9 @@ if (start == null) {
}
Timestamp prev = UtilDateTime.getDayStart(start, -7, timeZone, locale);
+context.prevMillis = new Long(prev.getTime()).toString();
Timestamp next = UtilDateTime.getDayStart(start, 7, timeZone, locale);
+context.nextMillis = new Long(next.getTime()).toString();
Timestamp end = UtilDateTime.getDayStart(start, 6, timeZone, locale);
Map serviceCtx = UtilMisc.toMap("userLogin", userLogin,"start",start,"numPeriods",new Integer(7),"periodType",new Integer(Calendar.DATE));
diff --git a/applications/workeffort/webapp/workeffort/calendar/CalendarTabBar.ftl b/applications/workeffort/webapp/workeffort/calendar/CalendarTabBar.ftl
deleted file mode 100644
index c68e9f5d91..0000000000
--- a/applications/workeffort/webapp/workeffort/calendar/CalendarTabBar.ftl
+++ /dev/null
@@ -1,41 +0,0 @@
-<#--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-to you under the Apache License, Version 2.0 (the
-"License"); you may not use this file except in compliance
-with the License. You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing,
-software distributed under the License is distributed on an
-"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
-<#assign selected = tabButtonItem?default("void")>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/applications/workeffort/webapp/workeffort/calendar/day.ftl b/applications/workeffort/webapp/workeffort/calendar/day.ftl
index 34ee9909cb..27cb04f287 100644
--- a/applications/workeffort/webapp/workeffort/calendar/day.ftl
+++ b/applications/workeffort/webapp/workeffort/calendar/day.ftl
@@ -16,15 +16,6 @@ KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
-
<#if periods?has_content>
<#if (maxConcurrentEntries < 2)>
<#assign entryWidth = 100>
diff --git a/applications/workeffort/webapp/workeffort/calendar/month.ftl b/applications/workeffort/webapp/workeffort/calendar/month.ftl
index 79d0fc7a20..46857e515e 100644
--- a/applications/workeffort/webapp/workeffort/calendar/month.ftl
+++ b/applications/workeffort/webapp/workeffort/calendar/month.ftl
@@ -28,15 +28,6 @@ height: auto;
}
-
<#if periods?has_content>