mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Add some stuff for webhooks.
This commit is contained in:
		| @@ -1,223 +1,232 @@ | ||||
| <ul class="sidebar-menu" data-widget="tree"> | ||||
|   <li class="{{ activeRouteStrict('index') }}"> | ||||
|     <a href="{{ route('index') }}"> | ||||
|       <i class="fa fa-dashboard fa-fw"></i> | ||||
|       <span>{{ 'dashboard'|_ }}</span> | ||||
|     </a> | ||||
|   </li> | ||||
|  | ||||
|   <li class="header text-uppercase">{{ 'financial_control'|_ }}</li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('budgets') }}" id="budget-menu"> | ||||
|     <a href="{{ route('budgets.index') }}"> | ||||
|       <i class="fa fa-pie-chart fa-fw"></i> | ||||
|       <span>{{ 'budgets'|_ }}</span> | ||||
|     </a> | ||||
|   </li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('bills') }}"> | ||||
|     <a href="{{ route('bills.index') }}"> | ||||
|       <i class="fa fa-calendar-o fa-fw"></i> | ||||
|       <span>{{ 'bills'|_ }}</span> | ||||
|     </a> | ||||
|   </li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('piggy-banks') }}"> | ||||
|     <a href="{{ route('piggy-banks.index') }}"> | ||||
|       <i class="fa fa-bullseye fa-fw"></i> | ||||
|       <span>{{ 'piggyBanks'|_ }}</span> | ||||
|     </a> | ||||
|   </li> | ||||
|  | ||||
|   <li class="header text-uppercase">{{ 'accounting'|_ }}</li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('transactions') }} treeview" id="transaction-menu"> | ||||
|     <a href="#"> | ||||
|       <i class="fa fa-exchange fa-fw"></i> | ||||
|       <span>{{ 'transactions'|_ }}</span> | ||||
|       <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|     </a> | ||||
|  | ||||
|     <ul class="treeview-menu"> | ||||
|       <li class="{{ activeRoutePartialObjectType('transactions', 'withdrawal') }}"> | ||||
|         <a href="{{ route('transactions.index', 'withdrawal') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'expenses'|_ }}</span> | ||||
|     <li class="{{ activeRouteStrict('index') }}"> | ||||
|         <a href="{{ route('index') }}"> | ||||
|             <i class="fa fa-dashboard fa-fw"></i> | ||||
|             <span>{{ 'dashboard'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartialObjectType('transactions', 'deposit') }}"> | ||||
|         <a href="{{ route('transactions.index', 'deposit') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'income'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartialObjectType('transactions', 'transfers') }}"> | ||||
|         <a href="{{ route('transactions.index', 'transfers') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'transfers'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|     </ul> | ||||
|   </li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('recurring') }} {{ activeRoutePartial('rules') }} treeview"> | ||||
|     <a href="#"> | ||||
|       <i class="fa fa-microchip fa-fw"></i> | ||||
|       <span>{{ 'automation'|_ }}</span> | ||||
|       <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|     </a> | ||||
|  | ||||
|     <ul class="treeview-menu"> | ||||
|       <li class="{{ activeRoutePartial('rules') }}"> | ||||
|         <a href="{{ route('rules.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'rules'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartial('recurring') }}"> | ||||
|         <a href="{{ route('recurring.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'recurrences'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|     </ul> | ||||
|   </li> | ||||
|  | ||||
|   <li class="header text-uppercase">{{ 'others'|_ }}</li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('accounts') }} treeview" id="account-menu"> | ||||
|     <a href="#"> | ||||
|       <i class="fa fa-credit-card fa-fw"></i> | ||||
|       <span>{{ 'accounts'|_ }}</span> | ||||
|       <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|     </a> | ||||
|  | ||||
|     <ul class="treeview-menu"> | ||||
|       <li class="{{ activeRoutePartialObjectType('accounts', 'asset') }}"> | ||||
|         <a href="{{ route('accounts.index', 'asset') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'asset_accounts'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartialObjectType('accounts', 'expense') }}"> | ||||
|         <a href="{{ route('accounts.index', 'expense') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'expense_accounts'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartialObjectType('accounts', 'revenue') }}"> | ||||
|         <a href="{{ route('accounts.index', 'revenue') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'revenue_accounts'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartialObjectType('accounts', 'liabilities') }}"> | ||||
|         <a href="{{ route('accounts.index', 'liabilities') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'liabilities_accounts'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|     </ul> | ||||
|   </li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('categories') }} {{ activeRoutePartial('tags') }} treeview"> | ||||
|     <a href="#"> | ||||
|       <i class="fa fa-tags fa-fw"></i> | ||||
|       <span>{{ 'classification'|_ }}</span> | ||||
|       <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|     </a> | ||||
|  | ||||
|     <ul class="treeview-menu"> | ||||
|       <li class="{{ activeRoutePartial('categories') }}"> | ||||
|         <a href="{{ route('categories.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'categories'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartial('tags') }}"> | ||||
|         <a href="{{ route('tags.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'tags'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartial('object-groups') }}"> | ||||
|         <a href="{{ route('object-groups.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'object_groups_menu_bar'|_ }}</span> | ||||
|         </a> | ||||
|       </li> | ||||
|     </ul> | ||||
|   </li> | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('reports') }}" id="report-menu"> | ||||
|     <a href="{{ route('reports.index') }}"> | ||||
|       <i class="fa fa-bar-chart fa-fw"></i> | ||||
|       <span>{{ 'reports'|_ }}</span> | ||||
|     </a> | ||||
|   </li> | ||||
|  | ||||
|  | ||||
|   {% if config('firefly.feature_flags.export') %} | ||||
|     <li class="{{ activeRoutePartial('export') }}" id="report-menu"> | ||||
|       <a href="{{ route('export.index') }}"> | ||||
|         <i class="fa fa-upload fa-fw"></i> | ||||
|         <span>{{ 'export_data_menu'|_ }}</span> | ||||
|       </a> | ||||
|     </li> | ||||
|   {% endif %} | ||||
|  | ||||
|   <li class="{{ activeRoutePartial('admin') }} {{ activeRoutePartial('profile') }} {{ activeRoutePartial('preferences') }} {{ activeRoutePartial('currencies') }} treeview" id="option-menu"> | ||||
|     <a href="#"> | ||||
|       <i class="fa fa-sliders fa-fw"></i> | ||||
|       <span>{{ 'options'|_ }}</span> | ||||
|       <span class="pull-right-container"> | ||||
|     <li class="header text-uppercase">{{ 'financial_control'|_ }}</li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('budgets') }}" id="budget-menu"> | ||||
|         <a href="{{ route('budgets.index') }}"> | ||||
|             <i class="fa fa-pie-chart fa-fw"></i> | ||||
|             <span>{{ 'budgets'|_ }}</span> | ||||
|         </a> | ||||
|     </li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('bills') }}"> | ||||
|         <a href="{{ route('bills.index') }}"> | ||||
|             <i class="fa fa-calendar-o fa-fw"></i> | ||||
|             <span>{{ 'bills'|_ }}</span> | ||||
|         </a> | ||||
|     </li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('piggy-banks') }}"> | ||||
|         <a href="{{ route('piggy-banks.index') }}"> | ||||
|             <i class="fa fa-bullseye fa-fw"></i> | ||||
|             <span>{{ 'piggyBanks'|_ }}</span> | ||||
|         </a> | ||||
|     </li> | ||||
|  | ||||
|     <li class="header text-uppercase">{{ 'accounting'|_ }}</li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('transactions') }} treeview" id="transaction-menu"> | ||||
|         <a href="#"> | ||||
|             <i class="fa fa-exchange fa-fw"></i> | ||||
|             <span>{{ 'transactions'|_ }}</span> | ||||
|             <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|     </a> | ||||
|         </a> | ||||
|  | ||||
|     <ul class="treeview-menu"> | ||||
|       <li class="{{ activeRoutePartial('profile') }}"> | ||||
|         <a class="{{ activeRouteStrict('profile.index') }}" href="{{ route('profile.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'profile'|_ }}</span> | ||||
|         <ul class="treeview-menu"> | ||||
|             <li class="{{ activeRoutePartialObjectType('transactions', 'withdrawal') }}"> | ||||
|                 <a href="{{ route('transactions.index', 'withdrawal') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'expenses'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartialObjectType('transactions', 'deposit') }}"> | ||||
|                 <a href="{{ route('transactions.index', 'deposit') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'income'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartialObjectType('transactions', 'transfers') }}"> | ||||
|                 <a href="{{ route('transactions.index', 'transfers') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'transfers'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|         </ul> | ||||
|     </li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('recurring') }} {{ activeRoutePartial('rules') }} treeview"> | ||||
|         <a href="#"> | ||||
|             <i class="fa fa-microchip fa-fw"></i> | ||||
|             <span>{{ 'automation'|_ }}</span> | ||||
|             <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartial('preferences') }}"> | ||||
|         <a class="{{ activeRouteStrict('preferences.index') }}" href="{{ route('preferences.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'preferences'|_ }}</span> | ||||
|  | ||||
|         <ul class="treeview-menu"> | ||||
|             <li class="{{ activeRoutePartial('rules') }}"> | ||||
|                 <a href="{{ route('rules.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'rules'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartial('recurring') }}"> | ||||
|                 <a href="{{ route('recurring.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'recurrences'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|         </ul> | ||||
|     </li> | ||||
|  | ||||
|     <li class="header text-uppercase">{{ 'others'|_ }}</li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('accounts') }} treeview" id="account-menu"> | ||||
|         <a href="#"> | ||||
|             <i class="fa fa-credit-card fa-fw"></i> | ||||
|             <span>{{ 'accounts'|_ }}</span> | ||||
|             <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|         </a> | ||||
|       </li> | ||||
|       <li class="{{ activeRoutePartial('currencies') }}"> | ||||
|         <a class="{{ activeRoutePartial('currencies') }}" href="{{ route('currencies.index') }}"> | ||||
|           <i class="fa fa-angle-right fa-fw"></i> | ||||
|           <span>{{ 'currencies'|_ }}</span> | ||||
|  | ||||
|         <ul class="treeview-menu"> | ||||
|             <li class="{{ activeRoutePartialObjectType('accounts', 'asset') }}"> | ||||
|                 <a href="{{ route('accounts.index', 'asset') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'asset_accounts'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartialObjectType('accounts', 'expense') }}"> | ||||
|                 <a href="{{ route('accounts.index', 'expense') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'expense_accounts'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartialObjectType('accounts', 'revenue') }}"> | ||||
|                 <a href="{{ route('accounts.index', 'revenue') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'revenue_accounts'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartialObjectType('accounts', 'liabilities') }}"> | ||||
|                 <a href="{{ route('accounts.index', 'liabilities') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'liabilities_accounts'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|         </ul> | ||||
|     </li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('categories') }} {{ activeRoutePartial('tags') }} treeview"> | ||||
|         <a href="#"> | ||||
|             <i class="fa fa-tags fa-fw"></i> | ||||
|             <span>{{ 'classification'|_ }}</span> | ||||
|             <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|         </a> | ||||
|       </li> | ||||
|         {% if hasRole('owner') %} | ||||
|         <li class="{{ activeRoutePartial('admin') }}"> | ||||
|           <a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}"> | ||||
|             <i class="fa fa-angle-right fa-fw"></i> | ||||
|             <span>{{ 'administration'|_ }}</span> | ||||
|           </a> | ||||
|  | ||||
|         <ul class="treeview-menu"> | ||||
|             <li class="{{ activeRoutePartial('categories') }}"> | ||||
|                 <a href="{{ route('categories.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'categories'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartial('tags') }}"> | ||||
|                 <a href="{{ route('tags.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'tags'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartial('object-groups') }}"> | ||||
|                 <a href="{{ route('object-groups.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'object_groups_menu_bar'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|         </ul> | ||||
|     </li> | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('reports') }}" id="report-menu"> | ||||
|         <a href="{{ route('reports.index') }}"> | ||||
|             <i class="fa fa-bar-chart fa-fw"></i> | ||||
|             <span>{{ 'reports'|_ }}</span> | ||||
|         </a> | ||||
|     </li> | ||||
|  | ||||
|  | ||||
|     {% if config('firefly.feature_flags.export') %} | ||||
|         <li class="{{ activeRoutePartial('export') }}" id="report-menu"> | ||||
|             <a href="{{ route('export.index') }}"> | ||||
|                 <i class="fa fa-upload fa-fw"></i> | ||||
|                 <span>{{ 'export_data_menu'|_ }}</span> | ||||
|             </a> | ||||
|         </li> | ||||
|       {% endif %} | ||||
|     </ul> | ||||
|   </li> | ||||
|   {% if 'remote_user_guard' != authGuard or '' != logoutUri %} | ||||
|     <li> | ||||
|       <a href="{{ route('logout') }}"> | ||||
|         <i class="fa fa-sign-out fa-fw"></i> | ||||
|         <span>{{ 'logout'|_ }}</span> | ||||
|       </a> | ||||
|     {% endif %} | ||||
|  | ||||
|     <li class="{{ activeRoutePartial('admin') }} {{ activeRoutePartial('profile') }} {{ activeRoutePartial('preferences') }} {{ activeRoutePartial('currencies') }} treeview" | ||||
|         id="option-menu"> | ||||
|         <a href="#"> | ||||
|             <i class="fa fa-sliders fa-fw"></i> | ||||
|             <span>{{ 'options'|_ }}</span> | ||||
|             <span class="pull-right-container"> | ||||
|         <i class="fa fa-angle-left pull-right"></i> | ||||
|       </span> | ||||
|         </a> | ||||
|  | ||||
|         <ul class="treeview-menu"> | ||||
|             <li class="{{ activeRoutePartial('profile') }}"> | ||||
|                 <a class="{{ activeRouteStrict('profile.index') }}" href="{{ route('profile.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'profile'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartial('preferences') }}"> | ||||
|                 <a class="{{ activeRouteStrict('preferences.index') }}" href="{{ route('preferences.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'preferences'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             <li class="{{ activeRoutePartial('currencies') }}"> | ||||
|                 <a class="{{ activeRoutePartial('currencies') }}" href="{{ route('currencies.index') }}"> | ||||
|                     <i class="fa fa-angle-right fa-fw"></i> | ||||
|                     <span>{{ 'currencies'|_ }}</span> | ||||
|                 </a> | ||||
|             </li> | ||||
|             {% if true == featuringWebhooks %} | ||||
|                 <li class="{{ activeRoutePartial('webhooks') }}"> | ||||
|                     <a class="{{ activeRoutePartial('webhooks') }}" href="{{ route('webhooks.index') }}"> | ||||
|                         <i class="fa fa-angle-right fa-fw"></i> | ||||
|                         <span>{{ 'webhooks'|_ }}</span> | ||||
|                     </a> | ||||
|                 </li> | ||||
|             {% endif %} | ||||
|             {% if hasRole('owner') %} | ||||
|                 <li class="{{ activeRoutePartial('admin') }}"> | ||||
|                     <a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}"> | ||||
|                         <i class="fa fa-angle-right fa-fw"></i> | ||||
|                         <span>{{ 'administration'|_ }}</span> | ||||
|                     </a> | ||||
|                 </li> | ||||
|             {% endif %} | ||||
|         </ul> | ||||
|     </li> | ||||
|   {% endif %} | ||||
|     {% if 'remote_user_guard' != authGuard or '' != logoutUri %} | ||||
|         <li> | ||||
|             <a href="{{ route('logout') }}"> | ||||
|                 <i class="fa fa-sign-out fa-fw"></i> | ||||
|                 <span>{{ 'logout'|_ }}</span> | ||||
|             </a> | ||||
|         </li> | ||||
|     {% endif %} | ||||
| </ul> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user