Fix reddit flair issues

This commit is contained in:
2011-08-06 21:22:55 +01:00
parent 5027e717b6
commit 7522cb9882
2 changed files with 3 additions and 2 deletions

View File

@@ -4,7 +4,8 @@ from celery.signals import task_failure
from celery.decorators import task from celery.decorators import task
from sentry.client.handlers import SentryHandler from sentry.client.handlers import SentryHandler
from eve_api.models import EVEAccount, EVEPlayerCorporation, EVEPlayerAlliance from eve_api.models import EVEAccount, EVEPlayerCorporation, EVEPlayerAlliance
from sso.models import ServiceAccount from sso.models import ServiceAccount, SSOUser
from reddit.tasks import update_user_flair
from django.contrib.auth.models import User from django.contrib.auth.models import User
from django.db.models import signals from django.db.models import signals
from utils import installed from utils import installed

View File

@@ -143,7 +143,7 @@ setup.</p>
<a href="{% url reddit.views.reddit_add %}" class="button">Add a Reddit account</a> <a href="{% url reddit.views.reddit_add %}" class="button">Add a Reddit account</a>
</p> </p>
<p> <p>
Reddit account tagging is {% if user.profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. <a href="{% url sso.views.toggle_reddit_tagging %}">{% if user.profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %}</a> Reddit account tagging is {% if user.get_profile.tag_reddit_accounts %}Enabled{% else %}Disabled{% endif %}. <a href="{% url sso.views.toggle_reddit_tagging %}">{% if user.get_profile.tag_reddit_accounts %}Disable{% else %}Enable{% endif %}</a>
{% endif %} {% endif %}
{% endblock %} {% endblock %}