Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Making the transaction detail page presentable.

Far from pretty, but it no longer looks like absoloute crap. I need to
make the site a lot cleaner overall, now that the backend stuff is
pretty well covered.
  • Loading branch information...
commit 6213344473c81bcc464d4cffc101b54fe63048f4 1 parent 2ff3267
@Dylnuge Dylnuge authored
Showing with 9 additions and 6 deletions.
  1. +9 −6 treasureapp/templates/transactions/detail.html
View
15 treasureapp/templates/transactions/detail.html
@@ -4,20 +4,23 @@
{% block content %}
+<h1>Transaction From {{ transaction.from_acct }}</h1>
+
<p>
-{{ transaction.amount }} From {{ transaction.from_acct }} To {{ transaction.to_acct }}
+<strong>Transfer:</strong> {{ transaction.amount }}
</p>
-{% if transaction.description %}
-<h2>Description:</h2>
-
<p>
-{{ transaction.description }}
+<strong>Into Account:</strong> {{ transaction.to_acct }}
</p>
+{% if transaction.description %}
+<p>
+<strong>Description:</strong> {{ transaction.description }}
+</p>
{% endif %}
-<!-- Controls to make a new account -->
+</p>
<p>
<a href="{% url transaction_update transaction.pk %}" class="btn btn-primary btn-large">
Please sign in to comment.
Something went wrong with that request. Please try again.