# HG changeset patch
# User cavaliet
# Date 1325516252 -3600
# Node ID 877f89ec1efa9042a993fce53c76aea723fcb9e8
# Parent 1a8620e5ebb048785faaa98c5109d71ffc9b5822
Split big views.py files into several views grouped by "make sense".
diff -r 1a8620e5ebb0 -r 877f89ec1efa .hgignore
--- a/.hgignore Fri Dec 30 18:16:44 2011 +0100
+++ b/.hgignore Mon Jan 02 15:57:32 2012 +0100
@@ -49,4 +49,6 @@
syntax: regexp
^\.pydevproject$
syntax: regexp
-^web/static/media/cache$
\ No newline at end of file
+^web/static/media/cache$
+syntax: regexp
+^\.settings/org\.eclipse\.core\.resources\.prefs$
\ No newline at end of file
diff -r 1a8620e5ebb0 -r 877f89ec1efa src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/content_list.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/content_list.html Fri Dec 30 18:16:44 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/content_list.html Mon Jan 02 15:57:32 2012 +0100
@@ -73,8 +73,8 @@
{% for content in contents %}
- |
- |
+ |
+ |
{% thumbnail content.image "50x50" format="PNG" crop="top" as im %} {% endthumbnail %} |
- {{ content.title|default:"_" }} |
+ {{ content.title|default:"_" }} |
{% endfor %}
diff -r 1a8620e5ebb0 -r 877f89ec1efa src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/projectslist.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/projectslist.html Fri Dec 30 18:16:44 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/partial/projectslist.html Mon Jan 02 15:57:32 2012 +0100
@@ -9,7 +9,7 @@
{% for project in projects %}
- {% url ldt.ldt_utils.views.project_json_id project.ldt_id as json_url_id %}
+ {% url ldt.ldt_utils.views.json.project_json_id project.ldt_id as json_url_id %}
{% if is_gecko %}
|
{% endif %}
- |
+ |
|
{% ifequal project.state 2 %}
@@ -44,7 +44,7 @@
{% if show_username %}{{ project.owner.username }} : {% endif %}{{ project.title }}
{% else %}
{% if project.change %}
- {% if show_username %}{{ project.owner.username }} : {% endif %}{{ project.title }}
+ {% if show_username %}{{ project.owner.username }} : {% endif %}{{ project.title }}
{% else %}
{% if show_username %}{{ project.owner.username }} : {% endif %}{{ project.title }}
{% endif %}
diff -r 1a8620e5ebb0 -r 877f89ec1efa src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/workspace_base.html
--- a/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/workspace_base.html Fri Dec 30 18:16:44 2011 +0100
+++ b/src/ldt/ldt/ldt_utils/templates/ldt/ldt_utils/workspace_base.html Mon Jan 02 15:57:32 2012 +0100
@@ -11,15 +11,15 @@
{{block.super}}
|