Not a Bug 2.7.7 "Calendar" does not appear if there is no event

Freelancer

Active Member
Seems like if there is no event set, the calendar view does not show up, just the "list" button and a "there are no events" message.

To have a better orientation for the users, the calendar should appear even if there is no event set all.
 
Not on my installation...

no_calendar.webp
 
I have tried use Calendar in small screen devices before. It's hard to focus on somethings.
 
So, it is rendered by PHP? Could you hide it by CSS, so we can modify it on our own please?
 
So, it is rendered by PHP? Could you hide it by CSS, so we can modify it on our own please?
FreelancerIn the template Team_event_list
Please change the following block code:
PHP:
<xen:if is="!{$isMobile}">
    <a href="{$switchLinkCalendar}" class="ui-button ui-display ui-last-filter {xen:if '{$filterTab} == "calendar"', active}">
        <i class="material-icons">event</i><span>{xen:phrase Teams_calendar}</span>
    </a>
    </xen:if>
To
PHP:
    <a href="{$switchLinkCalendar}" class="ui-button ui-display ui-last-filter {xen:if '{$filterTab} == "calendar"', active}">
        <i class="material-icons">event</i><span>{xen:phrase Teams_calendar}</span>
    </a>
 
Back
Top