mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 12:01:32 +02:00
improve affiliation endorsement button
- design as button instead of link - disable unless role and department are set
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user