| 
									
										
										
										
											2021-05-17 16:27:27 -04:00
										 |  |  | {% extends 'base/layout.html' %} | 
					
						
							| 
									
										
										
										
											2021-04-13 21:51:12 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-24 15:24:03 -04:00
										 |  |  | {% block tabs %} | 
					
						
							|  |  |  |   <ul class="nav nav-tabs px-3"> | 
					
						
							|  |  |  |     <li role="presentation" class="nav-item"> | 
					
						
							| 
									
										
										
										
											2022-07-11 15:43:59 -04:00
										 |  |  |       <a class="nav-link{% if active_tab == 'profile' %} active{% endif %}" href="{% url 'users:profile' %}">Profile</a> | 
					
						
							| 
									
										
										
										
											2021-08-24 15:24:03 -04:00
										 |  |  |     </li> | 
					
						
							|  |  |  |     <li role="presentation" class="nav-item"> | 
					
						
							| 
									
										
										
										
											2022-07-11 15:43:59 -04:00
										 |  |  |       <a class="nav-link{% if active_tab == 'preferences' %} active{% endif %}" href="{% url 'users:preferences' %}">Preferences</a> | 
					
						
							| 
									
										
										
										
											2021-08-24 15:24:03 -04:00
										 |  |  |     </li> | 
					
						
							|  |  |  |     {% if not request.user.ldap_username %} | 
					
						
							|  |  |  |       <li role="presentation" class="nav-item"> | 
					
						
							| 
									
										
										
										
											2022-07-11 15:43:59 -04:00
										 |  |  |         <a class="nav-link{% if active_tab == 'password' %} active{% endif %}" href="{% url 'users:change_password' %}">Password</a> | 
					
						
							| 
									
										
										
										
											2021-08-24 15:24:03 -04:00
										 |  |  |       </li> | 
					
						
							|  |  |  |     {% endif %} | 
					
						
							|  |  |  |     <li role="presentation" class="nav-item"> | 
					
						
							| 
									
										
										
										
											2022-07-11 15:43:59 -04:00
										 |  |  |       <a class="nav-link{% if active_tab == 'api-tokens' %} active{% endif %}" href="{% url 'users:token_list' %}">API Tokens</a> | 
					
						
							| 
									
										
										
										
											2021-08-24 15:24:03 -04:00
										 |  |  |     </li> | 
					
						
							|  |  |  |   </ul> | 
					
						
							|  |  |  | {% endblock %} | 
					
						
							| 
									
										
										
										
											2016-12-09 16:23:11 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-08-24 15:24:03 -04:00
										 |  |  | {% block content-wrapper %} | 
					
						
							|  |  |  |   <div class="tab-content"> | 
					
						
							|  |  |  |     {% block content %}{% endblock %} | 
					
						
							|  |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2016-12-09 16:23:11 -05:00
										 |  |  | {% endblock %} |