feat(fusion_clock): move dashboard Quick Actions above the team/org cards
Quick Actions were at the very bottom, so managers had to scroll past the whole team band to reach the nav shortcuts. Relocate the block to just above the Team/Org section (still below the personal band everyone has). Bump 3.14.2 -> 3.14.3. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -114,6 +114,25 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- QUICK ACTIONS (kept above the team/org cards so managers reach them without scrolling) -->
|
||||
<div class="fclk-dash-card">
|
||||
<h4>Quick Actions</h4>
|
||||
<div class="fclk-dash-actions">
|
||||
<span class="fclk-dash-act" t-on-click="onOpenClock">🕒 Open My Clock</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewTimesheets">📄 My Timesheets</span>
|
||||
<t t-if="state.team">
|
||||
<span class="fclk-dash-act" t-on-click="onViewAttendances">📋 All Attendances</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewCorrections">📨 Approvals</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewPenalties">⚠ Penalties</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewActivityLogs">🗒 Activity Logs</span>
|
||||
</t>
|
||||
<t t-if="state.role === 'manager'">
|
||||
<span class="fclk-dash-act" t-on-click="onViewShiftPlanner">📅 Shift Planner</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewReports">📊 Reports</span>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- TEAM / ORG BAND -->
|
||||
<t t-if="state.team">
|
||||
<div class="fclk-dash-divider"><span>Team / Org</span></div>
|
||||
@@ -178,24 +197,6 @@
|
||||
</div>
|
||||
</t>
|
||||
|
||||
<!-- QUICK ACTIONS -->
|
||||
<div class="fclk-dash-card">
|
||||
<h4>Quick Actions</h4>
|
||||
<div class="fclk-dash-actions">
|
||||
<span class="fclk-dash-act" t-on-click="onOpenClock">🕒 Open My Clock</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewTimesheets">📄 My Timesheets</span>
|
||||
<t t-if="state.team">
|
||||
<span class="fclk-dash-act" t-on-click="onViewAttendances">📋 All Attendances</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewCorrections">📨 Approvals</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewPenalties">⚠ Penalties</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewActivityLogs">🗒 Activity Logs</span>
|
||||
</t>
|
||||
<t t-if="state.role === 'manager'">
|
||||
<span class="fclk-dash-act" t-on-click="onViewShiftPlanner">📅 Shift Planner</span>
|
||||
<span class="fclk-dash-act" t-on-click="onViewReports">📊 Reports</span>
|
||||
</t>
|
||||
</div>
|
||||
</div>
|
||||
</t>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user