diff --git a/feedback/feedback.py b/feedback/feedback.py index 5a298c8..046e18e 100644 --- a/feedback/feedback.py +++ b/feedback/feedback.py @@ -196,14 +196,12 @@ def get_url(icon_type, i): selected through CSS, rather than by using those icons. ''' templates = {'inactive': 'public/default_icons/i{set}{i}.png', - 'active': 'public/default_icons/a{set}{i}.png', - 'selected': 'public/default_icons/s{set}{i}.png'} + 'active': 'public/default_icons/a{set}{i}.png',} template = templates[icon_type] icon_file = template.format(i=i, set=prompt['icon_set']) return self.runtime.local_resource_url(self, icon_file) ina_urls = [get_url('inactive', i) for i in range(1, 6)] act_urls = [get_url('active', i) for i in range(1, 6)] - sel_urls = [get_url('selected', i) for i in range(1, 6)] # Prepare the Likert scale fragment to be embedded into the feedback form scale = "".join( @@ -217,7 +215,6 @@ def get_url(icon_type, i): 'vote_cnt': vote_cnt, 'ina_icon': ina_icon, 'act_icon': act_icon, - 'sel_icon': sel_icon }, i18n_service=self.runtime.service(self, 'i18n'), ) for @@ -227,16 +224,14 @@ def get_url(icon_type, i): active, vote_cnt, act_icon, - ina_icon, - sel_icon) in + ina_icon,) in zip(prompt['scale_text'], ICON_SETS[(prompt['icon_set'])], indexes, active_vote, votes, act_urls, - ina_urls, - sel_urls) + ina_urls) ) if self.user_vote != -1: _ = self.runtime.service(self, 'i18n').ugettext diff --git a/feedback/public/default_icons/sface1.png b/feedback/public/default_icons/sface1.png deleted file mode 100644 index ba756b2..0000000 Binary files a/feedback/public/default_icons/sface1.png and /dev/null differ diff --git a/feedback/public/default_icons/sface2.png b/feedback/public/default_icons/sface2.png deleted file mode 100644 index c962f5d..0000000 Binary files a/feedback/public/default_icons/sface2.png and /dev/null differ diff --git a/feedback/public/default_icons/sface3.png b/feedback/public/default_icons/sface3.png deleted file mode 100644 index 1f51937..0000000 Binary files a/feedback/public/default_icons/sface3.png and /dev/null differ diff --git a/feedback/public/default_icons/sface4.png b/feedback/public/default_icons/sface4.png deleted file mode 100644 index 26407f1..0000000 Binary files a/feedback/public/default_icons/sface4.png and /dev/null differ diff --git a/feedback/public/default_icons/sface5.png b/feedback/public/default_icons/sface5.png deleted file mode 100644 index 3598db1..0000000 Binary files a/feedback/public/default_icons/sface5.png and /dev/null differ diff --git a/feedback/public/default_icons/snum1.png b/feedback/public/default_icons/snum1.png deleted file mode 100644 index d5eab61..0000000 Binary files a/feedback/public/default_icons/snum1.png and /dev/null differ diff --git a/feedback/public/default_icons/snum2.png b/feedback/public/default_icons/snum2.png deleted file mode 100644 index 99c9edf..0000000 Binary files a/feedback/public/default_icons/snum2.png and /dev/null differ diff --git a/feedback/public/default_icons/snum3.png b/feedback/public/default_icons/snum3.png deleted file mode 100644 index ebfe042..0000000 Binary files a/feedback/public/default_icons/snum3.png and /dev/null differ diff --git a/feedback/public/default_icons/snum4.png b/feedback/public/default_icons/snum4.png deleted file mode 100644 index 6dcd336..0000000 Binary files a/feedback/public/default_icons/snum4.png and /dev/null differ diff --git a/feedback/public/default_icons/snum5.png b/feedback/public/default_icons/snum5.png deleted file mode 100644 index 2ca9c07..0000000 Binary files a/feedback/public/default_icons/snum5.png and /dev/null differ diff --git a/feedback/public/default_icons/sstar1.png b/feedback/public/default_icons/sstar1.png deleted file mode 100644 index 94dbc6d..0000000 Binary files a/feedback/public/default_icons/sstar1.png and /dev/null differ diff --git a/feedback/public/default_icons/sstart2.png b/feedback/public/default_icons/sstart2.png deleted file mode 100644 index 8368160..0000000 Binary files a/feedback/public/default_icons/sstart2.png and /dev/null differ diff --git a/feedback/public/default_icons/sstart3.png b/feedback/public/default_icons/sstart3.png deleted file mode 100644 index 8368160..0000000 Binary files a/feedback/public/default_icons/sstart3.png and /dev/null differ diff --git a/feedback/public/default_icons/sstart4.png b/feedback/public/default_icons/sstart4.png deleted file mode 100644 index 8368160..0000000 Binary files a/feedback/public/default_icons/sstart4.png and /dev/null differ diff --git a/feedback/public/default_icons/sstart5.png b/feedback/public/default_icons/sstart5.png deleted file mode 100644 index 8368160..0000000 Binary files a/feedback/public/default_icons/sstart5.png and /dev/null differ