app/soc/modules/ghop/views/models/__init__.py
author Lennard de Rijk <ljvderijk@gmail.com>
Thu, 22 Oct 2009 09:50:10 +0200
changeset 3026 75ef22dc5a8a
parent 2843 d5fcd54cc35b
permissions -rw-r--r--
Removed query wether or not the current user was ever an org admin. This is because it makes no sense to not show the approve this task button if th is task was suggested by an org admin. The suggest page is there for a reason fo staging tasks anyway. Also added TODO to let the mentor's suggest page redirect to the normal edit pag e after a task has been suggested. This is more natural since the task lists als o redirects to this page for unapproved tasks and the normal edit page also has the capability to hide fields determined by the user's access.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2843
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
# Copyright 2009 the Melange authors.
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
#
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
# Licensed under the Apache License, Version 2.0 (the "License");
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
# you may not use this file except in compliance with the License.
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
# You may obtain a copy of the License at
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
#
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
# http://www.apache.org/licenses/LICENSE-2.0
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
#
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
# Unless required by applicable law or agreed to in writing, software
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
# distributed under the License is distributed on an "AS IS" BASIS,
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
# See the License for the specific language governing permissions and
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
# limitations under the License.
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
"""This is the GHOP Views models module.
d5fcd54cc35b Added __init__ file to the GHOP views module.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
"""