Prepare profile and billing to be translated.

This commit is contained in:
Santiago Lamora 2020-01-23 17:41:35 +01:00
parent 9866f00d7f
commit 953415f7df
2 changed files with 13 additions and 13 deletions

View File

@ -4,7 +4,7 @@
{% block content %}
<h1 class="service-name">{% trans "Billing" %}</h1>
<p class="service-description">Little description of what to be expected...</p>
<p class="service-description">{% trans "Little description of what billing section is." %}</p>
<table class="table service-list">
<colgroup>
@ -16,11 +16,11 @@
</colgroup>
<thead class="thead-dark">
<tr>
<th scope="col">Number</th>
<th scope="col">Bill date</th>
<th scope="col">Type</th>
<th scope="col">Total</th>
<th scope="col">Download PDF</th>
<th scope="col">{% trans "Number" %}</th>
<th scope="col">{% trans "Bill date" %}</th>
<th scope="col">{% trans "Type" %}</th>
<th scope="col">{% trans "Total" %}</th>
<th scope="col">{% trans "Download PDF" %}</th>
</tr>
</thead>
<tbody>

View File

@ -3,12 +3,12 @@
{% block content %}
<h1 class="service-name">Profile</h1>
<p class="service-description">Little description of what to be expected...</p>
<h1 class="service-name">{% trans "Profile" %}</h1>
<p class="service-description">{% trans "Little description of what profile section is." %}</p>
<div class="card-deck">
<div class="card card-profile">
<h5 class="card-header">User information</h5>
<h5 class="card-header">{% trans "User information" %}</h5>
<div class="card-body row">
<div class="col-md">
<div class="border-primary rounded-circle d-inline-block p-1" style="background-color: white; border: 5px solid grey">
@ -18,12 +18,12 @@
<div class="col-md-9">
<p class="card-text">{{ profile.username }}</p>
<p class="card-text">{{ profile.type }}</p>
<p class="card-text">Preferred language: {{ profile.language }}</p>
<p class="card-text">{% trans "Preferred language:" %} {{ profile.language|language_name_local }}</p>
</div>
{% comment %}
<!-- disabled until set_password is implemented -->
<div class="col-md-12 text-right">
<a class="btn btn-primary pl-5 pr-5" href="#">Set new password</a>
<a class="btn btn-primary pl-5 pr-5" href="#">{% trans "Set new password" %}</a>
</div>
{% endcomment %}
</div>
@ -31,7 +31,7 @@
{% with profile.billing as contact %}
<div class="card card-profile">
<h5 class="card-header">Billing information</h5>
<h5 class="card-header">{% trans "Billing information" %}</h5>
<div class="card-body">
<div class="form-group">{{ contact.name }}</div>
<div class="form-group">{{ contact.address }}</div>
@ -45,7 +45,7 @@
</div>
<!-- payment method -->
<div class="form-group">
payment method: {{ payment.method }}
{% trans "payment method:" %} {{ payment.method }}
</div>
<div class="form-group">
{% if payment.method == 'SEPADirectDebit' %}