app/soc/templates/soc/student_proposal/list_for_org.html
author Lennard de Rijk <ljvderijk@gmail.com>
Wed, 18 Mar 2009 17:18:19 +0000
changeset 1928 8001eee3160f
permissions -rw-r--r--
The org list proposals page now shows the amount of assigned slots. Also colors the list of possible accepted proposals. Patch by: Lennard de Rijk Reviewed by: to-be-reviewed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1928
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     1
{% extends "soc/models/list.html" %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     2
{% comment %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     3
Licensed under the Apache License, Version 2.0 (the "License");
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     4
you may not use this file except in compliance with the License.
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     5
You may obtain a copy of the License at
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     6
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     7
  http://www.apache.org/licenses/LICENSE-2.0
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     8
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
     9
Unless required by applicable law or agreed to in writing, software
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    10
distributed under the License is distributed on an "AS IS" BASIS,
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    11
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    12
See the License for the specific language governing permissions and
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    13
limitations under the License.
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    14
{% endcomment %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    15
{% load forms_helpers %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    16
{% block body %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    17
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    18
{% if slots_visible %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    19
<span="plaintext">Slots assigned: {{ entity.slots }}</span>
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    20
{% endif %}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    21
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    22
{{ block.super}}
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    23
8001eee3160f The org list proposals page now shows the amount of assigned slots.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff changeset
    24
{% endblock %}