good names none
This commit is contained in:
parent
0bfe0beb12
commit
88dd7a4955
|
@ -87,9 +87,9 @@ class Good(models.Model):
|
|||
value = models.IntegerField(max_length=20, null=True)
|
||||
|
||||
def get_description(self):
|
||||
if self.description_string_trans != '':
|
||||
if self.description_string_trans != None:
|
||||
return self.description_string_trans
|
||||
if self.description_string != '':
|
||||
if self.description_string != None:
|
||||
return self.description_string
|
||||
else:
|
||||
return self.description
|
||||
|
|
|
@ -33,7 +33,7 @@ $(function() {
|
|||
<body>
|
||||
<div id="wrapper">
|
||||
<div id="status">
|
||||
No of results: {{ no_of_results }} displaying page {{ page }} of {{ no_of_pages }} Results per page: {{ page_size }} {% if has_previous %} <span class="prevBtn pageBtn">Previous Page</span> {% endif %} {% if has_next %} <span class="nextBtn pageBtn">Next Page</span> {% endif %}
|
||||
No of results: {{ no_of_results }} Displaying page {{ page }} of {{ no_of_pages }} Results per page: {{ page_size }} {% if has_previous %} <span class="prevBtn pageBtn">Previous Page</span> {% endif %} {% if has_next %} <span class="nextBtn pageBtn">Next Page</span> {% endif %}
|
||||
</div>
|
||||
<div id="formDiv">
|
||||
<form id="shipFilterForm" action="" method="GET">
|
||||
|
@ -95,7 +95,7 @@ No of results: {{ no_of_results }} displaying page {{ page }} of {{ no_of
|
|||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Ship Number</td>
|
||||
<td>Ship No</td>
|
||||
<td>Bill Type</td>
|
||||
<td>Date</td>
|
||||
<td>Ship Name</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user