mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #1802 from overleaf/jel-oauth-hide-when-not-linked
OAuth provider check and capitalize button text GitOrigin-RevId: afa2e8301d5141da178d88304932c5736d8632c4
This commit is contained in:
parent
1a3b21b3f1
commit
642081dd17
1 changed files with 3 additions and 3 deletions
|
@ -6,8 +6,8 @@ block scripts
|
|||
|
||||
mixin providerList()
|
||||
ul.list-like-table
|
||||
li(ng-repeat="(key, provider) in providers")
|
||||
.row(ng-if="key != 'collabratec' || (key == 'collabratec' && v2ThirdPartyIds[key])")
|
||||
li(ng-repeat="(key, provider) in providers" ng-if="!provider.hideWhenNotLinked || (key == 'collabratec' && v2ThirdPartyIds[key]) || (provider.hideWhenNotLinked && thirdPartyIds[key])")
|
||||
.row
|
||||
.col-xs-12.col-sm-8.col-md-10
|
||||
h4 {{provider.name}}
|
||||
p.small(ng-bind-html="provider.description")
|
||||
|
@ -21,7 +21,7 @@ mixin providerList()
|
|||
span(ng-if="!providers[key].ui.isProcessing") #{translate("unlink")}
|
||||
span(ng-if="providers[key].ui.isProcessing") #{translate("processing")}
|
||||
//- Link
|
||||
a.btn.btn-primary(
|
||||
a.btn.btn-primary.text-capitalize(
|
||||
href="{{provider.linkPath}}?intent=link"
|
||||
ng-if="!thirdPartyIds[key] && !provider.hideWhenNotLinked"
|
||||
) #{translate("link")}
|
||||
|
|
Loading…
Reference in a new issue