| 
									
										
										
										
											2016-11-06 08:11:43 +01:00
										 |  |  | {% extends "./layout/default" %}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | {% block breadcrumbs %}
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |     {{ Breadcrumbs.renderIfExists(Route.getCurrentRoute.getName, what) }}
 | 
					
						
							| 
									
										
										
										
											2015-06-19 20:59:14 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | {% block content %}
 | 
					
						
							| 
									
										
										
										
											2017-02-22 21:40:27 +01:00
										 |  |  |     {% if accounts.count > 0 %}
 | 
					
						
							|  |  |  |         <div class="row">
 | 
					
						
							|  |  |  |             <div class="col-lg-12 col-md-12 col-sm-12">
 | 
					
						
							|  |  |  |                 <div class="box" id="account-index-{{ what }}">
 | 
					
						
							|  |  |  |                     <div class="box-header with-border">
 | 
					
						
							|  |  |  |                         <h3 class="box-title">{{ subTitle }}</h3>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |                         <!-- ACTIONS MENU -->
 | 
					
						
							|  |  |  |                         <div class="box-tools pull-right">
 | 
					
						
							|  |  |  |                             <div class="btn-group">
 | 
					
						
							|  |  |  |                                 <button class="btn btn-box-tool dropdown-toggle" data-toggle="dropdown"><i class="fa fa-ellipsis-v"></i></button>
 | 
					
						
							|  |  |  |                                 <ul class="dropdown-menu" role="menu">
 | 
					
						
							|  |  |  |                                     <li><a href="{{ route('accounts.create', what) }}"><i
 | 
					
						
							|  |  |  |                                                     class="fa fa-plus fa-fw"></i> {{ ('make_new_' ~ what ~ '_account')|_ }}
 | 
					
						
							|  |  |  |                                         </a></li>
 | 
					
						
							|  |  |  |                                 </ul>
 | 
					
						
							|  |  |  |                             </div>
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |                         </div>
 | 
					
						
							| 
									
										
										
										
											2017-02-22 21:40:27 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |                     </div>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-22 21:40:27 +01:00
										 |  |  |                     <div class="box-body table-responsive no-padding">
 | 
					
						
							|  |  |  |                         {% include 'list.accounts' %}
 | 
					
						
							|  |  |  |                     </div>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |                 </div>
 | 
					
						
							| 
									
										
										
										
											2015-06-20 07:48:44 +02:00
										 |  |  |             </div>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |         </div>
 | 
					
						
							| 
									
										
										
										
											2017-02-22 21:40:27 +01:00
										 |  |  |     {% else %}
 | 
					
						
							| 
									
										
										
										
											2017-02-23 07:02:28 +01:00
										 |  |  |         {% include 'partials.empty' with {what: what, type: 'accounts',route: route('accounts.create', [what])} %}
 | 
					
						
							| 
									
										
										
										
											2017-02-22 21:40:27 +01:00
										 |  |  |     {% endif %}
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block styles %}
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |     <link rel="stylesheet" href="css/bootstrap-sortable.css" type="text/css" media="all"/>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | {% endblock %}
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | {% block scripts %}
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |     <script type="text/javascript">
 | 
					
						
							| 
									
										
										
										
											2016-11-25 16:54:13 +01:00
										 |  |  |         var what = '{{ what|escape }}';
 | 
					
						
							| 
									
										
										
										
											2015-06-27 08:06:24 +02:00
										 |  |  |     </script>
 | 
					
						
							| 
									
										
										
										
											2016-04-10 17:51:51 +02:00
										 |  |  |     <script type="text/javascript" src="js/lib/bootstrap-sortable.js"></script>
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | {% endblock %}
 |