Commit 666aef96 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Les rôles terminées sont affichés différement

parent 3a32fa41
Loading
Loading
Loading
Loading
+27 −27

File changed.

Preview size limit exceeded, changes collapsed.

+3 −6
Changes for public/js/oscar/src/EntityWithRole.vue: 3 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@
        Nouveau
      </a>
    </nav>
    <span class="cartouche" v-for="e in entities" :class="{'primary': e.rolePrincipal }">
    <span class="cartouche" v-for="e in entities" :class="{'primary': e.rolePrincipal, 'outofdate past': e.past }">
      <i v-if="e.context == 'activity'" class="icon-cube"></i>
      <i v-else class="icon-cubes"></i>
      <span class="text-clickable" @click="open(e.urlShow)" v-if="e.urlShow">{{ e.enrolledLabel }}</span>
@@ -317,12 +317,9 @@ export default {
            }
            if (ok.body.persons) {
              this.entities = ok.body.persons;
            }
            else if (ok.body.organizations) {
            } else if (ok.body.organizations) {
              this.entities = ok.body.organizations;
            }

            else {
            } else {
              this.entities = ok.body;
            }