Renamed the class subject-line to account-line in the accounting application.

This commit is contained in:
依瑪貓 2020-08-05 07:51:35 +08:00
parent b2ce0eff54
commit 65bfdf3a88
3 changed files with 8 additions and 8 deletions

View File

@ -152,7 +152,7 @@ First written: 2020/7/23
<ul class="list-group d-sm-none"> <ul class="list-group d-sm-none">
{% for x in item.debit_records %} {% for x in item.debit_records %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{{ x.account.title|title_case }} {{ x.account.title|title_case }}
<span class="badge badge-info">{{ x.amount|accounting_amount }}</span> <span class="badge badge-info">{{ x.amount|accounting_amount }}</span>
</div> </div>
@ -160,7 +160,7 @@ First written: 2020/7/23
</li> </li>
{% endfor %} {% endfor %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }}
<span class="badge badge-info">{{ item.debit_total|accounting_amount }}</span> <span class="badge badge-info">{{ item.debit_total|accounting_amount }}</span>
</div> </div>

View File

@ -152,7 +152,7 @@ First written: 2020/7/23
<ul class="list-group d-sm-none"> <ul class="list-group d-sm-none">
{% for x in item.credit_records %} {% for x in item.credit_records %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{{ x.account.title|title_case }} {{ x.account.title|title_case }}
<span class="badge badge-info">{{ x.amount|accounting_amount }}</span> <span class="badge badge-info">{{ x.amount|accounting_amount }}</span>
</div> </div>
@ -160,7 +160,7 @@ First written: 2020/7/23
</li> </li>
{% endfor %} {% endfor %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }}
<span class="badge badge-info">{{ item.credit_total|accounting_amount }}</span> <span class="badge badge-info">{{ item.credit_total|accounting_amount }}</span>
</div> </div>

View File

@ -148,7 +148,7 @@ First written: 2020/7/23
<ul class="list-group d-lg-none"> <ul class="list-group d-lg-none">
{% for x in item.debit_records %} {% for x in item.debit_records %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{{ x.account.title|title_case }} {{ x.account.title|title_case }}
<span class="badge badge-info">{{ x.amount|accounting_amount }}</span> <span class="badge badge-info">{{ x.amount|accounting_amount }}</span>
</div> </div>
@ -156,7 +156,7 @@ First written: 2020/7/23
</li> </li>
{% endfor %} {% endfor %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }}
<span class="badge badge-info">{{ item.debit_total|accounting_amount }}</span> <span class="badge badge-info">{{ item.debit_total|accounting_amount }}</span>
</div> </div>
@ -195,7 +195,7 @@ First written: 2020/7/23
<ul class="list-group d-lg-none"> <ul class="list-group d-lg-none">
{% for x in item.credit_records %} {% for x in item.credit_records %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{{ x.account.title|title_case }} {{ x.account.title|title_case }}
<span class="badge badge-info">{{ x.amount|accounting_amount }}</span> <span class="badge badge-info">{{ x.amount|accounting_amount }}</span>
</div> </div>
@ -204,7 +204,7 @@ First written: 2020/7/23
% } % }
{% endfor %} {% endfor %}
<li class="list-group-item"> <li class="list-group-item">
<div class="d-flex justify-content-between align-items-center subject-line"> <div class="d-flex justify-content-between align-items-center account-line">
{% trans "Total" context "Accounting|" as text %}{{ text|force_escape }} {% trans "Total" context "Accounting|" as text %}{{ text|force_escape }}
<span class="badge badge-info">{{ item.credit_total|accounting_amount }}</span> <span class="badge badge-info">{{ item.credit_total|accounting_amount }}</span>
</div> </div>