social_stream 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/api_controller.rb +0 -4
- data/app/controllers/frontpage_controller.rb +5 -0
- data/app/controllers/logos_controller.rb +18 -2
- data/app/controllers/messages_controller.rb +148 -0
- data/app/controllers/pshb_controller.rb +19 -0
- data/app/controllers/subjects_controller.rb +7 -0
- data/app/controllers/ties_controller.rb +1 -4
- data/app/helpers/subjects_helper.rb +40 -4
- data/app/models/activity_verb.rb +1 -1
- data/app/models/actor.rb +12 -4
- data/app/models/logo.rb +46 -9
- data/app/models/tie.rb +21 -1
- data/app/views/activities/_activities.html.erb +34 -8
- data/app/views/devise/registrations/new.html.erb +1 -1
- data/app/views/frontpage/host_meta.xml.builder +11 -0
- data/app/views/groups/_logo.html.erb +1 -0
- data/app/views/groups/_new.html.erb +8 -5
- data/app/views/groups/_sidebar_show.html.erb +2 -1
- data/app/views/groups/edit.html.erb +4 -5
- data/app/views/groups/index.html.erb +1 -1
- data/app/views/groups/new.html.erb +1 -1
- data/app/views/groups/show.html.erb +1 -9
- data/app/views/home/index.html.erb +1 -1
- data/app/views/layouts/_header.erb +2 -3
- data/app/views/layouts/_representation.html.erb +2 -5
- data/app/views/logos/_precrop.html.erb +5 -2
- data/app/views/logos/index.html.erb +1 -1
- data/app/views/menu/_group.html.erb +1 -1
- data/app/views/menu/_optionsGroups.html.erb +11 -0
- data/app/views/menu/{_options.html.erb → _optionsUser.html.erb} +2 -2
- data/app/views/menu/_user.html.erb +1 -1
- data/app/views/messages/_conversation.html.erb +34 -0
- data/app/views/messages/_conversation_full.html.erb +65 -0
- data/app/views/messages/_conversations.html.erb +4 -0
- data/app/views/messages/_form.html.erb +86 -0
- data/app/views/{mailbox/_show.html.erb → messages/_index.html.erb} +5 -1
- data/app/views/messages/_location.html.erb +3 -0
- data/app/views/{mailbox → messages}/_menu_options.html.erb +5 -5
- data/app/views/{mailbox/conversation → messages}/_new.html.erb +6 -4
- data/app/views/messages/_show.html.erb +22 -0
- data/app/views/{mailbox → messages}/edit.html.erb +0 -0
- data/app/views/{mailbox → messages}/index.html.erb +1 -2
- data/app/views/{mailbox → messages}/index.js.erb +0 -0
- data/app/views/{mailbox/show.html.erb → messages/new.html.erb} +3 -4
- data/app/views/{mailbox/conversation → messages}/new.js.erb +0 -0
- data/app/views/messages/show.html.erb +10 -0
- data/app/views/{mailbox → messages}/show.js.erb +0 -0
- data/app/views/profiles/show.html.erb +180 -1
- data/app/views/{groups → subjects}/_tabs.html.erb +0 -0
- data/app/views/subjects/_toolbar_home.html.erb +9 -0
- data/app/views/subjects/_toolbar_home_menu.html.erb +6 -0
- data/app/views/subjects/_toolbar_home_menu_options.html.erb +28 -0
- data/app/views/subjects/_toolbar_home_menu_options_subjects.html.erb +15 -0
- data/app/views/subjects/_toolbar_logo.html.erb +4 -0
- data/app/views/subjects/_toolbar_profile.html.erb +21 -0
- data/app/views/subjects/_toolbar_profile_menu.html.erb +13 -0
- data/app/views/subjects/_toolbar_profile_menu_basic_options.html.erb +12 -0
- data/app/views/subjects/_toolbar_profile_menu_tie_options.html.erb +28 -0
- data/app/views/ties/_new.html.erb +4 -1
- data/app/views/ties/new.js.erb +9 -0
- data/app/views/users/_sidebar_show.html.erb +1 -1
- data/app/views/users/edit.html.erb +4 -5
- data/app/views/users/index.html.erb +1 -1
- data/app/views/users/show.html.erb +1 -3
- data/app/views/users/update.js.erb +1 -1
- data/config/locales/en.yml +11 -7
- data/config/routes.rb +13 -5
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/.htaccess +24 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/adapters/jquery.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor.js +141 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor_basic.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor_basic_source.js +20 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/ckeditor_source.js +25 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/config.js +21 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/contents.css +45 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/images/spacer.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/_languages.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/_translationstatus.txt +60 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/af.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ar.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/bg.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/bn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/bs.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ca.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/cs.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/cy.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/da.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/de.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/el.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en-au.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en-ca.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en-gb.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/eo.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/es.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/et.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/eu.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fa.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fi.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fo.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fr-ca.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/fr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/gl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/gu.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/he.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/hi.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/hr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/hu.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/is.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/it.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ja.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/km.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ko.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/lt.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/lv.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/mn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ms.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/nb.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/nl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/no.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/pl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/pt-br.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/pt.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ro.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/ru.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sk.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sl.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sr-latn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/sv.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/th.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/tr.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/uk.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/vi.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/zh-cn.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/lang/zh.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/a11yhelp/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/a11yhelp/lang/he.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/about/dialogs/about.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/adobeair/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/autogrow/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/clipboard/dialogs/paste.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/colordialog/dialogs/colordialog.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/div/dialogs/div.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/find/dialogs/find.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/flash/dialogs/flash.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/flash/images/placeholder.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/button.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/checkbox.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/form.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/hiddenfield.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/radio.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/select.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/textarea.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/dialogs/textfield.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/iframe/dialogs/iframe.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/iframedialog/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/image/dialogs/image.js +13 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/link/dialogs/anchor.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/link/dialogs/link.js +11 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/link/images/anchor.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/liststyle/dialogs/liststyle.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/pastefromword/filter/default.js +10 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/pastetext/dialogs/pastetext.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/dialogs/placeholder.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/placeholder.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/placeholder/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/scayt/dialogs/options.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/scayt/dialogs/toolbar.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/dialogs/smiley.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/heart.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/specialchar/dialogs/specialchar.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/specialchar/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/styles/styles/default.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/table/dialogs/table.js +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/tableresize/plugin.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/tabletools/dialogs/tableCell.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/dialogs/templates.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/default.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/dialogs/uicolor.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/lang/en.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/lang/he.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/plugin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/uicolor.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_bg.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/hue_thumb.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_mask.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/picker_thumb.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/assets/yui.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/uicolor/yui/yui.js +76 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/ciframe.html +49 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/tmpFrameset.html +52 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/plugins/wsc/dialogs/wsc.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/dialog.css +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/editor.css +13 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/icons.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/icons_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/dialog_sides.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/dialog_sides.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/mini.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/noimage.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/sprites.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/sprites_ie6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/images/toolbar_start.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/skin.js +7 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/kama/templates.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/dialog.css +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/editor.css +14 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/icons.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/icons_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/dialog_sides.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/mini.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/noimage.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/sprites.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/images/sprites_ie6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/skin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/office2003/templates.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/dialog.css +9 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/editor.css +13 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/icons.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/icons_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/dialog_sides.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/dialog_sides.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/dialog_sides_rtl.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/mini.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/noimage.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/sprites.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/sprites_ie6.png +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/images/toolbar_start.gif +0 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/skin.js +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/skins/v2/templates.css +6 -0
- data/lib/generators/social_stream/templates/public/javascripts/ckeditor/themes/default/theme.js +8 -0
- data/lib/generators/social_stream/templates/public/javascripts/jquery.fcbkcomplete.min.js +1 -1
- data/lib/generators/social_stream/templates/public/javascripts/jquery.scrollTo.min.js +11 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/base.css +32 -54
- data/lib/generators/social_stream/templates/public/stylesheets/default/fcbkComplete.css +13 -5
- data/lib/generators/social_stream/templates/public/stylesheets/default/header.css +13 -5
- data/lib/generators/social_stream/templates/public/stylesheets/default/home.css +1 -1
- data/lib/generators/social_stream/templates/public/{images → stylesheets/default/images}/fcbkcomplete/close.gif +0 -0
- data/lib/generators/social_stream/templates/public/stylesheets/default/jquery-ui.css +98 -51
- data/lib/generators/social_stream/templates/public/stylesheets/default/messages.css +44 -0
- data/lib/social_stream/rails.rb +4 -0
- data/lib/social_stream/version.rb +1 -1
- data/social_stream.gemspec +1 -1
- data/spec/controllers/frontpage_controller_spec.rb +5 -0
- data/spec/controllers/subjects_controller.rb +14 -0
- data/spec/dummy/db/schema.rb +10 -1
- data/spec/support/db.rb +17 -5
- metadata +253 -38
- data/app/controllers/mailbox/conversation_controller.rb +0 -110
- data/app/controllers/mailbox_controller.rb +0 -35
- data/app/views/groups/_toolbar_show.html.erb +0 -12
- data/app/views/mailbox/_conversation.html.erb +0 -23
- data/app/views/mailbox/_conversations.html.erb +0 -9
- data/app/views/mailbox/_index.html.erb +0 -16
- data/app/views/mailbox/_location.html.erb +0 -3
- data/app/views/mailbox/conversation/_conversation.html.erb +0 -40
- data/app/views/mailbox/conversation/_form.html.erb +0 -54
- data/app/views/mailbox/conversation/_location.html.erb +0 -3
- data/app/views/mailbox/conversation/_show.html.erb +0 -27
- data/app/views/mailbox/conversation/edit.html.erb +0 -6
- data/app/views/mailbox/conversation/new.html.erb +0 -10
- data/app/views/mailbox/conversation/show.html.erb +0 -1
- data/app/views/mailbox/new.html.erb +0 -14
- data/app/views/subjects/_menu_options.html.erb +0 -14
- data/app/views/subjects/_toolbar.html.erb +0 -15
- data/app/views/users/_logo.html.erb +0 -4
- data/app/views/users/_toolbar_show.html.erb +0 -17
@@ -1,110 +0,0 @@
|
|
1
|
-
class Mailbox::ConversationController < ApplicationController
|
2
|
-
|
3
|
-
before_filter :get_mailbox
|
4
|
-
|
5
|
-
|
6
|
-
def show
|
7
|
-
@actor = Actor.normalize(current_subject)
|
8
|
-
@conversation = MailboxerConversation.find_by_id(params[:id])
|
9
|
-
if @conversation.nil? or !@conversation.is_participant?(@actor)
|
10
|
-
redirect_to mailbox_index_path
|
11
|
-
return
|
12
|
-
end
|
13
|
-
@mails = @conversation.mails(@actor)
|
14
|
-
# messages = Array.new
|
15
|
-
# @mails.each do |mail|
|
16
|
-
# messages << mail.message
|
17
|
-
# end
|
18
|
-
# @messages = messages.uniq
|
19
|
-
end
|
20
|
-
|
21
|
-
def new
|
22
|
-
end
|
23
|
-
|
24
|
-
def edit
|
25
|
-
end
|
26
|
-
|
27
|
-
def create
|
28
|
-
@conversation = MailboxerConversation.new
|
29
|
-
if params[:subject].blank?
|
30
|
-
@conversation.errors.add("subject", "can't be empty")
|
31
|
-
end
|
32
|
-
if params[:body].blank?
|
33
|
-
@conversation.errors.add("body", "can't be empty")
|
34
|
-
end
|
35
|
-
if params[:_recipients].nil? or params[:_recipients]==[]
|
36
|
-
@conversation.errors.add("recipients", "can't be empty")
|
37
|
-
end
|
38
|
-
if @conversation.errors.any?
|
39
|
-
render :action => :new
|
40
|
-
return
|
41
|
-
end
|
42
|
-
@actor = current_subject
|
43
|
-
@recipients = Array.new
|
44
|
-
params[:_recipients].each do |recp_id|
|
45
|
-
recp = Actor.find_by_id(recp_id)
|
46
|
-
next if recp.nil?
|
47
|
-
@recipients << recp
|
48
|
-
end
|
49
|
-
|
50
|
-
if (mail = @actor.send_message(@recipients, params[:body], params[:subject]))
|
51
|
-
@conversation = mail.conversation
|
52
|
-
redirect_to mailbox_conversation_path(@conversation)
|
53
|
-
else
|
54
|
-
render :action => :new
|
55
|
-
end
|
56
|
-
|
57
|
-
end
|
58
|
-
|
59
|
-
def update
|
60
|
-
@actor = Actor.normalize(current_subject)
|
61
|
-
@conversation = MailboxerConversation.find_by_id(params[:id])
|
62
|
-
if @conversation.nil? or !@conversation.is_participant?(@actor)
|
63
|
-
redirect_to mailbox_index_path
|
64
|
-
return
|
65
|
-
end
|
66
|
-
|
67
|
-
if params[:untrash].present?
|
68
|
-
@conversation.untrash(@actor)
|
69
|
-
end
|
70
|
-
|
71
|
-
if params[:reply_all].present?
|
72
|
-
if params[:body].present?
|
73
|
-
last_mail = @conversation.mails(@actor).last
|
74
|
-
@actor.reply_to_all(last_mail, params[:body])
|
75
|
-
end
|
76
|
-
end
|
77
|
-
|
78
|
-
@mails = @conversation.mails(@actor)
|
79
|
-
render :action => :show
|
80
|
-
end
|
81
|
-
|
82
|
-
def destroy
|
83
|
-
@actor = Actor.normalize(current_subject)
|
84
|
-
@conversation = MailboxerConversation.find_by_id(params[:id])
|
85
|
-
if @conversation.nil? or !@conversation.is_participant?(@actor)
|
86
|
-
redirect_to mailbox_index_path
|
87
|
-
return
|
88
|
-
end
|
89
|
-
|
90
|
-
@conversation.move_to_trash(@actor)
|
91
|
-
|
92
|
-
if params[:location].present?
|
93
|
-
case params[:location]
|
94
|
-
when 'conversation'
|
95
|
-
redirect_to mailbox_path(:id => :trash)
|
96
|
-
else
|
97
|
-
redirect_to mailbox_path(:id => params[:location])
|
98
|
-
end
|
99
|
-
|
100
|
-
return
|
101
|
-
end
|
102
|
-
redirect_to mailbox_index_path
|
103
|
-
end
|
104
|
-
|
105
|
-
private
|
106
|
-
|
107
|
-
def get_mailbox
|
108
|
-
@mailbox = current_subject.mailbox
|
109
|
-
end
|
110
|
-
end
|
@@ -1,35 +0,0 @@
|
|
1
|
-
class MailboxController < ApplicationController
|
2
|
-
|
3
|
-
before_filter :get_mailbox
|
4
|
-
|
5
|
-
def index
|
6
|
-
end
|
7
|
-
|
8
|
-
def new
|
9
|
-
end
|
10
|
-
|
11
|
-
def create
|
12
|
-
end
|
13
|
-
|
14
|
-
def show
|
15
|
-
if params[:id].blank? or !["inbox","sentbox","trash"].include?params[:id]
|
16
|
-
redirect_to :action => :index
|
17
|
-
return
|
18
|
-
end
|
19
|
-
|
20
|
-
if params[:id].eql?"inbox"
|
21
|
-
@conversations = @mailbox.inbox.paginate(:per_page => 8, :page => params[:page])
|
22
|
-
elsif params[:id].eql?"sentbox"
|
23
|
-
@conversations = @mailbox.sentbox.paginate(:per_page => 8, :page => params[:page])
|
24
|
-
else
|
25
|
-
@conversations = @mailbox.trash.paginate(:per_page => 8, :page => params[:page])
|
26
|
-
end
|
27
|
-
end
|
28
|
-
|
29
|
-
private
|
30
|
-
|
31
|
-
def get_mailbox
|
32
|
-
@mailbox = current_subject.mailbox
|
33
|
-
end
|
34
|
-
|
35
|
-
end
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% content_for :headers, stylesheet_link_tag("menu", :media => "screen, projection") %>
|
2
|
-
|
3
|
-
<div class="center"><%= ties_to(@group) %></div>
|
4
|
-
|
5
|
-
<%= render :partial => 'logo' %>
|
6
|
-
<div class="space_center"></div>
|
7
|
-
<%= render :partial => 'menu/group' %>
|
8
|
-
<div class="space_center"></div>
|
9
|
-
<%= render :partial => 'tabs' %>
|
10
|
-
<div class="space_center"></div>
|
11
|
-
|
12
|
-
<%= render :partial => 'subjects/contacts', :locals => { :subject => @group } %>
|
@@ -1,23 +0,0 @@
|
|
1
|
-
<%= div_for (conversation) do %>
|
2
|
-
<h3>
|
3
|
-
<%= link_to(conversation.subject, mailbox_conversation_path(conversation.id,:box => params[:id])) %>
|
4
|
-
<% unless params[:id].present? and params[:id].eql?'trash' %>
|
5
|
-
<%= link_to ( image_tag('btn/btn_delete.png', :atl => "Delete", :title => "Delete"),
|
6
|
-
mailbox_conversation_path(conversation, :location => params[:id]),
|
7
|
-
:confirm => 'Do you want to move "' + conversation.subject + '" to trash?',
|
8
|
-
:method => :delete, :remote => true) %>
|
9
|
-
<% end %>
|
10
|
-
</h3>
|
11
|
-
<%= conversation.updated_at %>
|
12
|
-
<br>
|
13
|
-
<b>From:</b><br>
|
14
|
-
<%= link_to image_tag(conversation.last_sender.logo.url(:actor),
|
15
|
-
:title => conversation.last_sender.name, :alt => conversation.last_sender.name),
|
16
|
-
conversation.last_sender.subject
|
17
|
-
%><br>
|
18
|
-
<b>To:</b><br>
|
19
|
-
<% conversation.get_recipients.each do |recp| %>
|
20
|
-
<%next if Actor.normalize(conversation.last_sender)==Actor.normalize(recp)%>
|
21
|
-
<%= link_to image_tag(recp.logo.url(:tie), :atl => recp.name, :title => recp.name), recp.subject %>
|
22
|
-
<% end %><br>
|
23
|
-
<% end %>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<% content_for :headers, stylesheet_link_tag("message", :media => "screen, projection") %>
|
2
|
-
<hr>
|
3
|
-
<% @conversations.each do |conversation| %>
|
4
|
-
<br>
|
5
|
-
<%= render :partial => 'conversation', :object => conversation %>
|
6
|
-
<br>
|
7
|
-
<hr>
|
8
|
-
<% end %>
|
9
|
-
<%= will_paginate @conversations %>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
<br class="clearfloat" />
|
4
|
-
<div class="space_center">
|
5
|
-
</div>
|
6
|
-
|
7
|
-
<div id="new_message" ><%= link_to 'New Message', "" %></div>
|
8
|
-
<div class="space_center">
|
9
|
-
</div>
|
10
|
-
<div class="space_center">
|
11
|
-
</div>
|
12
|
-
<h1>Messages</h1>
|
13
|
-
<%= @mailbox.conversations.count.to_s %> conversations in total
|
14
|
-
<p><h3><%= link_to "Inbox", :action => :show, :id => "inbox" %></h3><%= "(" + @mailbox.inbox.count.to_s + " " + @mailbox.inbox[0].class.to_s + ")"%></p>
|
15
|
-
<p><h3><%= link_to "Sentbox", :action => :show, :id => "sentbox" %></h3><%= "(" + @mailbox.sentbox.count.to_s + " " + @mailbox.sentbox[0].class.to_s + ")"%></p>
|
16
|
-
<p><h3><%= link_to "Trash", :action => :show, :id => "trash" %></h3><%= "(" + @mailbox.trash.count.to_s + " " + @mailbox.trash[0].class.to_s + ")"%></p>
|
@@ -1,40 +0,0 @@
|
|
1
|
-
<%= div_for (conversation) do %>
|
2
|
-
<h2><%= conversation.subject %></h2>
|
3
|
-
<hr>
|
4
|
-
Actions: <%= link_to ( image_tag('btn/btn_delete.png', :atl => "Delete", :title => "Delete"),
|
5
|
-
mailbox_conversation_path(conversation, :location => 'conversation'),
|
6
|
-
:confirm => 'Do you want to move "' + conversation.subject + '" to trash?',
|
7
|
-
:method => :delete, :remote => true) %>
|
8
|
-
<hr>
|
9
|
-
<% conversation.get_recipients.each do |recp| %>
|
10
|
-
<%= link_to image_tag(recp.logo.url(:tie), :title=>recp.name, :alt => recp.name), recp.subject %>
|
11
|
-
<% end %><br>
|
12
|
-
|
13
|
-
<% @mails.each do |mail| %>
|
14
|
-
<hr><br>
|
15
|
-
<% message= mail.mailboxer_message %>
|
16
|
-
<%= link_to image_tag(message.sender.logo.url(:tie),:alt => message.sender.name,:title =>message.sender.name), message.sender.subject %><br>
|
17
|
-
<b><%= message.sender.name %></b> on <%= message.created_at %> said:<br>
|
18
|
-
<b><i><%= message.body %></i></b><br><br>
|
19
|
-
Debug:<br>
|
20
|
-
Message.Id: <%= message.id %><br>
|
21
|
-
Mail.Id: <%= mail.id %><br>
|
22
|
-
Mail.Type: <%= mail.mailbox_type %><br>
|
23
|
-
Message.Sender: <%= message.sender.class.to_s %>/<%= message.sender.id.to_s %><br><br>
|
24
|
-
<% end %>
|
25
|
-
<hr><br>
|
26
|
-
Write your answer:<br>
|
27
|
-
<% form_tag mailbox_conversation_path(conversation.id), :method => :put do %>
|
28
|
-
<div class="block">
|
29
|
-
<div class="form_row">
|
30
|
-
<%= label_tag :body %>
|
31
|
-
</div>
|
32
|
-
<div class="form_row">
|
33
|
-
<%= text_area_tag :body, nil,:rows =>6, :cols=> 53, :class => "required form_tag" %>
|
34
|
-
</div>
|
35
|
-
<div class="actions center">
|
36
|
-
<%= submit_tag "Reply", :name => :reply_all,:class => "button" %>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
<% end %>
|
40
|
-
<% end %>
|
@@ -1,54 +0,0 @@
|
|
1
|
-
<% content_for :headers do %>
|
2
|
-
<%= stylesheet_link_tag "fcbkComplete.css", :media => "screen, projection" %>
|
3
|
-
<%= javascript_include_tag 'jquery.fcbkcomplete.min','jquery.validate' %>
|
4
|
-
<% end %>
|
5
|
-
|
6
|
-
<% content_for :javascript do %>
|
7
|
-
$("#_recipients").fcbkcomplete({
|
8
|
-
json_url: "../../contacts/index.json",
|
9
|
-
cache: true,
|
10
|
-
filter_case: true,
|
11
|
-
filter_hide: true,
|
12
|
-
newel: false,
|
13
|
-
height: 6
|
14
|
-
});
|
15
|
-
<% end %>
|
16
|
-
<h1>New Message</h1>
|
17
|
-
<hr>
|
18
|
-
<%= form_tag mailbox_conversation_index_path, :method => :post do %>
|
19
|
-
<% if @conversation and @conversation.errors.any? %>
|
20
|
-
<div id="notice">
|
21
|
-
<h2><%= pluralize(@conversation.errors.count, "error") %> prohibited this message from being sent:</h2>
|
22
|
-
<ul>
|
23
|
-
<% @conversation.errors.full_messages.each do |msg| %>
|
24
|
-
<li>
|
25
|
-
<%= msg %>
|
26
|
-
</li>
|
27
|
-
<% end %>
|
28
|
-
</ul>
|
29
|
-
</div>
|
30
|
-
<% end %>
|
31
|
-
<div class="block">
|
32
|
-
<div class="form_row">
|
33
|
-
<%= label_tag :recipients %>
|
34
|
-
</div>
|
35
|
-
<div class="form_row">
|
36
|
-
<%= select_tag :_recipients, "", :class => "form_tag" %>
|
37
|
-
</div>
|
38
|
-
<div class="form_row">
|
39
|
-
<%= label_tag :subject %>
|
40
|
-
</div>
|
41
|
-
<div class="form_row">
|
42
|
-
<%= text_field_tag :subject,nil, :class => "required form_tag" %>
|
43
|
-
</div>
|
44
|
-
<div class="form_row">
|
45
|
-
<%= label_tag :body %>
|
46
|
-
</div>
|
47
|
-
<div class="form_row">
|
48
|
-
<%= text_area_tag :body, nil,:rows =>6, :cols=> 53, :class => "required form_tag" %>
|
49
|
-
</div>
|
50
|
-
<div class="actions center">
|
51
|
-
<%= submit_tag "Send Message", :name => :send_message,:class => "button" %>
|
52
|
-
</div>
|
53
|
-
</div>
|
54
|
-
<% end %>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<% content_for :sidebar do %>
|
2
|
-
<%#= render :partial => 'home/sidebar' %>
|
3
|
-
<% end %>
|
4
|
-
|
5
|
-
<% toolbar_menu(:mailbox) do %>
|
6
|
-
<%= render :partial => 'mailbox/menu_options' %>
|
7
|
-
<% end %>
|
8
|
-
|
9
|
-
<%= render :partial => 'location' %>
|
10
|
-
<br class="clearfloat" />
|
11
|
-
<div class="space_center">
|
12
|
-
</div>
|
13
|
-
<div id="new_message">
|
14
|
-
<% if params[:box].present? %>
|
15
|
-
<%= link_to 'Back', mailbox_path(:id => params[:box]) %>
|
16
|
-
<% else %>
|
17
|
-
<%= link_to 'Back', mailbox_index_path %>
|
18
|
-
<% end %>
|
19
|
-
</div>
|
20
|
-
<div class="space_center">
|
21
|
-
</div>
|
22
|
-
<div class="space_center">
|
23
|
-
</div>
|
24
|
-
<div id="conversation">
|
25
|
-
<% content_for :headers, stylesheet_link_tag("message", :media => "screen, projection") %>
|
26
|
-
<%= render :partial => 'conversation', :locals =>{:conversation => @conversation} %>
|
27
|
-
</div>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<% content_for :sidebar do %>
|
2
|
-
<%#= render :partial => 'home/sidebar' %>
|
3
|
-
<% end %>
|
4
|
-
|
5
|
-
<% toolbar_menu(:mailbox) do %>
|
6
|
-
<%= render :partial => 'mailbox/menu_options' %>
|
7
|
-
<% end %>
|
8
|
-
|
9
|
-
<%= render :partial => 'mailbox/location' %>
|
10
|
-
<%= render :partial => 'new' %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= render :partial => 'show' %>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
<% content_for :sidebar do %>
|
2
|
-
<%= render :partial => 'home/sidebar' %>
|
3
|
-
<% end %>
|
4
|
-
|
5
|
-
<% content_for :toolbar do %>
|
6
|
-
<%= render :partial => "home/toolbar" %>
|
7
|
-
<% end %>
|
8
|
-
|
9
|
-
|
10
|
-
<h1>New message</h1>
|
11
|
-
|
12
|
-
<%= render 'form' %>
|
13
|
-
|
14
|
-
<%= link_to 'Back', messages_path %>
|
@@ -1,14 +0,0 @@
|
|
1
|
-
|
2
|
-
<ul class="menu noaccordion">
|
3
|
-
<%= content_for?(:menu_mailbox) ? content_for(:menu_mailbox) : capture do %>
|
4
|
-
<li>
|
5
|
-
<%= link_to( image_tag("btn/btn_inbox.png", :class => "menu_icon")+t('mailbox.mailbox'), mailbox_index_path) %>
|
6
|
-
</li>
|
7
|
-
<% end %>
|
8
|
-
<li>
|
9
|
-
<%= link_to( image_tag("btn/btn_friend.png", :class => "menu_icon")+t('contact.other'), '#') %>
|
10
|
-
</li>
|
11
|
-
<li>
|
12
|
-
<%= link_to( image_tag("btn/btn_group.png", :class => "menu_icon")+t('group.new.action'), new_group_path) %>
|
13
|
-
</li>
|
14
|
-
</ul>
|
@@ -1,15 +0,0 @@
|
|
1
|
-
<% content_for :headers, stylesheet_link_tag("menu", :media => "screen, projection") %>
|
2
|
-
|
3
|
-
<div id="logo_index" class="block">
|
4
|
-
<b><%= link_to(current_subject.name, current_subject)%></b><br/>
|
5
|
-
<%= link_to(image_tag(current_subject.logo.url(:profile) , :alt => current_subject.name ), current_subject ) %>
|
6
|
-
</div>
|
7
|
-
<div class="space_center">
|
8
|
-
</div>
|
9
|
-
<div class="menu_header"><b><%=t('menu.options')%></b>
|
10
|
-
</div>
|
11
|
-
<div id="menu_lateral">
|
12
|
-
<%= render :partial => "subjects/menu_options" %>
|
13
|
-
</div>
|
14
|
-
<div class="space_center">
|
15
|
-
</div>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<% content_for :headers, stylesheet_link_tag("menu", :media => "screen, projection") %>
|
2
|
-
|
3
|
-
<%= render :partial => 'logo' %>
|
4
|
-
|
5
|
-
<div class="block space_center">
|
6
|
-
</div>
|
7
|
-
<%= render :partial => 'menu/user' %>
|
8
|
-
<div class="block space_center">
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<%= render :partial => 'subjects/contacts', :locals => { :subject => @user } %>
|
12
|
-
|
13
|
-
<div class="block space_center">
|
14
|
-
</div>
|
15
|
-
<div class="block space_center">
|
16
|
-
</div>
|
17
|
-
|