# HG changeset patch # User Madhusudan.C.S # Date 1251458194 -7200 # Node ID ebc8976cd8f6416d3bf3b590f7aced26e886fcf6 # Parent a0f2214724876d1799ebb9550e84afd0d07ec47e Bulk added templates for GHOPOrganization views. Reviewed by: to-be-reviewed diff -r a0f221472487 -r ebc8976cd8f6 app/soc/templates/modules/ghop/organization/home.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/organization/home.html Fri Aug 28 13:16:34 2009 +0200 @@ -0,0 +1,24 @@ +{% extends "soc/presence/home.html" %} +{% 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 %} + +{% block home_extras %} +
+ {% for list_number in list.lists %} +

+ {% include list.nextList %} +

+ {% endfor %} +
+{% endblock %} diff -r a0f221472487 -r ebc8976cd8f6 app/soc/templates/modules/ghop/organization/list/heading.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/organization/list/heading.html Fri Aug 28 13:16:34 2009 +0200 @@ -0,0 +1,8 @@ + + Name + Tasks Quota + Open Tasks + Claimed Tasks + Closed Tasks + Home Page + diff -r a0f221472487 -r ebc8976cd8f6 app/soc/templates/modules/ghop/organization/list/row.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/organization/list/row.html Fri Aug 28 13:16:34 2009 +0200 @@ -0,0 +1,35 @@ +{% load ghop_filters %} + + + +
+ + {{ list.item.name }} + +
+ + +
{{ list.item.task_quota_limit }}
+ +
{{ list.item|open_tasks }}
+
{{ list.item|claimed_tasks }}
+
{{ list.item|closed_tasks }}
+ {% if list.item.ideas %} + + {% else %} + + {% endif %} +
+ {% if list.item.home_page %} + + {% endif %} + {{ list.item.home_page|urlizetrunc:35|removetags:"a" }} + {% if list.item.home_page %} + + {% endif %} +
+ + diff -r a0f221472487 -r ebc8976cd8f6 app/soc/templates/modules/ghop/organization/public.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/soc/templates/modules/ghop/organization/public.html Fri Aug 28 13:16:34 2009 +0200 @@ -0,0 +1,28 @@ +{% extends "soc/group/public.html" %} +{% 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 %} +{% load forms_helpers %} + +{% block header_title %} +{{ page_name }} for {{ entity.name }} +{% if entity.home %} +(Home Page) +{% endif %} +{% endblock %} + + +{% block fields %} + {{ block.super }} + {% readonly_field_as_table_row "Tasks Quota" entity.task_quota_limit %} +{% endblock %}