/home/ivoiecob/email.hirewise-va.com/modules/CalendarWebclient/templates/CalendarItemMenuView.html
<div class="item" data-bind="css: {'expand': $parent.currentCalendarDropdown() === id}, style: {backgroundColor: color}">
<span class="dropdown">
<span class="dropdown_helper">
<span class="dropdown_arrow"><span></span></span>
<span class="dropdown_content" data-bind="style: {backgroundColor: color}">
<span class="item" data-bind="i18n: {'key': '%MODULENAME%/ACTION_EDIT_CALENDAR'}, visible: isEditable() && (!isSharedToAll() || isOwner()), click: function (oItem) {$parent.openUpdateCalendarForm(oItem);}"></span>
<span class="item" data-bind="i18n: {'key': '%MODULENAME%/ACTION_IMPORT_CALENDAR'}, visible: isEditable() && !subscribed(), click: function (oItem) {$parent.openImportCalendarForm(oItem);}"></span>
<span class="item" data-bind="i18n: {'key': '%MODULENAME%/ACTION_GET_CALENDAR_LINK'}, visible: !subscribed(), click: function (oItem, eEvent) {$parent.openGetLinkCalendarForm(oItem, eEvent);}"></span>
<span class="item" data-bind="i18n: {'key': '%MODULENAME%/ACTION_SHARE_AND_PUBLISH'}, visible: (canShare() && bAllowShare && !subscribed()), click: function (oItem) {$parent.openShareCalendarForm(oItem);}"></span>
<span class="item" data-bind="i18n: {'key': '%MODULENAME%/ACTION_REMOVE_CALENDAR'}, visible: isOwner(), click: function () {$parent.deleteCalendar(id);}"></span>
<span class="item" data-bind="i18n: {'key': '%MODULENAME%/ACTION_UNSUBSCRIBE_CALENDAR'}, visible: !isOwner() && !isSharedToAll(), click: function () {$parent.deleteCalendar(id, true);}"></span>
<span class="separator" data-bind="visible: (!isShared() || isOwner())"></span>
<span class="colors" data-bind="visible: isEditable(), foreach: $parent.colors">
<span class="item color_pick" data-bind="style: {backgroundColor: $data}, css: {'selected': $parent.color() === $data},
click: function () {$root.updateCalendarColor($data, $parent.id);}"></span>
</span>
</span>
</span>
</span>
</div>