mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #3765 from overleaf/jpa-xss-6
[views] mitigate Angular XSS in subscription dashboard GitOrigin-RevId: 4ac0c431d520957aabd53436ae29a30c2aef3870
This commit is contained in:
parent
001f7f0cc2
commit
58841ecbe9
4 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue