-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cycling UK] Custom page title for login/account creation
- Loading branch information
Showing
4 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
[% | ||
IF forgotten; | ||
title = loc('Forgot password'); | ||
ELSIF expired_password; | ||
title = loc('Password expired'); | ||
ELSE; | ||
title = "Create a Fill That Hole account"; | ||
END %] | ||
|
||
<h1> | ||
[% title %] | ||
</h1> | ||
[% IF NOT expired_password %] | ||
<p> | ||
[% tprintf(loc('Or <a href="%s">sign in</a>'), '/auth') %] | ||
</p> | ||
[% END %] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<h1> | ||
Sign in to your Fill That Hole account | ||
</h1> | ||
|
||
<p><strong>NB this is not the same as a Cycling UK account</strong></p> | ||
<p> | ||
<a href="/auth/create">You can create a Fill That Hole account here</a> | ||
</p> |