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.
{% 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 %}