mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Some code reformatting.
This commit is contained in:
@@ -130,7 +130,8 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- options and preferences -->
|
<!-- options and preferences -->
|
||||||
<li id="option-menu" class="{{ activeRoutePartial('admin') }} {{ activeRoutePartial('profile') }} {{ activeRoutePartial('preferences') }} {{ activeRoutePartial('currency') }} treeview">
|
<li id="option-menu"
|
||||||
|
class="{{ activeRoutePartial('admin') }} {{ activeRoutePartial('profile') }} {{ activeRoutePartial('preferences') }} {{ activeRoutePartial('currency') }} treeview">
|
||||||
<a href="#">
|
<a href="#">
|
||||||
<i class="fa fa-gears fa-fw"></i>
|
<i class="fa fa-gears fa-fw"></i>
|
||||||
<span>{{ 'options'|_ }}</span>
|
<span>{{ 'options'|_ }}</span>
|
||||||
@@ -150,7 +151,8 @@
|
|||||||
<!-- admin (if user admin) -->
|
<!-- admin (if user admin) -->
|
||||||
{% if Auth.user.hasRole('owner') %}
|
{% if Auth.user.hasRole('owner') %}
|
||||||
<li class="{{ activeRoutePartial('admin') }}">
|
<li class="{{ activeRoutePartial('admin') }}">
|
||||||
<a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}"><i class="fa fa-hand-spock-o fa-fw"></i> {{ 'administration'|_ }}</a>
|
<a class="{{ activeRoutePartial('admin') }}" href="{{ route('admin.index') }}"><i
|
||||||
|
class="fa fa-hand-spock-o fa-fw"></i> {{ 'administration'|_ }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -73,14 +73,10 @@
|
|||||||
{{ ExpandedForm.checkbox('tj[attachments]','1', tjOptionalFields.attachments,{ 'label' : 'pref_optional_tj_attachments'|_ }) }}
|
{{ ExpandedForm.checkbox('tj[attachments]','1', tjOptionalFields.attachments,{ 'label' : 'pref_optional_tj_attachments'|_ }) }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-6">
|
<div class="col-lg-6 col-md-6 col-sm-6">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|||||||
@@ -43,7 +43,8 @@
|
|||||||
<td class="hide-buttons">
|
<td class="hide-buttons">
|
||||||
<div class="btn-group btn-group-xs">
|
<div class="btn-group btn-group-xs">
|
||||||
<a href="{{ route('transactions.edit',transaction.journal_id) }}" class="btn btn-xs btn-default"><i class="fa fa-fw fa-pencil"></i></a>
|
<a href="{{ route('transactions.edit',transaction.journal_id) }}" class="btn btn-xs btn-default"><i class="fa fa-fw fa-pencil"></i></a>
|
||||||
<a href="{{ route('transactions.delete',transaction.journal_id) }}" class="btn btn-xs btn-danger"><i class="fa fa-fw fa-trash-o"></i></a></div>
|
<a href="{{ route('transactions.delete',transaction.journal_id) }}" class="btn btn-xs btn-danger"><i class="fa fa-fw fa-trash-o"></i></a>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td class="hide-icon">{{ transaction|typeIconTransaction }}</td>
|
<td class="hide-icon">{{ transaction|typeIconTransaction }}</td>
|
||||||
|
|
||||||
|
|||||||
@@ -93,16 +93,15 @@
|
|||||||
not optionalFields.invoice_date or
|
not optionalFields.invoice_date or
|
||||||
not optionalFields.internal_reference or
|
not optionalFields.internal_reference or
|
||||||
not optionalFields.notes or
|
not optionalFields.notes or
|
||||||
not optionalFields.attachments
|
not optionalFields.attachments %}
|
||||||
%}
|
<p class="text-center text-success"><i class="fa fa-info-circle" aria-hidden="true"></i>
|
||||||
<p class="text-center text-success"><i class="fa fa-info-circle" aria-hidden="true"></i> <em>{{ trans('firefly.hidden_fields_preferences', {link: route('preferences')})|raw }}</em></p>
|
<em>{{ trans('firefly.hidden_fields_preferences', {link: route('preferences')})|raw }}</em></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<!-- box for dates -->
|
<!-- box for dates -->
|
||||||
{% if
|
{% if
|
||||||
optionalFields.interest_date or optionalFields.book_date or optionalFields.process_date
|
optionalFields.interest_date or optionalFields.book_date or optionalFields.process_date
|
||||||
or optionalFields.due_date or optionalFields.payment_date
|
or optionalFields.due_date or optionalFields.payment_date
|
||||||
or optionalFields.invoice_date
|
or optionalFields.invoice_date %}
|
||||||
%}
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title">{{ 'optional_field_meta_dates'|_ }}</h3>
|
<h3 class="box-title">{{ 'optional_field_meta_dates'|_ }}</h3>
|
||||||
|
|||||||
@@ -120,8 +120,7 @@
|
|||||||
data.book_date or
|
data.book_date or
|
||||||
data.process_date or
|
data.process_date or
|
||||||
data.due_date or
|
data.due_date or
|
||||||
data.payment_date
|
data.payment_date %}
|
||||||
%}
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title">{{ 'optional_field_meta_dates'|_ }}</h3>
|
<h3 class="box-title">{{ 'optional_field_meta_dates'|_ }}</h3>
|
||||||
@@ -163,15 +162,12 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- box for business fields -->
|
<!-- box for business fields -->
|
||||||
{% if
|
{% if
|
||||||
optionalFields.internal_reference or
|
optionalFields.internal_reference or
|
||||||
optionalFields.notes or
|
optionalFields.notes or
|
||||||
data['interal_reference'] or
|
data['interal_reference'] or
|
||||||
data['notes']
|
data['notes'] %}
|
||||||
|
|
||||||
%}
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="box-header with-border">
|
<div class="box-header with-border">
|
||||||
<h3 class="box-title">{{ 'optional_field_meta_business'|_ }}</h3>
|
<h3 class="box-title">{{ 'optional_field_meta_business'|_ }}</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user