-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1212 from nextcloud/Sign-in-with-GitHub
added extending of socialaccount-login template
- Loading branch information
Showing
1 changed file
with
25 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends "socialaccount/login.html" %} | ||
{% load i18n %} | ||
{% load static %} | ||
|
||
{% block content %} | ||
<div class="central-form"> | ||
{% if process == "connect" %} | ||
<h4>{% blocktrans with provider.name as provider %}Connect {{ provider }}{% endblocktrans %}</h4> | ||
|
||
<p>{% blocktrans with provider.name as provider %}You are about to connect a new third party account from {{ provider }}.{% endblocktrans %}</p> | ||
{% else %} | ||
<h4>{% blocktrans with provider.name as provider %}Sign In Via {{ provider }}{% endblocktrans %}</h4> | ||
|
||
<p>{% blocktrans with provider.name as provider %}You are about to sign in using a third party account from {{ provider }}.{% endblocktrans %}</p> | ||
{% endif %} | ||
|
||
<form method="post"> | ||
{% csrf_token %} | ||
<button class="btn btn-primary" type="submit"> | ||
<span class="icon material-symbols-outlined">login</span> | ||
{% trans "Continue" %} | ||
</button> | ||
</form> | ||
</div> | ||
{% endblock content %} |