Hide some fields.

This commit is contained in:
James Cole 2020-03-22 08:13:39 +01:00
parent 53938f3c12
commit c598151c68
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -57,9 +57,9 @@ TODO: hide and show columns
</td>
<!-- column to span accounts + extra fields -->
{% if showCategory or showBudget %}
<td style="border-top:1px #aaa solid;" colspan="3">&nbsp;</td>
<td style="border-top:1px #aaa solid;" colspan="3" class="hidden-xs">&nbsp;</td>
{% else %}
<td style="border-top:1px #aaa solid;" colspan="2">&nbsp;</td>
<td style="border-top:1px #aaa solid;" colspan="2" class="hidden-xs">&nbsp;</td>
{% endif %}
<td style="border-top:1px #aaa solid;">
<div class="btn-group btn-group-xs pull-right">
@ -81,7 +81,7 @@ TODO: hide and show columns
{% set style="border-bottom:1px #aaa solid;" %}
{% endif %}
<tr data-date="{{ transaction.date.format('Y-m-d') }}">
<td style=" {{ style|raw }}">
<td style=" {{ style|raw }}" class="hidden-xs">
{% if transaction.transaction_type_type == 'Withdrawal' %}
<i class="fa fa-long-arrow-left fa-fw" title="{{ trans('firefly.Withdrawal') }}"></i>
{% endif %}
@ -161,7 +161,7 @@ TODO: hide and show columns
title="{{ transaction.destination_account_iban|default(transaction.destination_account_name) }}">{{ transaction.destination_account_name }}</a>
</td>
{% if showCategory %}
<td style=" {{ style|raw }}">
<td style=" {{ style|raw }}" class="hidden-xs">
{% if transaction.category_id %}
<a href="{{ route('categories.show', [transaction.category_id]) }}"
title="{{ transaction.category_name }}">{{ transaction.category_name }}</a>
@ -169,7 +169,7 @@ TODO: hide and show columns
</td>
{% endif %}
{% if showBudget %}
<td style=" {{ style|raw }}">
<td style=" {{ style|raw }}" class="hidden-xs">
{% if transaction.budget_id %}
<a href="{{ route('budgets.show', [transaction.budget_id]) }}"
title="{{ transaction.budget_name }}">{{ transaction.budget_name }}</a>
@ -178,7 +178,7 @@ TODO: hide and show columns
{% endif %}
{% if group.count == 1 %}
<td style=" {{ style|raw }};">
<td style=" {{ style|raw }};" class="hidden-xs">
<div class="btn-group btn-group-xs pull-right">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{ 'actions'|_ }} <span class="caret"></span></button>
@ -194,11 +194,11 @@ TODO: hide and show columns
{% endif %}
{% if group.count != 1 %}
<td style=" {{ style|raw }};">
<td style=" {{ style|raw }};" class="hidden-xs">
&nbsp;
</td>
{% endif %}
<td style="{{ style|raw }}">
<td style="{{ style|raw }}" class="hidden-xs">
<div class="pull-right">
<input id="list_{{ transaction.transaction_journal_id }}" value="{{ transaction.transaction_journal_id }}"
name="journals[{{ transaction.transaction_journal_id }}]"