Bug 32030: Remove 'add' buttons if no licenses or no other agreements
Signed-off-by: Jonathan Field <jonathan.field@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
852d5d5132
commit
8044314bc4
2 changed files with 4 additions and 2 deletions
|
@ -96,9 +96,10 @@
|
|||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
<a class="btn btn-default" @click="addLicense"
|
||||
<a v-if="licenses.length" class="btn btn-default" @click="addLicense"
|
||||
><font-awesome-icon icon="plus" /> Add new license</a
|
||||
>
|
||||
<span v-else>There are licenses created yet.</span>
|
||||
</fieldset>
|
||||
</template>
|
||||
|
||||
|
|
|
@ -74,9 +74,10 @@
|
|||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
<a class="btn btn-default" @click="addRelationship"
|
||||
<a v-if="agreements.length" class="btn btn-default" @click="addRelationship"
|
||||
><font-awesome-icon icon="plus" /> Add new related agreement</a
|
||||
>
|
||||
<span v-else>There are no other agreements created yet.</span>
|
||||
</fieldset>
|
||||
</template>
|
||||
|
||||
|
|
Loading…
Reference in a new issue