Merge pull request #1674 from sharelatex/sk-email-make-primary-tooltip

Change the wording on emails from 'default' to 'primary'

GitOrigin-RevId: e09792f6fba73b626c09d8f1bf4298b6e9780d15
This commit is contained in:
Shane Kilkelly 2019-04-12 10:39:17 +01:00 committed by sharelatex
parent f3dd61abce
commit 0773311805

View file

@ -16,7 +16,7 @@ form.row(
ng-repeat="userEmail in userEmails"
)
td
| {{ userEmail.email + (userEmail.default ? ' (default)' : '') }}
| {{ userEmail.email + (userEmail.default ? ' (primary)' : '') }}
div(ng-if="!userEmail.confirmedAt").small
strong #{translate('unconfirmed')}.
|
@ -76,11 +76,12 @@ form.row(
)
button.btn.btn-sm.btn-success.affiliations-table-inline-action(
disabled
) #{translate("make_default")}
) #{translate("make_primary")}
button.btn.btn-sm.btn-success.affiliations-table-inline-action(
tooltip=translate("make_email_primary_description")
ng-if="!userEmail.default && (userEmail.confirmedAt && !ui.isMakingRequest)"
ng-click="setDefaultUserEmail(userEmail)"
) #{translate("make_default")}
) #{translate("make_primary")}
|  
button.btn.btn-sm.btn-danger.affiliations-table-inline-action(
ng-if="!userEmail.default"