parent
679f0c68ad
commit
1c2981e203
@ -71,8 +71,8 @@ class PlaceView(PageView.ListView):
|
|||||||
_('County'),
|
_('County'),
|
||||||
_('State'),
|
_('State'),
|
||||||
_('Country'),
|
_('Country'),
|
||||||
_('Longitude'),
|
|
||||||
_('Latitude'),
|
_('Latitude'),
|
||||||
|
_('Longitude'),
|
||||||
_('Last Changed'),
|
_('Last Changed'),
|
||||||
_('Street'),
|
_('Street'),
|
||||||
]
|
]
|
||||||
|
@ -67,8 +67,8 @@ class PlaceModel(BaseModel):
|
|||||||
self.column_county,
|
self.column_county,
|
||||||
self.column_state,
|
self.column_state,
|
||||||
self.column_country,
|
self.column_country,
|
||||||
self.column_longitude,
|
|
||||||
self.column_latitude,
|
self.column_latitude,
|
||||||
|
self.column_longitude,
|
||||||
self.column_change,
|
self.column_change,
|
||||||
self.column_street,
|
self.column_street,
|
||||||
self.column_handle,
|
self.column_handle,
|
||||||
@ -83,8 +83,8 @@ class PlaceModel(BaseModel):
|
|||||||
self.column_county,
|
self.column_county,
|
||||||
self.column_state,
|
self.column_state,
|
||||||
self.column_country,
|
self.column_country,
|
||||||
self.column_longitude,
|
|
||||||
self.column_latitude,
|
self.column_latitude,
|
||||||
|
self.column_longitude,
|
||||||
self.column_change,
|
self.column_change,
|
||||||
self.column_street,
|
self.column_street,
|
||||||
self.column_handle,
|
self.column_handle,
|
||||||
|
@ -1057,18 +1057,18 @@ class PlacePage(BasePage):
|
|||||||
of.write('\t\t\t\t<td class="ColumnValue">%s</td>\n' % val[1])
|
of.write('\t\t\t\t<td class="ColumnValue">%s</td>\n' % val[1])
|
||||||
of.write('\t\t\t</tr>\n')
|
of.write('\t\t\t</tr>\n')
|
||||||
|
|
||||||
if place.long:
|
|
||||||
of.write('\t\t\t<tr>\n')
|
|
||||||
of.write('\t\t\t\t<td class="ColumnAttribute">%s</td>\n' % _('Longitude'))
|
|
||||||
of.write('\t\t\t\t<td class="ColumnValue">%s</td>\n' % place.long)
|
|
||||||
of.write('\t\t\t</tr>\n')
|
|
||||||
|
|
||||||
if place.lat:
|
if place.lat:
|
||||||
of.write('\t\t\t<tr>\n')
|
of.write('\t\t\t<tr>\n')
|
||||||
of.write('\t\t\t\t<td class="ColumnAttribute">%s</td>\n' % _('Latitude'))
|
of.write('\t\t\t\t<td class="ColumnAttribute">%s</td>\n' % _('Latitude'))
|
||||||
of.write('\t\t\t\t<td class="ColumnValue">%s</td>\n' % place.lat)
|
of.write('\t\t\t\t<td class="ColumnValue">%s</td>\n' % place.lat)
|
||||||
of.write('\t\t\t</tr>\n')
|
of.write('\t\t\t</tr>\n')
|
||||||
|
|
||||||
|
if place.long:
|
||||||
|
of.write('\t\t\t<tr>\n')
|
||||||
|
of.write('\t\t\t\t<td class="ColumnAttribute">%s</td>\n' % _('Longitude'))
|
||||||
|
of.write('\t\t\t\t<td class="ColumnValue">%s</td>\n' % place.long)
|
||||||
|
of.write('\t\t\t</tr>\n')
|
||||||
|
|
||||||
of.write('\t\t</table>\n')
|
of.write('\t\t</table>\n')
|
||||||
of.write('\t</div>\n')
|
of.write('\t</div>\n')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user