display university licence in affiliations UI

This commit is contained in:
Tim Alby 2018-08-27 11:26:13 +02:00
parent 740571475c
commit 7863561bff

View file

@ -26,6 +26,8 @@ form.row(
href,
ng-click="resendConfirmationEmail(userEmail)"
) #{translate('resend_confirmation_email')}
div(ng-if="userEmail.confirmedAt && userEmail.affiliation.institution && userEmail.affiliation.institution.confirmed && userEmail.affiliation.institution.licence != 'free'").small
span.label.label-primary #{translate("professional")}
td
div(ng-if="userEmail.affiliation.institution")
div {{ userEmail.affiliation.institution.name }}