File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
taccsite_cms/contrib/taccsite_data_list Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1313
1414# Helpers
1515
16- def get_short_descritpion (dict , value ):
16+ def get_short_description (dict , value ):
1717 """Get layout class based on value."""
1818 return dict .get (value , {}).get ('short_description' )
1919
@@ -63,9 +63,9 @@ class TaccsiteDataList(CMSPlugin):
6363 attributes = fields .AttributesField ()
6464
6565 def get_short_description (self ):
66- orientation = get_short_descritpion (ORIENTATION_DICT , self .orientation )
67- type_style = get_short_descritpion (TYPE_STYLE_DICT , self .type_style )
68- density = get_short_descritpion (DENSITY_DICT , self .density )
66+ orientation = get_short_description (ORIENTATION_DICT , self .orientation )
67+ type_style = get_short_description (TYPE_STYLE_DICT , self .type_style )
68+ density = get_short_description (DENSITY_DICT , self .density )
6969
7070 return density + ', ' + orientation + ' ' + type_style
7171
You can’t perform that action at this time.
0 commit comments