Skip to content
Snippets Groups Projects
Commit 10e64bc4 authored by nicrausaz's avatar nicrausaz
Browse files

Fix indicateur nouveau

parent 8e73be0b
No related branches found
No related tags found
No related merge requests found
...@@ -69,8 +69,8 @@ export default { ...@@ -69,8 +69,8 @@ export default {
}, },
methods: { methods: {
print () { print () {
var print_divs = document.getElementsByClassName("printable") let print_divs = document.getElementsByClassName("printable")
var print_area = window.open() let print_area = window.open()
print_area.document.write('<html><head><title>Candidature#' + this.$store.state.moduleApplications.currentApplication.application_data.personal_data.applicant_id + '</title></head><body>'); print_area.document.write('<html><head><title>Candidature#' + this.$store.state.moduleApplications.currentApplication.application_data.personal_data.applicant_id + '</title></head><body>');
for (let div of print_divs) { for (let div of print_divs) {
print_area.document.write(div.innerHTML) print_area.document.write(div.innerHTML)
......
...@@ -28,13 +28,17 @@ ...@@ -28,13 +28,17 @@
:search="$store.state.moduleApplications.filters.search" :search="$store.state.moduleApplications.filters.search"
> >
<template v-slot:items="props"> <template v-slot:items="props">
<span></span> <tr>
<tr :class="{ isNew: isNew(props.item.fk_status, props.item.applicant_application_date) }"> <td
<td v-if="$store.getters['moduleUser/userIsResponsible']" :class="{ isNew: isNew(props.item.fk_status, props.item.applicant_application_date) }"> v-if="$store.getters['moduleUser/userIsResponsible']"
:class="{ isNew: isNew(props.item.fk_status, props.item.applicant_application_date) }"
>
<v-checkbox v-model="props.selected" hide-details color="primary"></v-checkbox> <v-checkbox v-model="props.selected" hide-details color="primary"></v-checkbox>
</td> </td>
<td> <td
<v-tooltip bottom class="mr-2" > :class="{ isNew: isNew(props.item.fk_status, props.item.applicant_application_date) }"
>
<v-tooltip bottom class="mr-2">
<template v-slot:activator="{ on }"> <template v-slot:activator="{ on }">
<v-icon big @click="navigateTo(props.item.applicant_id)" v-on="on">pageview</v-icon> <v-icon big @click="navigateTo(props.item.applicant_id)" v-on="on">pageview</v-icon>
</template> </template>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment