Statistics
| Branch: | Tag: | Revision:

root / snf-astakos-app / astakos / im / templates / im / projects / project_members.html @ c2b1d833

History | View | Annotate | Download (1.8 kB)

1
{% extends "im/projects/project_detail.html" %}
2
  
3
 
4
{% load astakos_tags filters django_tables2 %}
5

    
6
{% block bottom_link %}<a href="{% url project_detail object.chain %}" title="Back to project ">&lt; Back to Project</a>{% endblock bottom_link %}
7
{% block inner_project %} 
8
   
9
  {% if owner_mode and project_view %}
10
    {% if object.project.is_alive %}
11
      
12
      <div class="full-dotted{% if members_status_filter == None %} all{% endif %}{% if members_status_filter == 1 %} approved {% endif %}{% if members_status_filter == 0 %} pending{% endif %}">
13
        <h3>
14
          <a href="#members-table" class="rt-action">ADD MORE MEMBERS</a>
15
          MEMBERS  
16
 
17
          <div class="project-actions">
18
            <a href="{% url project_members object.chain %}"  {% if  == None %}class="inactive"{% endif %}>ALL</a> -
19
            <a href="{% url project_approved_members object.chain %}" {% if  == 1 %}class="inactive"{% endif %}>APPROVED</a> -
20
            <a href="{% url project_pending_members object.chain %}" {% if  == 0 %}class="inactive"{% endif %}>PENDING</a>
21

    
22
          </div>
23
        </h3>
24
        
25
        {% if members_table %}
26
       
27
        {% render_table members_table %}
28
        <div class="form-actions inactive">
29
          {% confirm_link "Reject selected" "project_app_cancel" 0 1 "" "OK" 1 "reject" %}
30
          {% confirm_link "Accept selected" "project_app_cancel" 0 1 "" "OK" 1 "approve" %}
31
          {% confirm_link "Remove selected" "project_app_cancel" 0 1 "" "OK" 1 "remove" %} 
32
        </div>
33
        {% endif %}
34
        
35
      
36

    
37
     
38
      {% if not project.is_deactivated %}
39
        <div class="full-dotted">
40
          
41
    {% include 'im/projects/addmembers_form.html' %}
42
        </div>
43
      {% endif %}
44
    {% endif %}
45

    
46
     
47
     
48
    
49
  {% endif %}
50
{% endblock inner_project %} 
51
   
52