Commit a0879342 authored by Daniel W Bond's avatar Daniel W Bond

fixed verification if blocks

parent b614fc18
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
<div class="row text-center"> <div class="row text-center">
{% comment %} is it not possible to redirect the login failure? {% endcomment %} {% comment %} is it not possible to redirect the login failure? {% endcomment %}
<div class="col-md-3"> <div class="col-md-3">
{% if verified %} {% if accounts.facebook %}
<p><i class="fa fa-check-square-o"></i> Verified!</p> <p><i class="fa fa-check-square-o"></i> Verified!</p>
{% endif %} {% endif %}
<a href="{% provider_login_url 'facebook' method='js_sdk' process='connect' next='#' %}"> <a href="{% provider_login_url 'facebook' method='js_sdk' process='connect' next='#' %}">
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
</a> </a>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
{% if verified %} {% if accounts.google %}
<p><i class="fa fa-check-square-o"></i> Verified!</p> <p><i class="fa fa-check-square-o"></i> Verified!</p>
{% endif %} {% endif %}
<a href="{% provider_login_url 'google' method='js_sdk' process='connect' next='#' %}"> <a href="{% provider_login_url 'google' method='js_sdk' process='connect' next='#' %}">
...@@ -58,7 +58,7 @@ ...@@ -58,7 +58,7 @@
</a> </a>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
{% if verified %} {% if accounts.twitter %}
<p><i class="fa fa-check-square-o"></i> Verified!</p> <p><i class="fa fa-check-square-o"></i> Verified!</p>
{% endif %} {% endif %}
<a href="{% provider_login_url 'twitter' method='js_sdk' process='connect' next='#' %}"> <a href="{% provider_login_url 'twitter' method='js_sdk' process='connect' next='#' %}">
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</a> </a>
</div> </div>
<div class="col-md-3"> <div class="col-md-3">
{% if verified %} {% if accounts.instagram %}
<p><i class="fa fa-check-square-o"></i> Verified!</p> <p><i class="fa fa-check-square-o"></i> Verified!</p>
{% endif %} {% endif %}
<a href="{% provider_login_url 'instagram' method='js_sdk' process='connect' next='#' %}"> <a href="{% provider_login_url 'instagram' method='js_sdk' process='connect' next='#' %}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment