Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (2.2 kB)

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

    
6
{% block project_title %}<a href="{% url project_detail object.chain %}" title="Back to project ">{{ object.name|upper }}</a>{% endblock project_title %}
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">
29
          <a href="" class="button approve" data-action="approve">Approve selected</a>
30
          <a href="" class="button reject" data-action="reject">Reject selected</a>
31
          <a href="" class="button remove" data-action="remove">Remove selected</a>
32
          <div class="msg-wrap">
33
             <div class="dialog"> 
34
                <div class="dialog-content">
35
                Are you sure you want to perform this action?
36
                <br> <br> <a href="#" class="yes submit">Yes</a>
37
              &nbsp; 
38
              <a href="#" class="no submit">No</a> </div> </div>
39
            </div> 
40

    
41
          </div>
42
          
43
        {% endif %}
44
        
45
      </div>
46

    
47
     
48
      {% if not project.is_deactivated %}
49
        <div class="full-dotted">
50
          
51
    {% include 'im/projects/addmembers_form.html' %}
52
        </div>
53
      {% endif %}
54
    {% endif %}
55

    
56
     
57
     
58
    
59
  {% endif %}
60
{% endblock inner_project %} 
61
   
62