diff options
Diffstat (limited to 'askbot/templates/embed/question_widget.html')
-rw-r--r-- | askbot/templates/embed/question_widget.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/askbot/templates/embed/question_widget.html b/askbot/templates/embed/question_widget.html new file mode 100644 index 00000000..92e29aa0 --- /dev/null +++ b/askbot/templates/embed/question_widget.html @@ -0,0 +1,20 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" +"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html> +<head> + <style type="text/css"> + {{widget.style|safe}} + </style> +</head> +<body> + {{widget.title|safe}} + <div id="container"> + <ul> + {% for thread in threads %} + <li><a href="{{settings.APP_URL|strip_path}}{{ thread.get_absolute_url() }}" target="_blank"> + {{ thread.title|escape }}</a></li> + {% endfor %} + </ul> + </div> +</body> +</html> |