Revision 7592e3e2 snf-astakos-app/astakos/im/templates/im/projects/project_list.html

b/snf-astakos-app/astakos/im/templates/im/projects/project_list.html
1 1
{% extends "im/account_base.html" %}
2 2

  
3
{% load astakos_tags %}
3 4
{% load filters %}
4 5

  
5 6
{% block page.body %}
......
58 59
    <!-- Search project -->
59 60
    {% if object_list %}
60 61
        <div class="full-dotted">
62
            {% comment %}
61 63
        	<form method="GET" class="minimal" action="#searchResults"> 
62 64
				<div class="form-row">
63 65
					<select name="sorting" onchange="this.form.submit();" class="dropkicked" tabindex="1">
......
73 75
					<input type="hidden" name="q" value="{{q}}"/>
74 76
				</div>
75 77
			</form>
78
			{% endcomment %}
76 79
            <table class="alt-style complex" id="searchResults">
77 80
                <caption>
78 81
                    {% if q %}SEARCH RESULTS{% else %}ALL PROJECTS{% endif %}
79 82
                </caption>
80 83
                <thead>
81 84
                  <tr>
82
                    <th>Name</th>
83
                    <!--<th>Type</th>-->
84
                    <th>Issued</th>
85
                    <th>Starts</th>
86
                    <th>Ends</th>               
85
                    <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'name' %}-name{% else %}name{% endif %}#allGroups">Name</a></th>
86
                    <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'issue_date' %}-issue_date{% else %}issue_date{% endif %}#allGroups">Issue Date</a></th>
87
                    <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'start_date' %}-start_date{% else %}start_date{% endif %}#allGroups">Start Date</a></th>
88
                    <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'end_date' %}-end_date{% else %}end_date{% endif %}#allGroups">End Date</a></th>
87 89
                    <th>Enrolled</th>
88
                    <th>Status</th>
89
                    <th/>
90
                    <th>Membership Status</th>
90
                    <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'state' %}-state{% else %}state{% endif %}#allGroups">Status</a></th>
91 91
                    <th>&nbsp;</th>
92
			        <th>Member accept policy</th>
93
			        <th>Member reject policy</th>
94
                   <!-- <th>&nbsp;</th>-->
95
                  
92
			        <th>Membership Status</th>
93
                    <th>&nbsp;</th>
94
			        <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'member_join_policy__description' %}-member_join_policy__description{% else %}member_join_policy__description{%endif%}#allGroups">Member Join Policy</a></th>
95
                    <th><a href="?{% if q %}q={{q}}&{% endif %}sorting={% if sorting == 'member_leave_policy__description' %}-member_leave_policy__description{% else %}member_leave_policy__description{%endif%}#allGroups">Member Leave Policy</a></th>
96
                    <!-- <th>&nbsp;</th>-->
96 97
                  </tr>
97 98
                </thead>
98 99
                <tbody>
......
213 214
        	 	{% with o.project.members as members %}
214 215
                {% with o.project.approved_members as approved_members %}  
215 216
	      	    <div>
217
	      	        {% comment %}
216 218
					<form method="GET" class="minimal" action="#allGroups" id="mygroups">
217 219
						<div class="form-row">
218 220
						    <select name="sorting"  class="dropkicked"  tabindex="1">
......
227 229
							</select>
228 230
						</div>
229 231
					</form>
232
					{% endcomment %}
230 233
					<table class="alt-style complex" id="allGroups">
231 234
			            <caption>MY PROJECTS</caption>
232 235
			            <thead>
233 236
			              <tr>
234
			                <th>Name</th>
235
			                <!--th>Type</th-->
236
			                <th>Issued</th>
237
			                <th>Starts</th>
238
			                <th>Expires</th>
239
			                <th>Enrolled</th>
240
			                <th>Status</th>
241
			                <th>&nbsp;</th>
242
			                <th class="centered">Moderated</th>
243
			               <!-- <th>&nbsp;</th>-->
244
			                
237
		                    <th><a href="?sorting={% if sorting == 'name' %}-name{% else %}name{% endif %}#allGroups">Name</a></th>
238
                            <th><a href="?sorting={% if sorting == 'issue_date' %}-issue_date{% else %}issue_date{% endif %}#allGroups">Issue Date</a></th>
239
                            <th><a href="?sorting={% if sorting == 'start_date' %}-start_date{% else %}start_date{% endif %}#allGroups">Start Date</a></th>
240
                            <th><a href="?sorting={% if sorting == 'end_date' %}-end_date{% else %}end_date{% endif %}#allGroups">End Date</a></th>
241
                            <th>Enrolled</th>
242
                            <th><a href="?sorting={% if sorting == 'state' %}-state{% else %}state{% endif %}#allGroups">Status</a></th>
243
                            <th>&nbsp;</th>
244
                            <th>Membership Status</th>
245
                            <th>&nbsp;</th>
246
                            <th><a href="?sorting={% if sorting == 'member_join_policy__description' %}-member_join_policy__description{% else %}member_join_policy__description{% endif %}#allGroups">Member Join Policy</a></th>
247
                            <th><a href="?sorting={% if sorting == 'member_leave_policy__description' %}-member_leave_policy__description{% else %}member_leave_policy__description{% endif %}#allGroups">Member Leave Policy</a></th>
248
                            <!-- <th>&nbsp;</th>-->
245 249
			              </tr>
246 250
			            </thead>
247 251
			            <tbody>

Also available in: Unified diff