# HG changeset patch # User Madhusudan.C.S # Date 1251458252 -7200 # Node ID 5caf0d3426967ad55530c452627f74e50f3b5c9a # Parent ebc8976cd8f6416d3bf3b590f7aced26e886fcf6 Added templatetags for use in the GHOP module. Reviewed by: to-be-reviewed diff -r ebc8976cd8f6 -r 5caf0d342696 app/soc/templates/modules/ghop/templatetags/_as_filter_multiselect.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/templatetags/_as_filter_multiselect.html Fri Aug 28 13:17:32 2009 +0200 @@ -0,0 +1,36 @@ +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} + + + +
+
{{ field_label }}:
+
+ +
+
+ diff -r ebc8976cd8f6 -r 5caf0d342696 app/soc/templates/modules/ghop/templatetags/_as_ghop_task_comments.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/templatetags/_as_ghop_task_comments.html Fri Aug 28 13:17:32 2009 +0200 @@ -0,0 +1,59 @@ +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} + + + +
+
+ On {{ comment.created_on|date:"jS F Y H:i" }}, + by + {% if comment.created_by %} + {{ comment.created_by.name }}: + {% else %} + {{ site_name }} Automatic Updater: + {% endif %} + + + +
+
+

+ {% if comment.content %} + {{ comment.content|safe }}

+ {% else %} + (No Comment was entered for this change.) + {% endif %} +
+ {% if comment.changes %} +
+
+ Changes: + {{ comment.changes|join:"; " }} +
+
+ {% endif %} +
+
+ diff -r ebc8976cd8f6 -r 5caf0d342696 app/soc/templates/modules/ghop/templatetags/_as_ghop_task_ws.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/templatetags/_as_ghop_task_ws.html Fri Aug 28 13:17:32 2009 +0200 @@ -0,0 +1,54 @@ +{% comment %} +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +{% endcomment %} + + + +
+
+ On {{ ws.submitted_on|date:"jS F Y H:i" }}, + by {{ ws.user.name }}: + + + +
+
+

+ {% if ws.information %} + {{ ws.information|safe }}

+ {% else %} + (No additional information was entered with this work submission.) + {% endif %} +
+ {% if ws.url_to_work %} +
+
+ Link to Work Submitted: + {{ ws.url_to_work|safe }} +
+
+ {% endif %} +
+
+