Просмотр исходного кода

Bonus, add a link to the v1 settings page to change password

Shane Kilkelly 8 лет назад
Родитель
Сommit
0300ffbdc6
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      services/web/app/views/user/settings.pug

+ 7 - 1
services/web/app/views/user/settings.pug

@@ -73,6 +73,7 @@ block content
 												label.control-label #{translate("last_name")}
 												label.control-label #{translate("last_name")}
 												div.form-control(readonly="true") #{user.last_name}
 												div.form-control(readonly="true") #{user.last_name}
 
 
+
 								if !externalAuthenticationSystemUsed()
 								if !externalAuthenticationSystemUsed()
 									.col-md-5.col-md-offset-1
 									.col-md-5.col-md-offset-1
 										h3 #{translate("change_password")}
 										h3 #{translate("change_password")}
@@ -120,7 +121,12 @@ block content
 													ng-disabled="changePasswordForm.$invalid"
 													ng-disabled="changePasswordForm.$invalid"
 												) #{translate("change")}
 												) #{translate("change")}
 
 
-						
+								else
+									if settings.overleaf && settings.createV1AccountOnLogin
+										p
+											| To change your password
+											| , go to #[a(href=settings.overleaf.host+'/users/edit') Overleaf v1 settings]
+
 
 
 							| !{moduleIncludes("userSettings", locals)}
 							| !{moduleIncludes("userSettings", locals)}