summaryrefslogtreecommitdiffstats
path: root/templates/todolists
diff options
context:
space:
mode:
Diffstat (limited to 'templates/todolists')
-rw-r--r--templates/todolists/email_notification.txt2
-rw-r--r--templates/todolists/list.html3
-rw-r--r--templates/todolists/public_list.html2
-rw-r--r--templates/todolists/todolist_confirm_delete.html4
-rw-r--r--templates/todolists/view.html2
5 files changed, 7 insertions, 6 deletions
diff --git a/templates/todolists/email_notification.txt b/templates/todolists/email_notification.txt
index 1e631a3..abe1dbf 100644
--- a/templates/todolists/email_notification.txt
+++ b/templates/todolists/email_notification.txt
@@ -12,4 +12,4 @@ has been added to this todo list:
Creator: {{todolist.creator.get_full_name}}
Name: {{todolist.name}}
Description:
-{{todolist.description|wordwrap:69}}{% endautoescape %}
+{{todolist.description|striptags|wordwrap:69}}{% endautoescape %}
diff --git a/templates/todolists/list.html b/templates/todolists/list.html
index 9d278aa..3b2f75c 100644
--- a/templates/todolists/list.html
+++ b/templates/todolists/list.html
@@ -1,4 +1,5 @@
{% extends "base.html" %}
+
{% block title %}Arch Linux - Todo Lists{% endblock %}
{% block content %}
@@ -29,7 +30,7 @@
title="View todo list: {{ list.name }}">{{ list.name }}</a></td>
<td>{{ list.date_added }}</td>
<td>{{ list.creator.get_full_name }}</td>
- <td class="wrap">{{ list.description }}</td>
+ <td class="wrap">{{ list.description|safe }}</td>
<td>{% if list.complete %}<span class="complete">Complete</span>
{% else %}<span class="incomplete">Incomplete</span>{% endif %}</td>
</tr>
diff --git a/templates/todolists/public_list.html b/templates/todolists/public_list.html
index e2f2ef9..7284120 100644
--- a/templates/todolists/public_list.html
+++ b/templates/todolists/public_list.html
@@ -9,7 +9,7 @@
{% for list in todo_lists %}
<h4>{{list.name}}</h4>
<div class="todo_list">
- <p>{{list.description}}</p>
+ <p>{{list.description|safe}}</p>
<ul>
{% for pkg in list.packages %}
<li>{{pkg.pkg.pkgname}}</li>
diff --git a/templates/todolists/todolist_confirm_delete.html b/templates/todolists/todolist_confirm_delete.html
index 26cc4b8..5545462 100644
--- a/templates/todolists/todolist_confirm_delete.html
+++ b/templates/todolists/todolist_confirm_delete.html
@@ -6,10 +6,10 @@
<h2>Delete Todo List: {{object.name}}</h2>
- <p>You are about to delete the following todo list:</p>
+ <p>You are about to delete the selected todo list:</p>
<blockquote>
- <p><strong>{{object.name}}:</strong> {{object.description}}</p>
+ <p>{{object.description|safe|linebreaks}}</p>
</blockquote>
<p>Are you sure?</p>
diff --git a/templates/todolists/view.html b/templates/todolists/view.html
index 6b6e984..1c25392 100644
--- a/templates/todolists/view.html
+++ b/templates/todolists/view.html
@@ -17,7 +17,7 @@
{% endif %}
</ul>
- <p>{{list.description|linebreaks}}</p>
+ <p>{{list.description|safe|linebreaks}}</p>
<table id="dev-todo-pkglist" class="results">
<thead>