Created .po translation file for login.html, signup.html, reset_password.html, confirm_reset_password.html, base_short.html, order_detail.html. Created .po translation file for orders.html, virtual_machine_detail.html, virtual_machines. created .po translation file for virtual_machine_key.html, notifications.html

This commit is contained in:
Levi 2016-07-18 21:24:44 -05:00
commit d7f7d498f5
12 changed files with 470 additions and 100 deletions

View file

@ -6,14 +6,14 @@
<div class="row">
<div class="col-md-9 col-md-offset-2">
<div class="col-sm-12">
<h3><i class="fa fa-bell" aria-hidden="true"></i> Notifications</h3>
<h3><i class="fa fa-bell" aria-hidden="true"></i>{% trans "Notifications"%} </h3>
<hr/>
<div class="col-md-3"> <!-- required for floating -->
<!-- Nav tabs -->
<ul class="nav nav-tabs tabs-left sideways">
<li class="active">
<a href="#unread-v" data-toggle="tab">
Unread
{% trans "Unread"%}
{% if unread_notifications|length > 0%}
<span class="badge">
{{unread_notifications|length}}
@ -23,7 +23,7 @@
</li>
<li>
<a href="#all-v" data-toggle="tab">
All
{% trans "All"%}
</a>
</li>
</ul>
@ -35,7 +35,7 @@
<div class="tab-pane active" id="unread-v">
<div class="row">
<div class="col-md-12">
<h3>Unread notifications</h3>
<h3>{% trans "Unread notifications"%} </h3>
<hr>
</div>
</div>
@ -45,7 +45,7 @@
<form method="POST" action="{% url 'hosting:read_notification' notification.id %}">
{% csrf_token %}
<span>{{notification}} -</span>
<button type="submit" class="btn btn-link">Mark as read</button>
<button type="submit" class="btn btn-link">{% trans "Mark as read"%}</button>
<span class="pull-right" style="font-size: 11px;color: #999;">{{notification.date}}</span>
</form>
<hr/>
@ -56,7 +56,7 @@
<div class="tab-pane" id="all-v">
<div class="row">
<div class="col-md-12">
<h3>All notifications</h3>
<h3>{% trans "All notifications"%}</h3>
<hr>
{% for notification in all_notifications %}
<span>{{notification.message}} </span>