mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-30 10:42:42 +00:00
improve affiliation endorsement button
- design as button instead of link - disable unless role and department are set
This commit is contained in:
parent
7863561bff
commit
e19882455a
1 changed files with 2 additions and 2 deletions
|
@ -57,9 +57,9 @@ form.row(
|
|||
show-role-and-department="true"
|
||||
)
|
||||
.affiliation-change-actions.small
|
||||
a(
|
||||
href
|
||||
button.btn.btn-sm.btn-success(
|
||||
ng-click="saveAffiliationChange(userEmail);"
|
||||
ng-disabled="!(affiliationToChange.role && affiliationToChange.department)"
|
||||
) #{translate("save_or_cancel-save")}
|
||||
| #{translate("save_or_cancel-or" )}
|
||||
a(
|
||||
|
|
Loading…
Reference in a new issue