From deb9bf2bd872c0927aa49b43425dbaf7664d3a6f Mon Sep 17 00:00:00 2001 From: ansuz Date: Fri, 30 Apr 2021 08:56:14 +0530 Subject: [PATCH] add calendar to userAdminMenu --- www/common/common-ui-elements.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index 5cac87c97..165e95f25 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -1676,6 +1676,18 @@ define([ }, }); } + if (padType !== 'calendar' && accountName) { + options.push({ + tag: 'a', + attributes: { + 'class': 'fa fa-calendar', + }, + content: h('span', Messages.calendar), + action: function () { + Common.openURL('/calendar/'); + }, + }); + } if (padType !== 'contacts' && accountName) { options.push({ tag: 'a',