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