added external widgets
authorPatrick Aljord <patcito@gmail.com>
Tue, 4 Jan 2011 22:35:47 +0000 (17:35 -0500)
committerPatrick Aljord <patcito@gmail.com>
Thu, 20 Jan 2011 23:20:15 +0000 (18:20 -0500)
commitd8dc6e0df97f98689f6febc83e46704897395878
tree07db700ddbe45167005523f6e6dd76ca06300d8f
parentc1d7c24de6a799148212fd0dcc518137413d1343
added external widgets
makes it possible to turn any widget into an embedded one
each widget gets custom css and/or shapado css
22 files changed:
app/controllers/widgets_controller.rb
app/helpers/application_helper.rb
app/models/group.rb
app/models/widgets/pages_widget.rb
app/models/widgets/tag_list_widget.rb
app/models/widgets/widget.rb
app/views/shared/_external_widget_settings.haml [new file with mode: 0644]
app/views/widgets/_badges.html.haml
app/views/widgets/_badges_settings.html.haml
app/views/widgets/_current_tags_settings.html.haml
app/views/widgets/_groups_settings.html.haml
app/views/widgets/_pages_settings.html.haml
app/views/widgets/_sharing_buttons_settings.html.haml
app/views/widgets/_tag_cloud_settings.html.haml
app/views/widgets/_tag_list_settings.html.haml
app/views/widgets/_top_groups_settings.html.haml
app/views/widgets/_top_users_settings.html.haml
app/views/widgets/_users_settings.html.haml
app/views/widgets/embedded.html.haml [new file with mode: 0644]
app/views/widgets/index.html.haml
config/locales/widgets/en.yml
config/routes.rb