diff options
author | Dan McGee <dan@archlinux.org> | 2010-03-01 21:43:12 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-03-01 21:43:12 -0600 |
commit | 6e9477ca630ebee48b3836cdc39bf5cd743e8084 (patch) | |
tree | c3c2e8c4c772dc8b11d31dfc9b065d96173a250d | |
parent | 9b59f7e1ad0653747dc6580bedc443c54df9d53f (diff) |
Unify spelling of 'Todo'
We used 'Todo', 'ToDo', and 'To-do' in different places. Unify them all to
the first.
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/todolists/view.html | 5 | ||||
-rw-r--r-- | todolists/views.py | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index b85a4266..9bfda4a5 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -1,4 +1,5 @@ {% extends "base.html" %} +{% block title %}Arch Linux - Todo - {{ list.name }}{% endblock %} {% block content %} <div class="greybox"> @@ -10,7 +11,7 @@ <a href="/todo/edit/{{list.id}}/">Edit Todo List</a> {% endif %} </div> - <h2 class="title">ToDo List: {{ list.name }}</h2> + <h2 class="title">Todo List: {{ list.name }}</h2> <table id="todotable" class="results" width="100%"> <thead> <tr> @@ -49,7 +50,7 @@ <script type="text/javascript" src="/media/jquery-1.4.1.min.js"></script> <script type="text/javascript"> $(function() { - // Allow flagging of ToDo items using AJAX + // Allow flagging of Todo items using AJAX $('a[href*=todo/flag]').click(function() { var link = this; diff --git a/todolists/views.py b/todolists/views.py index 8358e4c6..f176e39c 100644 --- a/todolists/views.py +++ b/todolists/views.py @@ -78,7 +78,7 @@ def add(request): form = TodoListForm() page_dict = { - 'title': 'Add To-do List', + 'title': 'Add Todo List', 'form': form, 'submit_text': 'Create List' } @@ -117,7 +117,7 @@ def edit(request, list_id): 'packages': todo_list.package_names, }) page_dict = { - 'title': 'Edit To-do List "%s"' % todo_list.name, + 'title': 'Edit Todo List: %s' % todo_list.name, 'form': form, 'submit_text': 'Save List' } @@ -131,7 +131,7 @@ def delete_todolist(request, object_id): def send_todolist_email(todo): '''Sends an e-mail to the maintainer of a package notifying them that the - package has been added to a to-do list''' + package has been added to a todo list''' if not todo.pkg.maintainer: return |