mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	First page for currency exchange rates.
This commit is contained in:
		| @@ -1,51 +1,12 @@ | ||||
| {% set VUE_SCRIPT_NAME = 'exchange-rates/index' %} | ||||
| {% extends './layout/default' %} | ||||
|  | ||||
| {% block breadcrumbs %} | ||||
|     {{ Breadcrumbs.render(Route.getCurrentRoute.getName) }} | ||||
|     {{ Breadcrumbs.render(Route.getCurrentRoute.getName, objectType) }} | ||||
| {% endblock %} | ||||
|  | ||||
| {% block content %} | ||||
|     <div class="row"> | ||||
|         <div class="col-lg-8 col-lg-offset-2 col-md-12 col-sm-12 col-xs-12"> | ||||
|             <div class="box box-primary"> | ||||
|                 <div class="box-header with-border"> | ||||
|                     <h3 class="box-title">{{ 'header_exchange_rates'|_ }}</h3> | ||||
|                 </div> | ||||
|                 <div class="box-body"> | ||||
|                     <p> | ||||
|                         {{ 'exchange_rates_intro'|_ }} | ||||
|                     </p> | ||||
|                 </div> | ||||
|             </div> | ||||
|         </div> | ||||
|     </div> | ||||
|     <div class="row"> | ||||
|         <div class="col-lg-8 col-lg-offset-2 col-md-12 col-sm-12 col-xs-12"> | ||||
|             {% for currency in currencies %} | ||||
|             <div class="box box-default"> | ||||
|                 <div class="box-header with-border"> | ||||
|                     <h3 class="box-title">{{ currency.name }}</h3> | ||||
|                 </div> | ||||
|                 <div class="box-body"> | ||||
|                     {% if currencies.count > 0 %} | ||||
|                     <ul> | ||||
|                         {% for sub in currencies %} | ||||
|                             {% if sub.id != currency.id %} | ||||
|                                 <li>From {{ currency.name }} to {{ sub.name }}</li> | ||||
|                             {% endif %} | ||||
|                         {% endfor %} | ||||
|                     </ul> | ||||
|                     {% endif %} | ||||
|                 </div> | ||||
|             </div> | ||||
|             {% endfor %} | ||||
|         </div> | ||||
|     </div> | ||||
|  | ||||
|     <div id="exchange_rates_index"></div> | ||||
| {% endblock %} | ||||
|  | ||||
| {% block styles %} | ||||
| {% endblock %} | ||||
|  | ||||
| {% block scripts %} | ||||
|  | ||||
| {% endblock %} | ||||
|   | ||||
| @@ -219,13 +219,13 @@ | ||||
|                     <span>{{ 'currencies'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartial('exchange-rates') }}"> | ||||
|                 <a class="{{ activeRoutePartial('exchange-rates') }}" href="{{ route('exchange-rates.index') }}"> | ||||
|                     <span class="fa fa-angle-right fa-fw"></span> | ||||
|                     <span>{{ 'menu_exchange_rates_index'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             {% if hasRole('owner') %} | ||||
|                 <li class="{{ activeRoutePartial('exchange-rates') }}"> | ||||
|                     <a class="{{ activeRoutePartial('exchange-rates') }}" href="{{ route('exchange-rates.index') }}"> | ||||
|                         <span class="fa fa-angle-right fa-fw"></span> | ||||
|                         <span>{{ 'menu_exchange_rates_index'|_ }}</span> | ||||
|                     </a> | ||||
|                 </li> | ||||
|                 <li class="{{ activeRoutePartial('admin') }}"> | ||||
|                     <a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}"> | ||||
|                         <span class="fa fa-angle-right fa-fw"></span> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user