From 7863561bffeda5cdc27383b7d57aa1dca1649a83 Mon Sep 17 00:00:00 2001 From: Tim Alby Date: Mon, 27 Aug 2018 11:26:13 +0200 Subject: [PATCH] display university licence in affiliations UI --- services/web/app/views/user/settings/user-affiliations.pug | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/web/app/views/user/settings/user-affiliations.pug b/services/web/app/views/user/settings/user-affiliations.pug index 32b7d8fdf3..0a08a83ae2 100644 --- a/services/web/app/views/user/settings/user-affiliations.pug +++ b/services/web/app/views/user/settings/user-affiliations.pug @@ -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 }}