[snowy] Use Site instead of PROJECT_NAME in the token authorization template



commit 0a6a8291731ef91ee8ac1b95c8eb4c79c69696cd
Author: Benoit Garret <benoit garret_gnome gadz org>
Date:   Fri Sep 4 22:57:05 2009 +0200

    Use Site instead of PROJECT_NAME in the token authorization template

 api/templates/piston/authorize_token.html |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/api/templates/piston/authorize_token.html b/api/templates/piston/authorize_token.html
index 80df9e4..772bdf7 100644
--- a/api/templates/piston/authorize_token.html
+++ b/api/templates/piston/authorize_token.html
@@ -3,8 +3,8 @@
 {% block title %}Allow Access? | {{ block.super }}{% endblock %}
 {% block content %}
         <h1>Allow Access?</h1>
-        <p>Permitting this application to access {{ PROJECT_NAME }} will allow
-        it to view, edit and delete your information on {{ PROJECT_NAME }}.  Access can
+        <p>Permitting this application to access {{ site.name }} will allow
+        it to view, edit and delete your information on {{ site.name }}.  Access can
         be revoked at any time on the Preferences page.</p>
         <form action="{% url piston.authentication.oauth_user_auth %}" method="POST">
             {{ form.oauth_token }}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]