ui: Add page descriptions.
This commit is contained in:
1 parent
a520ebf23f
commit
e5749a397f
13 files changed
+34
-15
No files matched your search
@@ -173,9 +173,9 @@ def page_bids(self, url_split, post_string, sent=False, available=False, receive
|
||||
'page_type_sent': 'Bids Sent' if sent else '',
|
||||
'page_type_available': 'Bids Available' if available else '',
|
||||
'page_type_received': 'Received Bids' if received else '',
|
||||
'page_type_sent_description': '' if sent else '',
|
||||
'page_type_available_description': '' if available else '',
|
||||
'page_type_received_description': '' if received else '',
|
||||
'page_type_sent_description': 'All the bids you have placed on offers.' if sent else '',
|
||||
'page_type_available_description': 'Bids available for you to accept.' if available else '',
|
||||
'page_type_received_description': 'All the bids placed on your offers.' if received else '',
|
||||
'messages': messages,
|
||||
'filters': filters,
|
||||
'data': page_data,
|
||||
|
||||
@@ -637,7 +637,7 @@ def page_offers(self, url_split, post_string, sent=False):
|
||||
template = server.env.get_template('offers.html')
|
||||
return self.render_template(template, {
|
||||
'page_type': 'Your Offers' if sent else 'Network Order Book',
|
||||
'page_type_description': '' if sent else '',
|
||||
'page_type_description': 'Your entire offer history.' if sent else 'Consult available offers in the order book and initiate a coin swap.',
|
||||
'messages': messages,
|
||||
'show_chart': False if sent else swap_client.settings.get('show_chart', True),
|
||||
'chart_api_key': chart_api_key,
|
||||
|
||||
Reference in new issue
Block a user