--- /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 %}
+<div id="org_home_extras">
+ {% for list_number in list.lists %}
+ <p>
+ {% include list.nextList %}
+ </p>
+ {% endfor %}
+</div>
+{% endblock %}
--- /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 @@
+<tr align="left">
+ <th class="first" align="right">Name</th>
+ <th>Tasks Quota</th>
+ <th>Open Tasks</th>
+ <th>Claimed Tasks</th>
+ <th>Closed Tasks</th>
+ <th>Home Page</th>
+</tr>
--- /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 %}
+
+<tr class="off" onmouseover="this.className='on'; do_redirect=true"
+ onmouseout="this.className='off'" name="name"
+ onclick="if (do_redirect) document.location.href='{{ list.redirect }}'">
+ <td align="right">
+ <div class="name">
+ <a class="noul" onclick="do_redirect=false" href="{{ list.redirect }}">
+ {{ list.item.name }}
+ </a>
+ </div>
+ </td>
+ <td>
+ <div class="task_quota_limit">{{ list.item.task_quota_limit }}</a></div>
+ </td>
+ <td><div class="open_tasks">{{ list.item|open_tasks }}</a></div></td>
+ <td><div class="claimed_tasks">{{ list.item|claimed_tasks }}</a></div></td>
+ <td><div class="closed_tasks">{{ list.item|closed_tasks }}</a></div></td>
+ {% if list.item.ideas %}
+ <td onclick="if (redirect_to_home) document.location.href='{{ list.item.home_page }}';
+ do_redirect=false" onmouseover="redirect_to_home=true">
+ {% else %}
+ <td class="no_hand" onclick="do_redirect=false">
+ {% endif %}
+ <div class="home_url">
+ {% if list.item.home_page %}
+ <a onclick="redirect_to_home=false" href="{{ list.item.home_page }}">
+ {% endif %}
+ {{ list.item.home_page|urlizetrunc:35|removetags:"a" }}
+ {% if list.item.home_page %}
+ </a>
+ {% endif %}
+ </div>
+ </td>
+</tr>
--- /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 %}
+<a href="/{{ entity_type_url }}/home/{{ entity.key.id_or_name }}">(Home Page)</a>
+{% endif %}
+{% endblock %}
+
+
+{% block fields %}
+ {{ block.super }}
+ {% readonly_field_as_table_row "Tasks Quota" entity.task_quota_limit %}
+{% endblock %}