show 'you' on team detail member lists
This commit is contained in:
		
							parent
							
								
									2c69596ec6
								
							
						
					
					
						commit
						bc9d5f5db6
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -34,7 +34,7 @@ | ||||||
|             <table class="table table-striped"> |             <table class="table table-striped"> | ||||||
|                 {% for membership in team.managers %} |                 {% for membership in team.managers %} | ||||||
|                     <tr> |                     <tr> | ||||||
|                         <td>{{ membership.user.email }}</td> |                         <td>{{ membership.user.email }}{% if user == membership.user %} <span class="label label-info">you</span>{% endif %}</td> | ||||||
|                         <td> |                         <td> | ||||||
|                             <form style="margin: 0;" method="post" action="{% url team_demote membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">demote</button></form> |                             <form style="margin: 0;" method="post" action="{% url team_demote membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">demote</button></form> | ||||||
|                         </td> |                         </td> | ||||||
|  | @ -47,7 +47,7 @@ | ||||||
|             <table class="table table-striped"> |             <table class="table table-striped"> | ||||||
|                 {% for membership in team.members %} |                 {% for membership in team.members %} | ||||||
|                     <tr> |                     <tr> | ||||||
|                         <td>{{ membership.user.email }}</td> |                         <td>{{ membership.user.email }}{% if user == membership.user %} <span class="label label-info">you</span>{% endif %}</td> | ||||||
|                         <td> |                         <td> | ||||||
|                             <form style="margin: 0;" method="post" action="{% url team_promote membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">promote</button></form> |                             <form style="margin: 0;" method="post" action="{% url team_promote membership.pk %}">{% csrf_token %}<button type="submit" class="btn btn-mini">promote</button></form> | ||||||
|                         </td> |                         </td> | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Tauber
						James Tauber