mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
disable close participation button when is closed
This commit is contained in:
parent
a85f170e2d
commit
54eb15ea35
@ -39,8 +39,17 @@ div.subheader {
|
|||||||
height: 130px;
|
height: 130px;
|
||||||
}
|
}
|
||||||
|
|
||||||
//// VUEJS ////
|
//// SCRATCH BUTTONS
|
||||||
|
.sc-button {
|
||||||
|
&.disabled {
|
||||||
|
cursor: default;
|
||||||
|
&.bt-remove {
|
||||||
|
background-color: #d9d9d9;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//// VUEJS ////
|
||||||
div.vue-component {
|
div.vue-component {
|
||||||
padding: 1.5em;
|
padding: 1.5em;
|
||||||
margin: 2em 0;
|
margin: 2em 0;
|
||||||
@ -146,7 +155,6 @@ div.results {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.discret {
|
.discret {
|
||||||
color: grey;
|
color: grey;
|
||||||
margin-right: 1em;
|
margin-right: 1em;
|
||||||
|
@ -29,10 +29,12 @@
|
|||||||
</button>
|
</button>
|
||||||
</li-->
|
</li-->
|
||||||
<li>
|
<li>
|
||||||
<button class="sc-button bt-remove"
|
<button v-if="!participation.endDate"
|
||||||
|
class="sc-button bt-remove"
|
||||||
:title="$t('action.remove')"
|
:title="$t('action.remove')"
|
||||||
@click.prevent="$emit('close', participation)">
|
@click.prevent="$emit('close', participation)">
|
||||||
</button>
|
</button>
|
||||||
|
<button v-else class="sc-button bt-remove disabled"></button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user