From efa4a714e75a29b2f1858369c5e93aba14566c7c Mon Sep 17 00:00:00 2001 From: yomguy Date: Fri, 13 Apr 2012 05:09:33 +0200 Subject: [PATCH] fix style and focus, go to django 1.4 --- setup.py | 3 ++- teleforma/htdocs/css/teleforma.css | 4 ++-- teleforma/templates/postman/email_user.txt | 4 ++-- teleforma/templates/teleforma/course_detail.html | 2 +- teleforma/templates/teleforma/course_media.html | 2 +- teleforma/templates/teleforma/courses.html | 2 +- teleforma/templates/telemeta/inc/user_list.html | 2 +- teleforma/templates/telemeta/profile_detail.html | 2 +- teleforma/templates/telemeta/search_criteria.html | 10 +++++----- teleforma/templates/telemeta/users.html | 2 +- 10 files changed, 17 insertions(+), 16 deletions(-) diff --git a/setup.py b/setup.py index d6afafb4..d95ddbea 100644 --- a/setup.py +++ b/setup.py @@ -16,13 +16,14 @@ setup( author_email = "yomguy@parisson.com", version = teleforma.__version__, install_requires = [ - 'django>=1.3.1', + 'django>=1.4', 'telemeta', 'south', 'django-pagination', 'django-postman', 'django-extensions', 'django-notes', + 'django-timezones', ], platforms=['OS Independent'], license='CeCILL v2', diff --git a/teleforma/htdocs/css/teleforma.css b/teleforma/htdocs/css/teleforma.css index c9de882e..06ea41a1 100644 --- a/teleforma/htdocs/css/teleforma.css +++ b/teleforma/htdocs/css/teleforma.css @@ -470,7 +470,7 @@ form.login .submit { #menu .orange { border-bottom-color: #e65911; } #menu .darkgreen { border-bottom-color: #006a12; } #menu .black { border-bottom-color: #000000; } -#menu .red { border-bottom-color: #cc0000; } +#menu .red { border-bottom-color: #bb0000; } #menu .violet { border-bottom-color: #A00020; } #menu .origin { border-bottom-color: transparent; } @@ -1159,7 +1159,7 @@ a.image-link { } #action_red { - background-color: #db1020; + background-color: #bb1020; color: #FFF; padding:0.8em 0.8em 0.8em 0.8em; } diff --git a/teleforma/templates/postman/email_user.txt b/teleforma/templates/postman/email_user.txt index 46bb1cae..48d626aa 100644 --- a/teleforma/templates/postman/email_user.txt +++ b/teleforma/templates/postman/email_user.txt @@ -11,10 +11,10 @@ {% else %}{% blocktrans with object.obfuscated_sender as sender %}You have received a copy of a response from the user '{{ sender }}'.{% endblocktrans %} {% endif %} {% else %}{% blocktrans with object.obfuscated_sender as sender %}You have received a message from the user '{{ sender }}'.{% endblocktrans %} -{% endif %}{% endif %} -{% trans "You can read and respond to this message from your e-learning desk following this link:" %} +{% endif %}{% endif %}{% trans "You can read and respond to this message from your e-learning desk following this link:" %} http://{{ site.name }}/messages/inbox/ {# 'acceptance' #} + {% trans "Thank you again for your interest in our services." %} {% trans "The site administrator" %} {% trans "of" %} {% organization %} diff --git a/teleforma/templates/teleforma/course_detail.html b/teleforma/templates/teleforma/course_detail.html index 71ebb48c..cc483cc5 100644 --- a/teleforma/templates/teleforma/course_detail.html +++ b/teleforma/templates/teleforma/course_detail.html @@ -68,7 +68,7 @@ $(document).ready(function(){ - + diff --git a/teleforma/templates/teleforma/course_media.html b/teleforma/templates/teleforma/course_media.html index f527b823..201fe606 100644 --- a/teleforma/templates/teleforma/course_media.html +++ b/teleforma/templates/teleforma/course_media.html @@ -71,7 +71,7 @@ $(document).ready(function(){ - + diff --git a/teleforma/templates/teleforma/courses.html b/teleforma/templates/teleforma/courses.html index c805af47..4fd10ced 100644 --- a/teleforma/templates/teleforma/courses.html +++ b/teleforma/templates/teleforma/courses.html @@ -101,7 +101,7 @@ $(document).ready(function(){ - + diff --git a/teleforma/templates/telemeta/inc/user_list.html b/teleforma/templates/telemeta/inc/user_list.html index bbd020fe..da741076 100644 --- a/teleforma/templates/telemeta/inc/user_list.html +++ b/teleforma/templates/telemeta/inc/user_list.html @@ -56,7 +56,7 @@ {% endif %} - {% trans "Message" %} + {% trans "Message" %} {% endfor %} diff --git a/teleforma/templates/telemeta/profile_detail.html b/teleforma/templates/telemeta/profile_detail.html index 9f3aa6e8..90dba8a9 100644 --- a/teleforma/templates/telemeta/profile_detail.html +++ b/teleforma/templates/telemeta/profile_detail.html @@ -21,7 +21,7 @@ {% if user.is_authenticated and user.username == usr.username or user.is_staff %}
- {% trans "Modify" %} + {% trans "Edit" %}
{% endif %} diff --git a/teleforma/templates/telemeta/search_criteria.html b/teleforma/templates/telemeta/search_criteria.html index dc1aa93b..7177ad7f 100644 --- a/teleforma/templates/telemeta/search_criteria.html +++ b/teleforma/templates/telemeta/search_criteria.html @@ -64,6 +64,11 @@ $(document).ready(function () { {% endwith %} {% endblock %} +
+ {% trans 'Search' %} +
+
@@ -151,10 +156,5 @@ $(document).ready(function () {
-
- {% trans 'Search' %} -
- {% endblock %} diff --git a/teleforma/templates/telemeta/users.html b/teleforma/templates/telemeta/users.html index 965bb2f6..b02fffb9 100644 --- a/teleforma/templates/telemeta/users.html +++ b/teleforma/templates/telemeta/users.html @@ -26,7 +26,7 @@ {% if all_users %}
-{% trans "New message" %} +{% trans "New message" %}
{% endif %} -- 2.39.5