01d272d2c4
* fix(teams): no hover bg change for noninteractive checkboxes * feat(teams): send notification to managers on task claim Also fix client unit test broken by prev commit * feat(groups): don't penalize for tasks assigned since last activity * fix(tests): actually fix client unit * fix(teams): improve task styles * fix(teams): let people other than leader see relevant approvals Also more style fixes * fix(approvals): better filtering and task headings for approval data * fix(test): correct test expectations for new GET /approvals behavior * fix(groups): style tweaks * different border for group and normal tasks * fix(teams): remove extra click for claiming * fix(teams): leaders & managers can check off approval-required tasks * fix(teams): don't notify user of own claim * fix group task margin and z-index on hover * fix(menu): sporadic error in top bar * fix(teams): more approval header and footer adjustments * fix(tests): adjust expectations for self-approval * fix(teams): address PR comments * refactor(timestamps): date user activity on authenticated requests * refactor(timestamps): update local user instead of direct db update
28 lines
587 B
Vue
28 lines
587 B
Vue
<template lang="pug">
|
|
base-notification(
|
|
:can-remove="canRemove",
|
|
:has-icon="false",
|
|
:notification="notification",
|
|
:read-after-click="true",
|
|
@click="action",
|
|
)
|
|
div(slot="content", v-html="notification.data.message")
|
|
</template>
|
|
|
|
<script>
|
|
import BaseNotification from './base';
|
|
|
|
export default {
|
|
props: ['notification', 'canRemove'],
|
|
components: {
|
|
BaseNotification,
|
|
},
|
|
methods: {
|
|
action () {
|
|
const groupId = this.notification.data.groupId;
|
|
this.$router.push({ name: 'groupPlanDetailTaskInformation', params: { groupId }});
|
|
},
|
|
},
|
|
};
|
|
</script>
|