nav for result notification
This commit is contained in:
		
							parent
							
								
									4c38b66d63
								
							
						
					
					
						commit
						e37b395b85
					
				
					 2 changed files with 13 additions and 0 deletions
				
			
		|  | @ -84,6 +84,11 @@ | ||||||
|                                     {% trans "Voting Status" %} |                                     {% trans "Voting Status" %} | ||||||
|                                 </a> |                                 </a> | ||||||
|                             </li> |                             </li> | ||||||
|  |                             {% if request.user.is_staff %} | ||||||
|  |                                 <li> | ||||||
|  |                                     <a href="{% url result_notification section.section.slug 'accepted' %}">Result Notification</a> | ||||||
|  |                                 </li> | ||||||
|  |                             {% endif %} | ||||||
|                         {% endfor %} |                         {% endfor %} | ||||||
|                     </ul> |                     </ul> | ||||||
|                 {% endblock %} |                 {% endblock %} | ||||||
|  |  | ||||||
|  | @ -11,6 +11,13 @@ | ||||||
| {% endblock %} | {% endblock %} | ||||||
| 
 | 
 | ||||||
| {% block body %} | {% block body %} | ||||||
|  |      | ||||||
|  |     <ul class="nav nav-pills"> | ||||||
|  |         <li{% if status == 'accepted' %} class="active"{% endif %}><a href="{% url result_notification section_slug 'accepted' %}">accepted</a> | ||||||
|  |         <li{% if status == 'rejected' %} class="active"{% endif %}><a href="{% url result_notification section_slug 'rejected' %}">rejected</a> | ||||||
|  |         <li{% if status == 'standby' %} class="active"{% endif %}><a href="{% url result_notification section_slug 'standby' %}">standby</a> | ||||||
|  |     </ul> | ||||||
|  |      | ||||||
|     <h1>Result Notification</h1> |     <h1>Result Notification</h1> | ||||||
|      |      | ||||||
|     <form method="post" action="{% url result_notification_prepare section_slug status %}"> |     <form method="post" action="{% url result_notification_prepare section_slug status %}"> | ||||||
|  | @ -64,6 +71,7 @@ | ||||||
|                             {% endwith %} |                             {% endwith %} | ||||||
|                         </td> |                         </td> | ||||||
|                         <td> |                         <td> | ||||||
|  |                             {% if proposal.notifications.exists %}yes{% endif %} | ||||||
|                         </td> |                         </td> | ||||||
|                     </tr> |                     </tr> | ||||||
|                 {% endfor %} |                 {% endfor %} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 James Tauber
						James Tauber