| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  | {% extends "./layout/default.twig" %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							|  |  |  |     {{ Breadcrumbs.renderIfExists }}
 | 
					
						
							|  |  |  | {% endblock %}
 | 
					
						
							|  |  |  | {% block content %}
 | 
					
						
							|  |  |  |     <div class="row">
 | 
					
						
							|  |  |  |         <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
 | 
					
						
							|  |  |  |             <div class="box box-primary">
 | 
					
						
							|  |  |  |                 <div class="box-header with-border">
 | 
					
						
							|  |  |  |                     <h3 class="box-title">{{ 'all_users'|_ }}</h3>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |                 <div class="box-body table-responsive no-padding">
 | 
					
						
							|  |  |  |                     <table class="table table-condensed table-sortable">
 | 
					
						
							|  |  |  |                         <thead>
 | 
					
						
							|  |  |  |                         <tr>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                             <th colspan="2"> </th>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  |                             <th>{{ trans('list.email') }}</th>
 | 
					
						
							|  |  |  |                             <th>{{ trans('list.registered_at') }}</th>
 | 
					
						
							| 
									
										
										
										
											2016-08-03 20:57:01 +02:00
										 |  |  |                             <th>{{ trans('list.registered_from') }}</th>
 | 
					
						
							|  |  |  |                             <th>{{ trans('list.confirmed_from') }}</th>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                             <th>{{ trans('list.is_admin') }}</th>
 | 
					
						
							|  |  |  |                             <th>{{ trans('list.has_two_factor') }}</th>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  |                             <th>{{ trans('list.is_activated') }}</th>
 | 
					
						
							|  |  |  |                             <th>{{ trans('list.is_blocked') }}</th>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                             <th>{{ trans('list.blocked_code') }}</th>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  |                         </tr>
 | 
					
						
							|  |  |  |                         </thead>
 | 
					
						
							|  |  |  |                         <tbody>
 | 
					
						
							|  |  |  |                         {% for user in users %}
 | 
					
						
							|  |  |  |                             <tr>
 | 
					
						
							| 
									
										
										
										
											2016-08-04 06:07:53 +02:00
										 |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     <div class="btn-group btn-group-xs">
 | 
					
						
							|  |  |  |                                         <a class="btn btn-default" href="{{ route('admin.users.edit',user.id) }}"><i class="fa fa-pencil"></i></a>
 | 
					
						
							|  |  |  |                                     </div>
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                                 <td>#{{ user.id }}</td>
 | 
					
						
							| 
									
										
										
										
											2016-10-15 07:11:53 +02:00
										 |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     <a href="{{ route('admin.users.show',user.id) }}">{{ user.email }}</a></td>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {{ user.created_at.formatLocalized(monthAndDayFormat) }}
 | 
					
						
							|  |  |  |                                     {{ user.created_at.format('H:i') }}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							| 
									
										
										
										
											2016-08-03 20:57:01 +02:00
										 |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {{ Preferences.getForUser(user,"registration_ip_address").data }}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							|  |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {{ Preferences.getForUser(user,"confirmation_ip_address").data }}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {% if user.isAdmin %}
 | 
					
						
							|  |  |  |                                         <small class="text-success"><i class="fa fa-fw fa-check"></i></small>
 | 
					
						
							|  |  |  |                                     {% else %}
 | 
					
						
							|  |  |  |                                         <small class="text-danger"><i class="fa fa-fw fa-times"></i></small>
 | 
					
						
							|  |  |  |                                     {% endif %}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							|  |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {% if user.has2FA %}
 | 
					
						
							|  |  |  |                                         <small class="text-success"><i class="fa fa-fw fa-check"></i></small>
 | 
					
						
							|  |  |  |                                     {% else %}
 | 
					
						
							|  |  |  |                                         <small class="text-danger"><i class="fa fa-fw fa-times"></i></small>
 | 
					
						
							|  |  |  |                                     {% endif %}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:42:46 +02:00
										 |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {% if user.activated %}
 | 
					
						
							|  |  |  |                                         <small class="text-success"><i class="fa fa-fw fa-check"></i></small>
 | 
					
						
							|  |  |  |                                     {% else %}
 | 
					
						
							|  |  |  |                                         <small class="text-danger"><i class="fa fa-fw fa-times"></i></small>
 | 
					
						
							|  |  |  |                                     {% endif %}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							|  |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     {% if user.blocked == 1 %}
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                                         <small class="text-danger"><i class="fa fa-fw fa-check" title="{{ 'yes'|_ }}"></i></small>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:42:46 +02:00
										 |  |  |                                     {% else %}
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:51:37 +02:00
										 |  |  |                                         <small class="text-success"><i class="fa fa-fw fa-times" title="{{ 'no'|_ }}"></i></small>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:42:46 +02:00
										 |  |  |                                     {% endif %}
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							|  |  |  |                                 <td>
 | 
					
						
							|  |  |  |                                     <small>
 | 
					
						
							|  |  |  |                                         {% if user.blocked == 1 %}
 | 
					
						
							|  |  |  |                                             {% if user.blocked_code == "" %}
 | 
					
						
							|  |  |  |                                                 <em>~</em>
 | 
					
						
							|  |  |  |                                             {% else %}
 | 
					
						
							|  |  |  |                                                 {{ user.blocked_code }}
 | 
					
						
							|  |  |  |                                             {% endif %}
 | 
					
						
							| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  |                                         {% endif %}
 | 
					
						
							| 
									
										
										
										
											2016-04-03 10:42:46 +02:00
										 |  |  |                                     </small>
 | 
					
						
							|  |  |  |                                 </td>
 | 
					
						
							| 
									
										
										
										
											2016-04-03 07:07:17 +02:00
										 |  |  |                             </tr>
 | 
					
						
							|  |  |  |                         {% endfor %}
 | 
					
						
							|  |  |  |                         </tbody>
 | 
					
						
							|  |  |  |                     </table>
 | 
					
						
							|  |  |  |                 </div>
 | 
					
						
							|  |  |  |             </div>
 | 
					
						
							|  |  |  |         </div>
 | 
					
						
							|  |  |  |     </div>
 | 
					
						
							|  |  |  | {% endblock %}
 |