1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Rename /forget_password url to /forgot_password

Also renames `forgot_password` translation key to
`forgot_password_title` and `forget_password` to
`forgot_password`

Includes entry in CHANGELOG about the breaking change
(and some markdown fixes in there)
This commit is contained in:
Sandro Santilli
2017-02-20 19:27:20 +01:00
committed by Kim "BKC" Carlbäcker
parent 8746fb3385
commit 7d8f9d1c46
28 changed files with 58 additions and 53 deletions

View File

@@ -5,7 +5,7 @@
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<h2 class="ui top attached header">
{{.i18n.Tr "auth.forgot_password"}}
{{.i18n.Tr "auth.forgot_password_title"}}
</h2>
<div class="ui attached segment">
{{template "base/alert" .}}

View File

@@ -31,7 +31,7 @@
<div class="inline field">
<label></label>
<button class="ui green button">{{.i18n.Tr "sign_in"}}</button>
<a href="{{AppSubUrl}}/user/forget_password">{{.i18n.Tr "auth.forget_password"}}</a>
<a href="{{AppSubUrl}}/user/forgot_password">{{.i18n.Tr "auth.forgot_password"}}</a>
</div>
{{if .ShowRegistrationButton}}
@@ -54,4 +54,4 @@
</form>
</div>
</div>
</div>
</div>