diff --git a/services/web/app/views/subscriptions/dashboard/_institution_memberships.pug b/services/web/app/views/subscriptions/dashboard/_institution_memberships.pug index b33af08a69..abe80a0cc3 100644 --- a/services/web/app/views/subscriptions/dashboard/_institution_memberships.pug +++ b/services/web/app/views/subscriptions/dashboard/_institution_memberships.pug @@ -8,6 +8,6 @@ each affiliation in confirmedMemberAffiliations | | #{settings.appName} account as a confirmed member of | - strong= affiliation.institution.name + strong(ng-non-bindable)= affiliation.institution.name hr diff --git a/services/web/app/views/subscriptions/dashboard/_managed_institutions.pug b/services/web/app/views/subscriptions/dashboard/_managed_institutions.pug index 6dffe7e90e..abe464e943 100644 --- a/services/web/app/views/subscriptions/dashboard/_managed_institutions.pug +++ b/services/web/app/views/subscriptions/dashboard/_managed_institutions.pug @@ -5,7 +5,7 @@ each institution in managedInstitutions p | You are a manager of | - strong= institution.name + strong(ng-non-bindable)= institution.name p a.btn.btn-primary(href="/metrics/institutions/" + institution.v1Id) i.fa.fa-fw.fa-line-chart @@ -23,7 +23,7 @@ each institution in managedInstitutions | Manage institution managers div(ng-controller="MetricsEmailController", ng-cloak) p - span Monthly metrics emails: + span Monthly metrics emails: a(href ng-bind-html="institutionEmailSubscription('"+institution.v1Id+"')" ng-show="!subscriptionChanging" ng-click="changeInstitutionalEmailSubscription('"+institution.v1Id+"')") span(ng-show="subscriptionChanging") i.fa.fa-spin.fa-refresh(aria-hidden="true") diff --git a/services/web/app/views/subscriptions/dashboard/_managed_publishers.pug b/services/web/app/views/subscriptions/dashboard/_managed_publishers.pug index a149a18891..6a8fcfbc55 100644 --- a/services/web/app/views/subscriptions/dashboard/_managed_publishers.pug +++ b/services/web/app/views/subscriptions/dashboard/_managed_publishers.pug @@ -2,7 +2,7 @@ each publisher in managedPublishers p | You are a manager of | - strong= publisher.name + strong(ng-non-bindable)= publisher.name p a(href="/publishers/" + publisher.slug + "/hub") i.fa.fa-fw.fa-user-circle diff --git a/services/web/app/views/subscriptions/dashboard/_team_name_mixin.pug b/services/web/app/views/subscriptions/dashboard/_team_name_mixin.pug index 5b24f351b7..a17966f93f 100644 --- a/services/web/app/views/subscriptions/dashboard/_team_name_mixin.pug +++ b/services/web/app/views/subscriptions/dashboard/_team_name_mixin.pug @@ -1,9 +1,9 @@ mixin teamName(subscription) - if (subscription.teamName && subscription.teamName != '') - strong= subscription.teamName + strong(ng-non-bindable)= subscription.teamName - else if (subscription.admin_id._id == user._id) | a group account - else | the group account owned by | - strong= subscription.admin_id.email \ No newline at end of file + strong= subscription.admin_id.email