social_stream 0.9.2 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. data/.gitignore +1 -0
  2. data/base/app/assets/images/arrow-end.png +0 -0
  3. data/base/app/assets/images/arrow-start.png +0 -0
  4. data/base/app/assets/images/arrow.png +0 -0
  5. data/base/app/assets/javascripts/layouts.js +0 -1
  6. data/base/app/assets/stylesheets/frontpage.css +2 -2
  7. data/base/app/assets/stylesheets/location.css +36 -0
  8. data/base/app/helpers/location_helper.rb +3 -5
  9. data/base/app/helpers/toolbar_helper.rb +5 -6
  10. data/base/app/views/avatars/index.html.erb +2 -2
  11. data/base/app/views/contacts/edit.html.erb +2 -2
  12. data/base/app/views/conversations/_show.html.erb +2 -2
  13. data/base/app/views/conversations/index.html.erb +1 -3
  14. data/base/app/views/devise/registrations/edit.html.erb +1 -1
  15. data/base/app/views/frontpage/_header.html.erb +1 -1
  16. data/base/app/views/home/index.html.erb +1 -2
  17. data/base/app/views/invitation_mailer/send_invitation.html.erb +1 -1
  18. data/base/app/views/invitation_mailer/send_invitation.text.erb +2 -2
  19. data/base/app/views/invitations/new.html.erb +1 -1
  20. data/base/app/views/layouts/_footer.html.erb +1 -1
  21. data/base/app/views/layouts/_header.erb +1 -1
  22. data/base/app/views/layouts/application.html.erb +1 -1
  23. data/base/app/views/layouts/frontpage.html.erb +1 -1
  24. data/base/app/views/location/_location_body.html.erb +18 -0
  25. data/base/app/views/message_mailer/new_message_email.html.erb +2 -2
  26. data/base/app/views/message_mailer/new_message_email.text.erb +1 -1
  27. data/base/app/views/message_mailer/reply_message_email.html.erb +2 -2
  28. data/base/app/views/message_mailer/reply_message_email.text.erb +1 -1
  29. data/base/app/views/messages/new.html.erb +2 -2
  30. data/base/app/views/profiles/edit.html.erb +6 -6
  31. data/base/app/views/profiles/show.html.erb +1 -2
  32. data/base/app/views/users/index.html.erb +1 -1
  33. data/base/app/views/users/show.html.erb +1 -2
  34. data/base/config/locales/en.yml +7 -6
  35. data/base/lib/social_stream-base.rb +4 -1
  36. data/base/lib/social_stream/base.rb +6 -0
  37. data/base/lib/social_stream/base/version.rb +1 -1
  38. data/base/lib/social_stream/toolbar_config/base.rb +87 -0
  39. data/base/lib/tasks/workers.rake +163 -0
  40. data/documents/app/assets/stylesheets/documents.css +5 -0
  41. data/documents/app/models/audio.rb +2 -7
  42. data/documents/app/models/video.rb +2 -7
  43. data/documents/app/views/audios/_audio.html.erb +7 -42
  44. data/documents/app/views/audios/_audio_processed.html.erb +47 -0
  45. data/documents/app/views/audios/_audio_processing.html.erb +7 -0
  46. data/documents/app/views/common-documents/_index.html.erb +3 -3
  47. data/documents/app/views/videos/_video.html.erb +5 -46
  48. data/documents/app/views/videos/_video_processed.html.erb +49 -0
  49. data/documents/app/views/videos/_video_processing.html.erb +7 -0
  50. data/documents/config/locales/en.yml +2 -0
  51. data/documents/db/migrate/20110922173707_add_file_processing_to_document.rb +9 -0
  52. data/documents/lib/social_stream-documents.rb +5 -0
  53. data/documents/lib/social_stream/documents/engine.rb +5 -0
  54. data/documents/lib/social_stream/toolbar_config/documents.rb +40 -0
  55. data/documents/social_stream-documents.gemspec +2 -0
  56. data/events/lib/social_stream-events.rb +6 -1
  57. data/events/lib/social_stream/events/engine.rb +5 -2
  58. data/events/lib/social_stream/toolbar_config/events.rb +40 -0
  59. data/lib/social_stream/version.rb +1 -1
  60. data/social_stream.gemspec +1 -1
  61. data/social_stream.thor +110 -0
  62. metadata +22 -33
  63. data/base/lib/social_stream/toolbar_config.rb +0 -99
  64. data/events/app/views/users/index.html.erb +0 -46
  65. data/spec/dummy/documents/pictures/000/000/009/original.png +0 -0
  66. data/spec/dummy/documents/pictures/000/000/009/thumb.png +0 -0
  67. data/spec/dummy/documents/pictures/000/000/009/thumb0.png +0 -0
  68. data/spec/dummy/documents/pictures/000/000/010/original.png +0 -0
  69. data/spec/dummy/documents/pictures/000/000/010/thumb.png +0 -0
  70. data/spec/dummy/documents/pictures/000/000/010/thumb0.png +0 -0
  71. data/spec/dummy/documents/pictures/000/000/011/original.png +0 -0
  72. data/spec/dummy/documents/pictures/000/000/011/thumb.png +0 -0
  73. data/spec/dummy/documents/pictures/000/000/011/thumb0.png +0 -0
  74. data/spec/dummy/documents/pictures/000/000/012/original.png +0 -0
  75. data/spec/dummy/documents/pictures/000/000/012/thumb.png +0 -0
  76. data/spec/dummy/documents/pictures/000/000/012/thumb0.png +0 -0
  77. data/spec/dummy/documents/pictures/000/000/013/original.png +0 -0
  78. data/spec/dummy/documents/pictures/000/000/013/thumb.png +0 -0
  79. data/spec/dummy/documents/pictures/000/000/013/thumb0.png +0 -0
  80. data/spec/dummy/documents/pictures/000/000/014/original.png +0 -0
  81. data/spec/dummy/documents/pictures/000/000/014/thumb.png +0 -0
  82. data/spec/dummy/documents/pictures/000/000/014/thumb0.png +0 -0
  83. data/spec/dummy/documents/pictures/000/000/015/original.png +0 -0
  84. data/spec/dummy/documents/pictures/000/000/015/thumb.png +0 -0
  85. data/spec/dummy/documents/pictures/000/000/015/thumb0.png +0 -0
  86. data/spec/dummy/documents/pictures/000/000/016/original.png +0 -0
  87. data/spec/dummy/documents/pictures/000/000/016/thumb.png +0 -0
  88. data/spec/dummy/documents/pictures/000/000/016/thumb0.png +0 -0
data/.gitignore CHANGED
@@ -10,3 +10,4 @@ nbproject
10
10
  .yardoc/*
11
11
  lib/generators/social_stream/templates/public/images/tmp/
12
12
  **.*swp
13
+ spec/dummy/documents/pictures/*
Binary file
@@ -4,7 +4,6 @@
4
4
  //
5
5
  $(function() {
6
6
  jQuery('ul.sf-menu').superfish({
7
- delay: 2000, // one second delay on mouseout
8
7
  animation: {
9
8
  height: 'show'
10
9
  }, // fade-in and slide-down animation
@@ -19,8 +19,8 @@ span.find{ padding-right:5px;}
19
19
  #login{ padding-top: 5px;}
20
20
  .instructions{text-align: left; padding-bottom: 5px;}
21
21
  #remember{padding-left:22%; text-align: left;}
22
- #user_password_confirmation{vertical-align: 30%;}
23
- #user_password_confirmation_label {padding-top: 0;}
22
+ #welcome #user_password_confirmation{vertical-align: 30%;}
23
+ #welcome #user_password_confirmation_label {padding-top: 0;}
24
24
  #welcome{ margin: 50px auto 50px auto; width:330px; padding:20px; border: 4px solid #BDC7D8;
25
25
  background-color: white;-moz-border-radius: 20px;
26
26
  -webkit-border-radius: 20px; border-radius: 20px;}
@@ -0,0 +1,36 @@
1
+ #map_location .first{
2
+ background: transparent url("/assets/arrow-start.png") no-repeat top left;
3
+ display: inline-block;
4
+ height: 23px;
5
+ margin-left: 5px;
6
+ }
7
+ #map_location .first span{
8
+ margin-left:5px;
9
+ }
10
+ #map_location .last{
11
+ margin-left: 5px;
12
+ }
13
+ #map_location .last a{
14
+ font-size: inherit;
15
+ }
16
+ #map_location .mid{
17
+ background: transparent url("/assets/arrow.png") no-repeat top right;
18
+ }
19
+ #map_location .penultimate{
20
+ background: transparent url("/assets/arrow-end.png") no-repeat top right;
21
+ }
22
+ #map_location .mid, #map_location .penultimate{
23
+ color: white;
24
+ padding-left:5px;
25
+ padding-right: 12px;
26
+ }
27
+ #map_location .last, #map_location .mid, #map_location .penultimate{
28
+ display: inline-block;
29
+ font-size: 13px;
30
+ height: 23px;
31
+ line-height: 23px;
32
+ }
33
+ #map_location .mid a, #map_location .penultimate a{
34
+ color: inherit;
35
+ font-size: inherit;
36
+ }
@@ -16,15 +16,13 @@ module LocationHelper
16
16
  # partial => location/_location.html.erb
17
17
  #
18
18
  # Example:
19
- # Render a location with a two leves depth:
19
+ # Render a location with two leves depth:
20
20
  #
21
21
  # <%= location(link_to(leve1.name, level1.url),link_to(leve2.name, level2.url)) %>
22
22
  #
23
23
  def location(*stack)
24
- location_body = t('location.base')
25
- stack.collect {|level|
26
- location_body << t('location.separator') + level
27
- }
24
+
25
+ location_body = render :partial => "location/location_body", :locals=>{:stack => stack}
28
26
 
29
27
  location_div = capture do
30
28
  render :partial => "location/location", :locals=>{:location_body => location_body}
@@ -1,4 +1,7 @@
1
1
  module ToolbarHelper
2
+ # Configuration of toolbar items
3
+ include SocialStream::ToolbarConfig
4
+
2
5
  # Define the toolbar content for your view. There are two typical cases, depending on the value of
3
6
  # options[:profile]
4
7
  # * If present, render the profile menu for the {SocialStream::Models::Subject subject}
@@ -82,21 +85,17 @@ module ToolbarHelper
82
85
 
83
86
  #Prints the home toolbar menu.
84
87
  def home_toolbar_menu
85
- default_home_toolbar_menu
88
+ render_items home_toolbar_items
86
89
  end
87
90
 
88
91
  #Prints the home profile menu.
89
92
  def profile_toolbar_menu(subject=current_subject)
90
- default_profile_toolbar_menu(subject)
93
+ render_items profile_toolbar_items(subject)
91
94
  end
92
95
 
93
-
94
96
  #Renders array of navigation items with simple_navigation
95
97
  def render_items(items)
96
98
  menu = render_navigation :items => items
97
99
  return raw menu
98
100
  end
99
-
100
-
101
- include SocialStream::ToolbarConfig
102
101
  end
@@ -21,8 +21,8 @@
21
21
  <% end %>
22
22
 
23
23
  <%= location(
24
- link_to(image_tag("btn/btn_edit.png", :class => "menu_icon")+t('profile.one'), [current_subject,:profile]),
25
- link_to(image_tag("btn/edit.png", :class => "menu_icon")+t('avatar.other'), avatars_path)
24
+ link_to(t('menu.information'), [current_subject,:profile]),
25
+ link_to(t('avatar.other'), avatars_path)
26
26
  ) %>
27
27
 
28
28
  <%= render :partial => 'list' %>
@@ -1,6 +1,6 @@
1
1
  <% toolbar :profile => @contact.receiver_subject, :option => 'contacts' %>
2
2
 
3
- <% location link_to(image_tag("btn/btn_friend.png", :class => "menu_icon") +
4
- t("contact.#{ @contact.action }.title", :name => @contact.receiver.name), edit_contact_path(@contact.to_param)) %>
3
+ <% location link_to(t("contact.#{ @contact.action }.title", :name => @contact.receiver.name),
4
+ edit_contact_path(@contact.to_param)) %>
5
5
 
6
6
  <%= render :partial => 'form' %>
@@ -1,6 +1,6 @@
1
1
  <%= location(
2
- link_to(image_tag("btn/message_" + @box + ".png", :class => "menu_icon")+t('message.' + @box), conversations_path(:box => @box),:remote => true),
3
- link_to(image_tag("btn/message_conversation.png", :class => "menu_icon")+ truncate(@conversation.subject, :length => 45), conversation_path(@conversation.id,:box => @box,:page => params[:page]))
2
+ link_to(t('message.' + @box), conversations_path(:box => @box),:remote => true),
3
+ link_to(truncate(@conversation.subject, :length => 45), conversation_path(@conversation.id,:box => @box,:page => params[:page]))
4
4
  ) %>
5
5
 
6
6
  <br class="clearfloat" />
@@ -10,9 +10,7 @@
10
10
  $('.pagination a').attr('data-remote', 'true');
11
11
  <% end %>
12
12
 
13
- <%= location(
14
- link_to(image_tag("btn/message_" + @box + ".png", :class => "menu_icon")+t('message.' + @box), conversations_path(:box => @box),:remote => true)
15
- ) %>
13
+ <%= location(link_to(t('message.' + @box), conversations_path(:box => @box),:remote => true)) %>
16
14
 
17
15
  <% toolbar :option => :messages %>
18
16
 
@@ -1,6 +1,6 @@
1
1
  <% toolbar :profile => current_subject %>
2
2
 
3
- <%= location(image_tag("btn/btn_account.png", :class => "menu_icon")+t('account.one'),
3
+ <%= location(t('account.one'),
4
4
  link_to(t('account.edit'), edit_user_registration_path)
5
5
  ) %>
6
6
 
@@ -1,6 +1,6 @@
1
1
  <div id="headerFront">
2
2
  <div class="banner_top">
3
- <div id="logo"><%= link_to(image_tag('logo.png', :alt => t('socialstream')), '/'); %></div>
3
+ <div id="logo"><%= link_to(image_tag('logo.png', :alt => t('site.name')), '/'); %></div>
4
4
  <div class="div_login">
5
5
  <%= form_for User.new, :as => :user, :url => user_session_path do |f| -%>
6
6
  <span><%= f.label :email %></span>
@@ -2,8 +2,7 @@
2
2
  <% render :partial => 'sidebar' %>
3
3
  <% end %>
4
4
 
5
- <%= location(link_to(image_tag("btn/btn_home.png", :class => "btn_config")+t('home')+": "+
6
- content_tag(:span, ( sanitize current_subject.name), :class=>"name_group")))%>
5
+ <%= location(link_to(t('home')+": "+ truncate_name(sanitize current_subject.name)))%>
7
6
 
8
7
  <% toolbar %>
9
8
 
@@ -7,7 +7,7 @@
7
7
  <div>
8
8
  <div>
9
9
  <div style="padding: 10px 5px 5px 5px;">
10
- <span id="name" style="font-weight: bold;"><%= @sender.name %></span> has invited you to <%= link_to( t('socialstream'), new_user_registration_url)%>
10
+ <span id="name" style="font-weight: bold;"><%= @sender.name %></span> has invited you to <%= link_to( t('site.name'), new_user_registration_url)%>
11
11
  </div>
12
12
  <div style="position: static;padding: 5px; border: #2A3890 solid 2px; background-color: #E1EEF5; margin:10px; min-height: 125px; width: 500px;">
13
13
  <div style="float:left; margin-right:7px; border: thin solid #D4E4EA; background-color: white; max-height: 119px;">
@@ -1,4 +1,4 @@
1
- <%= @sender.name %> has invited you to <%= t('socialstream')%>: <%= new_user_registration_url%>
1
+ <%= @sender.name %> has invited you to <%= t('site.name')%>: <%= new_user_registration_url%>
2
2
 
3
3
  <% if @message.blank? %>
4
4
  <%= t('invitation.join_me')%>
@@ -17,4 +17,4 @@
17
17
 
18
18
  <%= t('frontpage.collaborate.default')%>:
19
19
  <%= t('frontpage.collaborate.sentence1') %>
20
- <%= t('frontpage.collaborate.sentence2') %>
20
+ <%= t('frontpage.collaborate.sentence2') %>
@@ -5,7 +5,7 @@
5
5
  <% end %>
6
6
 
7
7
  <%= location(
8
- link_to(image_tag("btn/btn_invitation.png", :class => "menu_icon")+t('invitation.other'), new_invitation_path)
8
+ link_to(t('invitation.other'), new_invitation_path)
9
9
  ) %>
10
10
 
11
11
  <%= render :partial => 'new' %>
@@ -7,7 +7,7 @@
7
7
  </div>
8
8
  <ul>
9
9
  <li>2011 © </li>
10
- <li id="trade_mark"><%= link_to t('socialstream'), 'http://social-stream.dit.upm.es/' %></li>
10
+ <li id="trade_mark"><%= link_to t('site.name'), 'http://social-stream.dit.upm.es/' %></li>
11
11
  </ul>
12
12
  </div>
13
13
  </div>
@@ -2,7 +2,7 @@
2
2
  <div class="banner_top banner_top_height">
3
3
  <div id="header_left">
4
4
  <div id="logo_txt">
5
- <%= link_to(image_tag('header-logo.png', :alt => t('socialstream')), root_path) %> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
5
+ <%= link_to(image_tag('header-logo.png', :alt => t('site.name')), root_path) %> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
6
6
  </div>
7
7
  <% if user_signed_in? %>
8
8
  <div class="menu_list menu_white" id="menu_home">
@@ -3,7 +3,7 @@
3
3
  <html lang="en">
4
4
  <head>
5
5
  <meta charset="utf-8">
6
- <title><%= yield(:title).empty? ? t('socialstream') : yield(:title)%></title>
6
+ <title><%= yield(:title).empty? ? t('site.name') : yield(:title)%></title>
7
7
  <meta name="keywords" content="<%= t('profile.tags.default') %><%= yield(:keywords) %>" >
8
8
  <meta name="description" content= "<%= yield(:description).empty? ? t('frontpage.main_title') : yield(:description) %>" >
9
9
 
@@ -3,7 +3,7 @@
3
3
  <html lang="en">
4
4
  <head>
5
5
  <meta charset="utf-8">
6
- <title><%= yield(:title).empty? ? t('socialstream') : yield(:title)%></title>
6
+ <title><%= yield(:title).empty? ? t('site.name') : yield(:title)%></title>
7
7
  <meta name="keywords" content="<%= yield(:keywords).empty? ? t('profile.tags.default') : yield(:keywords) %>" >
8
8
  <meta name="description" content= "<%= yield(:description).empty? ? "Home" : yield(:description) %>" >
9
9
  <%= stylesheet_link_tag "application" %>
@@ -0,0 +1,18 @@
1
+
2
+ <% aux='<div class="last">' + stack.last + '</div>' %>
3
+ <% if stack.count >1 %>
4
+ <% aux.insert(0, '<div class="penultimate">'+ stack.last(2).first + '</div>') %>
5
+ <% end %>
6
+
7
+ <% if stack.count >2 %>
8
+ <% stack.first(stack.count - 2).reverse.collect {|level|
9
+ aux.insert(0, '<div class="mid">'+ level + '</div>')
10
+ } %>
11
+ <% end %>
12
+
13
+ <% if stack.count ==1 %>
14
+ <% aux.insert(0, '<div class="first"><span class="penultimate">'+ t('location.base') + '</span></div>') %>
15
+ <% else %>
16
+ <% aux.insert(0, '<div class="first"><span class="mid">'+ t('location.base') + '</span></div>') %>
17
+ <% end%>
18
+ <%= raw aux %>
@@ -27,9 +27,9 @@
27
27
  </div>
28
28
  <div style="padding: 10px 5px 5px 5px;">
29
29
  <p>
30
- <%= link_to((t('message.look')+" at "+t('socialstream')), conversation_url(@message.conversation))%>
30
+ <%= link_to((t('message.look')+" at "+t('site.name')), conversation_url(@message.conversation))%>
31
31
  </p>
32
32
  </div>
33
33
  </div>
34
34
  </body>
35
- </html>
35
+ </html>
@@ -5,4 +5,4 @@
5
5
  <%= @message.body.html_safe? ? @message.body : strip_tags(@message.body) %>
6
6
  -----------------------------------------------
7
7
 
8
- <%=t('message.look')%> at <%= t('socialstream')%>: <%=conversation_url(@message.conversation)%>.
8
+ <%=t('message.look')%> at <%= t('site.name')%>: <%=conversation_url(@message.conversation)%>.
@@ -27,9 +27,9 @@
27
27
  </div>
28
28
  <div style="padding: 10px 5px 5px 5px;">
29
29
  <p>
30
- <%= link_to t('message.look'), conversation_url(@message.conversation)%> at <%= t('socialstream')%>
30
+ <%= link_to t('message.look'), conversation_url(@message.conversation)%> at <%= t('site.name')%>
31
31
  </p>
32
32
  </div>
33
33
  </div>
34
34
  </body>
35
- </html>
35
+ </html>
@@ -5,4 +5,4 @@
5
5
  "<%= @message.body.html_safe? ? @message.body : strip_tags(@message.body) %>"
6
6
  -----------------------------------------------
7
7
 
8
- <%=t('message.look')%> at <%= t('socialstream')%>: <%=conversation_url(@message.conversation)%>.
8
+ <%=t('message.look')%> at <%= t('site.name')%>: <%=conversation_url(@message.conversation)%>.
@@ -8,8 +8,8 @@
8
8
  <% toolbar :option => :messages %>
9
9
 
10
10
  <%= location(
11
- link_to(image_tag("btn/new.png", :class => "menu_icon")+t('message.other'), conversations_path,:remote => true),
12
- link_to(image_tag("btn/message_new.png", :class => "menu_icon")+ t('message.new'), new_message_path, :remote => true)
11
+ link_to(t('message.other'), conversations_path,:remote => true),
12
+ link_to(t('message.new'), new_message_path, :remote => true)
13
13
  ) %>
14
14
 
15
15
  <% content_for :javascript do %>
@@ -7,25 +7,25 @@
7
7
  <%if params[:section].present?
8
8
  case params[:section]
9
9
  when "about_me"
10
- level2 = link_to(image_tag("btn/edit.png", :class => "menu_icon")+t('profile.' + current_subject.class.to_s.downcase + '.info'),
10
+ level2 = link_to( t('profile.' + current_subject.class.to_s.downcase + '.info'),
11
11
  :controller => :profiles , :action => :edit, :section => "about_me")
12
12
  when "contact_info"
13
- level2 = link_to(image_tag("btn/edit.png", :class => "menu_icon")+t('profile.contact'),
13
+ level2 = link_to(t('profile.contact'),
14
14
  :controller => :profiles , :action => :edit, :section => "contact_info")
15
15
  when "my_experience"
16
- level2 = link_to(image_tag("btn/edit.png", :class => "menu_icon")+t('profile.' + current_subject.class.to_s.downcase + '.experience'),
16
+ level2 = link_to(t('profile.' + current_subject.class.to_s.downcase + '.experience'),
17
17
  :controller => :profiles , :action => :edit, :section => "my_experience")
18
18
  when "tags"
19
- level2 = link_to(image_tag("btn/edit.png", :class => "menu_icon")+t('profile.' + current_subject.class.to_s.downcase + '.tags'),
19
+ level2 = link_to(t('profile.' + current_subject.class.to_s.downcase + '.tags'),
20
20
  :controller => :profiles , :action => :edit, :section => "tags")
21
21
  end
22
22
  else
23
- level2 = link_to(image_tag("btn/edit.png", :class => "menu_icon")+t('profile.one'),
23
+ level2 = link_to(t('profile.one'),
24
24
  :controller => :profiles , :action => :edit)
25
25
  end %>
26
26
 
27
27
  <%= location(
28
- link_to(image_tag("btn/btn_edit.png", :class => "menu_icon")+t('menu.information'), [current_subject, :profile]),
28
+ link_to(t('menu.information'), [current_subject, :profile]),
29
29
  level2
30
30
  ) %>
31
31
  <div class="space_center"></div>
@@ -18,8 +18,7 @@
18
18
  <% toolbar :profile => @profile.subject %>
19
19
 
20
20
 
21
- <%= location(link_to(image_tag("btn/btn_edit.png", :class => "menu_icon")+t('menu.information'),
22
- [@profile.subject, :profile])) %>
21
+ <%= location(link_to(t('menu.information'), [@profile.subject, :profile])) %>
23
22
 
24
23
 
25
24
  <%= render :partial => "profile" %>
@@ -8,7 +8,7 @@
8
8
  <%= render :partial => "users/sidebar_index" %>
9
9
  <% end %>
10
10
 
11
- <%= location(image_tag("btn/btn_browse.png", :class=>"btn_config") + t('browse') +": "+
11
+ <%= location(t('browse') +": "+
12
12
  content_tag(:b ,content_tag(:span, t('user.other'), :id=>'name_group')) + ", "+
13
13
  link_to(t('group.by'),groups_path))%>
14
14
 
@@ -16,8 +16,7 @@
16
16
  <%= render :partial => 'sidebar_index' %>
17
17
  <% end %>
18
18
 
19
- <%= location(link_to(image_tag("btn/btn_profile.png", :class => "btn_config")+t('profile.one')+": "+
20
- content_tag(:span, ( truncate_name sanitize @user.name), :class=>"name_group")))%>
19
+ <%= location(link_to(t('profile.one')+": "+truncate_name(sanitize @user.name)))%>
21
20
 
22
21
  <% toolbar :profile => @user %>
23
22
 
@@ -152,7 +152,7 @@ en:
152
152
  participants: "Participants"
153
153
  groups: "Groups"
154
154
  tags: "Tags"
155
- main_title: "SocialStream is a core for building social network websites."
155
+ main_title: "Social Stream is a core for building social network websites."
156
156
  meet:
157
157
  default: "Meet"
158
158
  sentence1: "Meet interesting people and groups"
@@ -195,9 +195,9 @@ en:
195
195
  invitation:
196
196
  e-mails: "E-mail addresses"
197
197
  error: "Your request was unprocessable"
198
- invited: " has invited you to SocialStream!"
199
- join: "Invite other people to join SocialStream!"
200
- join_me: "Join me at SocialStream!"
198
+ invited: " has invited you to Social Stream!"
199
+ join: "Invite other people to join Social Stream!"
200
+ join_me: "Join me at Social Stream!"
201
201
  one: "Invitation"
202
202
  other: "Invitations"
203
203
  toolbar: "Invite"
@@ -371,7 +371,8 @@ en:
371
371
  sign_in: "Sign in"
372
372
  sign_out: "Sign out"
373
373
  sign_up: "Sign up"
374
- socialstream: "SocialStream"
374
+ site:
375
+ name: "Social Stream"
375
376
  subject:
376
377
  this_is_you: "This is you!"
377
378
  sure: "Are you sure?"
@@ -383,5 +384,5 @@ en:
383
384
  other: "Users"
384
385
  all: "All users"
385
386
  all_n: "All users (%{count})"
386
- welcome: "Welcome to SocialStream!"
387
+ welcome: "Welcome to Social Stream!"
387
388