Updated all link references to the new class based links
This commit is contained in:
@@ -35,9 +35,9 @@ class SmartLinkImageWidget(forms.widgets.Widget):
|
||||
<span class="famfam active famfam-%(famfam)s"></span>%(text)s
|
||||
</button>
|
||||
''' % {
|
||||
'famfam': link.get('famfam', u'link'),
|
||||
'famfam': link.getattr('famfam', u'link'),
|
||||
'text': capfirst(link['text']),
|
||||
'action': reverse(link.get('view'), args=[value['current_document'].pk, value['smart_link_instance'].pk])
|
||||
'action': reverse(link.view, args=[value['current_document'].pk, value['smart_link_instance'].pk])
|
||||
})
|
||||
output.append(u'</div>')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user