2019-03-01 09:44:00 -05:00
|
|
|
script(type='text/javascript').
|
2019-06-17 10:46:52 -04:00
|
|
|
window.managedInstitutions = !{StringHelper.stringifyJsonForScript(managedInstitutions)}
|
2019-03-01 09:44:00 -05:00
|
|
|
|
2018-11-20 05:48:21 -05:00
|
|
|
each institution in managedInstitutions
|
|
|
|
p
|
|
|
|
| You are a manager of
|
|
|
|
|
|
|
|
|
strong= institution.name
|
|
|
|
p
|
2018-11-30 08:03:35 -05:00
|
|
|
a.btn.btn-primary(href="/metrics/institutions/" + institution.v1Id)
|
|
|
|
i.fa.fa-fw.fa-line-chart
|
|
|
|
|
|
|
|
|
| View metrics
|
|
|
|
p
|
|
|
|
a(href="/institutions/" + institution.v1Id + "/hub")
|
|
|
|
i.fa.fa-fw.fa-user-circle
|
|
|
|
|
|
|
|
|
| View hub
|
|
|
|
p
|
|
|
|
a(href="/manage/institutions/" + institution.v1Id + "/managers")
|
|
|
|
i.fa.fa-fw.fa-users
|
|
|
|
|
|
2018-11-20 05:48:21 -05:00
|
|
|
| Manage institution managers
|
2019-03-01 09:44:00 -05:00
|
|
|
div(ng-controller="MetricsEmailController", ng-cloak)
|
|
|
|
p
|
|
|
|
span Monthly metrics emails:
|
2019-03-07 10:28:53 -05:00
|
|
|
a(href ng-bind-html="institutionEmailSubscription('"+institution.v1Id+"')" ng-show="!subscriptionChanging" ng-click="changeInstitutionalEmailSubscription('"+institution.v1Id+"')")
|
2019-03-01 09:44:00 -05:00
|
|
|
span(ng-show="subscriptionChanging")
|
|
|
|
i.fa.fa-spin.fa-refresh(aria-hidden="true")
|
2018-11-20 05:48:21 -05:00
|
|
|
hr
|