diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-21 17:27:20 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2016-08-21 17:27:20 +0200 |
commit | 7ac641792c2388a25594c630bf32bc7accf332b7 (patch) | |
tree | 56f20aa141a5b4b076f9f195c7c84d79fda14e51 /ishtar_common/views.py | |
parent | d7daac762c36d35737f36e46d5a13f47cce87351 (diff) | |
download | Ishtar-7ac641792c2388a25594c630bf32bc7accf332b7.tar.bz2 Ishtar-7ac641792c2388a25594c630bf32bc7accf332b7.zip |
Finds: add estimated value. Manage a currency for an Ishtar profile (refs #2969)
Diffstat (limited to 'ishtar_common/views.py')
-rw-r--r-- | ishtar_common/views.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/views.py b/ishtar_common/views.py index f5471583c..bbe790efa 100644 --- a/ishtar_common/views.py +++ b/ishtar_common/views.py @@ -792,6 +792,7 @@ def show_item(model, name, extra_dct=None): doc_type = 'type' in dct and dct.pop('type') url_name = u"/".join(reverse('show-' + name, args=['0', ''] ).split('/')[:-2]) + u"/" + dct['CURRENCY'] = get_current_profile().currency dct['current_window_url'] = url_name date = 'date' in dct and dct.pop('date') dct['window_id'] = "%s-%d-%s" % ( |