mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4046 from overleaf/jpa-fix-404s
[misc] use ng-href for dynamic link targets GitOrigin-RevId: 22cccf7a3784cde046d73d88c5929036e3572279
This commit is contained in:
parent
7db7cd4a49
commit
715fad4883
4 changed files with 5 additions and 5 deletions
|
@ -255,7 +255,7 @@ div.full-size.pdf(ng-controller="PdfController")
|
|||
ul.dropdown-menu.dropdown-menu-right
|
||||
li(ng-repeat="file in pdf.outputFiles")
|
||||
a(
|
||||
href="{{file.url}}"
|
||||
ng-href="{{file.url}}"
|
||||
target="_blank"
|
||||
) {{ file.name }}
|
||||
a.btn.btn-info.btn-sm(href, ng-click="toggleRawLog()")
|
||||
|
|
|
@ -62,7 +62,7 @@ include ../../_mixins/reconfirm_affiliation
|
|||
) #{translate("find_out_more_nt")}
|
||||
.notification-action
|
||||
a.pull-right.btn.btn-sm.btn-info(
|
||||
href=`{{samlInitPath}}?university_id={{notification.messageOpts.institutionId}}&auto=/project`
|
||||
ng-href=`{{samlInitPath}}?university_id={{notification.messageOpts.institutionId}}&auto=/project`
|
||||
)
|
||||
| #{translate("link_account")}
|
||||
.notification-close
|
||||
|
@ -138,7 +138,7 @@ include ../../_mixins/reconfirm_affiliation
|
|||
p !{translate("can_link_institution_email_acct_to_institution_acct", {appName: settings.appName, email: "{{notification.email}}", institutionName: "{{notification.institutionName}}"})}
|
||||
div !{translate("doing_this_allow_log_in_through_institution", {appName: settings.appName})}
|
||||
.notification-action
|
||||
a.btn.btn-sm.btn-info(href="{{samlInitPath}}?university_id={{notification.institutionId}}&auto=/project&email={{notification.email}}")
|
||||
a.btn.btn-sm.btn-info(ng-href="{{samlInitPath}}?university_id={{notification.institutionId}}&auto=/project&email={{notification.email}}")
|
||||
| #{translate('link_account')}
|
||||
|
||||
.alert.alert-info(
|
||||
|
|
|
@ -87,7 +87,7 @@ block content
|
|||
| after you have made a copy, please contact support.
|
||||
|
||||
.row-spaced.text-center
|
||||
a.btn.btn-primary(href="{{ buildZipDownloadPath(v1ImportData.projectId) }}")
|
||||
a.btn.btn-primary(ng-href="{{ buildZipDownloadPath(v1ImportData.projectId) }}")
|
||||
| Download project zip file
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ mixin providerList()
|
|||
span(ng-if="providers[key].ui.isProcessing") #{translate("processing")}
|
||||
//- Link
|
||||
a.btn.btn-primary.text-capitalize(
|
||||
href="{{provider.linkPath}}?intent=link"
|
||||
ng-href="{{provider.linkPath}}?intent=link"
|
||||
ng-if="!thirdPartyIds[key] && !provider.hideWhenNotLinked"
|
||||
) #{translate("link")}
|
||||
//- unlink error
|
||||
|
|
Loading…
Reference in a new issue