social_stream 0.14.1 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (140) hide show
  1. data/base/app/assets/images/btn/btn_play.png +0 -0
  2. data/base/app/assets/stylesheets/messages.css.scss +4 -2
  3. data/base/app/models/activity_object.rb +5 -0
  4. data/base/app/views/activity_objects/_activity_object.html.erb +1 -1
  5. data/base/app/views/groups/_show.html.erb +5 -3
  6. data/base/app/views/notifications/activities/_like.html.erb +1 -1
  7. data/base/app/views/notifications/activities/_like.text.erb +1 -1
  8. data/base/app/views/posts/_post_global_search.html.erb +2 -2
  9. data/base/app/views/users/_show.html.erb +6 -3
  10. data/base/config/locales/en.yml +3 -1
  11. data/base/config/locales/es.yml +1 -0
  12. data/base/lib/generators/social_stream/base/templates/relations.yml +0 -13
  13. data/base/lib/social_stream/base/version.rb +1 -1
  14. data/base/social_stream-base.gemspec +0 -2
  15. data/base/spec/dummy/config/relations.yml +0 -13
  16. data/documents/app/views/common_documents/_show.html.erb +1 -1
  17. data/documents/lib/social_stream/documents/version.rb +1 -1
  18. data/documents/social_stream-documents.gemspec +1 -1
  19. data/events/README.rdoc +1 -4
  20. data/events/app/assets/javascripts/social_stream-events.js +0 -4
  21. data/events/app/assets/stylesheets/social_stream-events.css +0 -273
  22. data/events/config/locales/en.yml +0 -115
  23. data/events/config/locales/es.yml +0 -115
  24. data/events/config/routes.rb +0 -28
  25. data/events/db/migrate/20111209120019_reset_events.rb +18 -0
  26. data/events/lib/social_stream/events/engine.rb +0 -5
  27. data/events/lib/social_stream/events/version.rb +1 -1
  28. data/events/lib/social_stream-events.rb +0 -18
  29. data/events/social_stream-events.gemspec +1 -1
  30. data/lib/social_stream/version.rb +1 -1
  31. data/linkser/app/assets/javascripts/linkser.js.erb +59 -0
  32. data/linkser/app/assets/javascripts/social_stream-linkser.js +2 -1
  33. data/linkser/app/assets/stylesheets/linkser.css.scss +19 -0
  34. data/linkser/app/controllers/linkser_controller.rb +1 -8
  35. data/linkser/app/models/link.rb +17 -9
  36. data/linkser/app/views/links/_link.html.erb +15 -2
  37. data/linkser/app/views/links/_link_preview.html.erb +3 -0
  38. data/linkser/lib/social_stream/linkser/version.rb +1 -1
  39. data/linkser/social_stream-linkser.gemspec +1 -1
  40. data/presence/ejabberd/ejabberd_files.zip +0 -0
  41. data/presence/ejabberd/ejabberd_scripts/set_script_header.sh +112 -0
  42. data/presence/ejabberd/installer.sh +267 -0
  43. data/presence/ejabberd/mod_sspresence/mod_sspresence.beam +0 -0
  44. data/presence/ejabberd/mod_sspresence/mod_sspresence.erl +29 -101
  45. data/presence/lib/generators/social_stream/presence/install_generator.rb +1 -1
  46. data/presence/lib/generators/social_stream/presence/templates/initializer.rb +6 -4
  47. data/presence/lib/social_stream/presence/xmpp_server_order.rb +119 -4
  48. data/presence/lib/social_stream-presence.rb +2 -1
  49. data/presence/lib/tasks/presence/installer.rake +100 -0
  50. data/presence/social_stream-presence.gemspec +2 -0
  51. data/social_stream.gemspec +4 -4
  52. data/spec/dummy/config/relations.yml +0 -13
  53. metadata +22 -104
  54. data/events/GPL Affero license +0 -663
  55. data/events/app/assets/images/btn/btn_certificate.png +0 -0
  56. data/events/app/assets/images/btn/btn_certificates.png +0 -0
  57. data/events/app/assets/images/btn/btn_edit.png +0 -0
  58. data/events/app/assets/images/btn/btn_embebed.png +0 -0
  59. data/events/app/assets/images/btn/btn_event.png +0 -0
  60. data/events/app/assets/images/btn/btn_outline.png +0 -0
  61. data/events/app/assets/images/btn/event.png +0 -0
  62. data/events/app/assets/images/btn/flyer.png +0 -0
  63. data/events/app/assets/images/btn/keynote.png +0 -0
  64. data/events/app/assets/images/btn/live.png +0 -0
  65. data/events/app/assets/images/btn/time.png +0 -0
  66. data/events/app/assets/images/btn/trash.png +0 -0
  67. data/events/app/assets/images/frontpage/thumbs/tvideo_1_happy.jpg +0 -0
  68. data/events/app/assets/images/frontpage/thumbs/tvideo_2_kostas.jpg +0 -0
  69. data/events/app/assets/images/frontpage/thumbs/tvideo_3_colin.jpg +0 -0
  70. data/events/app/assets/images/frontpage/thumbs/tvideo_4_romilla.jpg +0 -0
  71. data/events/app/assets/images/frontpage/video_1_happy.jpg +0 -0
  72. data/events/app/assets/images/frontpage/video_2_kostas.jpg +0 -0
  73. data/events/app/assets/images/frontpage/video_3_colin.jpg +0 -0
  74. data/events/app/assets/images/frontpage/video_4_romilla.jpg +0 -0
  75. data/events/app/assets/images/icons/IconsByGlyphish.txt +0 -1
  76. data/events/app/assets/images/icons/down.png +0 -0
  77. data/events/app/assets/images/icons/search.png +0 -0
  78. data/events/app/assets/images/icons/up.png +0 -0
  79. data/events/app/assets/images/logos/actor/event.png +0 -0
  80. data/events/app/assets/images/logos/contact/event.png +0 -0
  81. data/events/app/assets/images/logos/original/event.png +0 -0
  82. data/events/app/assets/images/logos/profile/event.png +0 -0
  83. data/events/app/assets/images/logos/representation/event.png +0 -0
  84. data/events/app/assets/images/tab_bottom.png +0 -0
  85. data/events/app/assets/javascripts/schedule.js +0 -123
  86. data/events/app/controllers/agendas_controller.rb +0 -54
  87. data/events/app/controllers/events_controller.rb +0 -81
  88. data/events/app/controllers/sessions_controller.rb +0 -146
  89. data/events/app/helpers/event_helper.rb +0 -12
  90. data/events/app/models/agenda.rb +0 -55
  91. data/events/app/models/event.rb +0 -141
  92. data/events/app/models/session.rb +0 -23
  93. data/events/app/views/agendas/_agenda.html.erb +0 -1
  94. data/events/app/views/agendas/_edit.html.erb +0 -136
  95. data/events/app/views/agendas/_schedule.html.erb +0 -19
  96. data/events/app/views/agendas/_show.html.erb +0 -81
  97. data/events/app/views/agendas/_show_day.html.erb +0 -6
  98. data/events/app/views/agendas/edit.html.erb +0 -24
  99. data/events/app/views/agendas/event.html.erb +0 -1
  100. data/events/app/views/agendas/index.html.erb +0 -0
  101. data/events/app/views/agendas/show.html.erb +0 -25
  102. data/events/app/views/documents/_mediawall.html.erb +0 -111
  103. data/events/app/views/events/_event.html.erb +0 -10
  104. data/events/app/views/events/_event_focus_search.html.erb +0 -2
  105. data/events/app/views/events/_event_global_search.html.erb +0 -2
  106. data/events/app/views/events/_event_with_details.html.erb +0 -2
  107. data/events/app/views/events/_form.html.erb +0 -12
  108. data/events/app/views/events/_manage.html.erb +0 -35
  109. data/events/app/views/events/_new_activity.html.erb +0 -2
  110. data/events/app/views/events/_new_activity_fields.html.erb +0 -10
  111. data/events/app/views/events/_sessions_edit.html.erb +0 -46
  112. data/events/app/views/events/_sidebar_cloud.html.erb +0 -27
  113. data/events/app/views/events/_sidebar_index.html.erb +0 -1
  114. data/events/app/views/events/_sidebar_show.html.erb +0 -5
  115. data/events/app/views/events/agendas.html +0 -1
  116. data/events/app/views/events/edit.html.erb +0 -12
  117. data/events/app/views/events/index.html.erb +0 -30
  118. data/events/app/views/events/manage.html.erb +0 -69
  119. data/events/app/views/events/manage.js.erb +0 -1
  120. data/events/app/views/events/new.html.erb +0 -1
  121. data/events/app/views/events/show.html.erb +0 -38
  122. data/events/app/views/frontpage/_caracteristics.html.erb +0 -73
  123. data/events/app/views/frontpage/index.html.erb +0 -72
  124. data/events/app/views/profiles/_outline.html.erb +0 -81
  125. data/events/app/views/sessions/_form.html.erb +0 -41
  126. data/events/app/views/sessions/_new.html.erb +0 -63
  127. data/events/app/views/sessions/_session.html.erb +0 -1
  128. data/events/app/views/sessions/_show.html.erb +0 -27
  129. data/events/app/views/sessions/create.html.erb +0 -3
  130. data/events/app/views/sessions/create.js.erb +0 -1
  131. data/events/app/views/sessions/destroy.js.erb +0 -2
  132. data/events/app/views/sessions/edit.html.erb +0 -27
  133. data/events/app/views/sessions/index.html.erb +0 -1
  134. data/events/app/views/sessions/index.js.erb +0 -1
  135. data/events/app/views/sessions/new.html.erb +0 -27
  136. data/events/app/views/toolbar/_organizer.html.erb +0 -25
  137. data/events/app/views/toolbar/_sponsor.html.erb +0 -18
  138. data/events/app/views/toolbar/_suscribed.html.erb +0 -17
  139. data/linkser/app/views/links/_link_with_details.html.erb +0 -4
  140. data/linkser/app/views/posts/_new_activity_fields.erb +0 -53
@@ -1,69 +0,0 @@
1
- <% content_for :title do%>
2
- <%= t('event.other') %>
3
- <%end%>
4
-
5
- <% toolbar if user_signed_in? %>
6
-
7
- <% content_for :sidebar do %>
8
- <%= render :partial => "events/sidebar_cloud" %>
9
- <% end %>
10
- <%= location(image_tag("btn/btn_browse.png", :class=>"btn_config") + t('browse') +": "+
11
- link_to(t('user.by'), users_path) + ", "+
12
- link_to(t('group.by'), groups_path) + ", "+
13
- content_tag(:b,content_tag(:span, t('event.all'), :id=>'name_group')))%>
14
-
15
- <div class="space_center"></div>
16
- <div class="space_center"></div>
17
- <div class="space_center"></div>
18
- <div class="space_center"></div>
19
-
20
- <div id="my_conferences" class="block">
21
- <div id="tab" class="widget content_size">
22
- <ul class="tab">
23
- <li>
24
- <%= link_to t('event.all_n', :count => Event.count), :most => nil %>
25
- </li>
26
- <li>
27
- <%= link_to t('event.live', :count => Event.count), {:most => nil,:live=> :live} %>
28
- </li>
29
- <li>
30
- <%= link_to t('event.most.followed'), :most => :followed %>
31
- </li>
32
- <li>
33
- <%= link_to t('event.most.liked'), :most=> :liked %>
34
- </li>
35
- </ul>
36
- <div id="spaces" class="tab">
37
- <div class="space_center"></div>
38
- <div class="row">
39
- <input type="text" value="Search by name" id="search_field" class="search_input" />
40
- <%= image_tag("btn/search.png",:size=>"20x20",:id=>"search_button") %>
41
- </div>
42
- <div class="space_center"></div>
43
- <div class="row">
44
- <div class="center">
45
-
46
- <% initials=nil
47
- if (params[:live].nil?)
48
- initials=Event.distinct_initials
49
- else
50
- initials=Event.live_events.distinct_initials
51
- end %>
52
- <% for g in initials %>
53
- <%= link_to g.initial,{:letter => g.initial,:page => 1},:class => "user_letter_link" %>
54
- <% end %>
55
- </div>
56
- </div>
57
- <div class="space_center"></div>
58
- <div id="list_users_ajax" class="tab_content">
59
- <%= render :partial => "events/manage", :locals=>{:events=>@events}%>
60
- </div>
61
- <div class="space_center"></div>
62
- </div>
63
- </div>
64
- </div>
65
-
66
-
67
- <br class="clearfloat" />
68
- <div class="space_center">
69
- </div>
@@ -1 +0,0 @@
1
- $('#list_users_ajax').html("<%= escape_javascript(render :partial => "events/manage",:locals => { :events => @events }) %>");
@@ -1 +0,0 @@
1
- evento new
@@ -1,38 +0,0 @@
1
- <% content_for :title do %>
2
- <%= @event.name%>
3
- <% end %>
4
-
5
- <% if @event.profile.description? %>
6
- <% content_for :description do %>
7
- <%= @event.profile.description%>
8
- <% end %>
9
- <% end %>
10
-
11
- <% content_for :keywords do %>
12
- <%= @event.profile.subject.tag_list%>
13
- <% end %>
14
-
15
- <% content_for :sidebar do %>
16
- <%= render :partial => 'sidebar_show' %>
17
- <% end %>
18
-
19
- <%= location(link_to(image_tag("btn/event.png", :class => "btn_config")+t('event.title')+": "+
20
- content_tag(:span, ( truncate_name sanitize @event.name), :class=>"name_group")))%>
21
-
22
- <% toolbar :profile => @event %>
23
- <div class="space_center"></div>
24
-
25
- <% if @event.subject.subject_type == 'Event' and @event.has_date? %>
26
- <%= render :partial=> "agendas/schedule", :locals => {:event => @event} %>
27
- <% else %>
28
- <br class="clearfloat" />
29
- <div class="space_center"></div>
30
- <div class="space_center"></div>
31
- <%end%>
32
-
33
- <%= render :partial => "activities/index",
34
- :locals => { :activities => @event.wall(:profile, :for => current_subject).
35
- page(params[:page]),
36
- :owner => @event } %>
37
-
38
-
@@ -1,73 +0,0 @@
1
- <%content_for(:javascript) do %>
2
- $(function() {
3
- var galleries = $('.ad-gallery').adGallery();
4
- });
5
- <%end%>
6
-
7
- <div id="caracteristics">
8
- <span id ="video">
9
- <div id="gallery" class="ad-gallery">
10
- <div class="ad-image-wrapper">
11
- </div>
12
- <div class="ad-controls">
13
- </div>
14
- <div class="ad-nav">
15
- <div class="ad-thumbs">
16
- <ul class="ad-thumb-list">
17
- <li class="gallery">
18
- <%= link_to(image_tag('frontpage/thumbs/tvideo_1_happy.jpg', :alt => "Kostas Glinos",
19
- :longdesc=> "http://www.globalplaza.org/spaces/global/videos/785"),
20
- image_path('frontpage/video_1_happy.jpg')); %>
21
- </li>
22
- <li class="gallery">
23
- <%= link_to(image_tag('frontpage/thumbs/tvideo_2_kostas.jpg', :alt => "Kostas Glinos",
24
- :longdesc=> "http://www.globalplaza.org/spaces/global/global-infoday-for-america?show_video=819"),
25
- image_path('frontpage/video_2_kostas.jpg')); %>
26
- </li>
27
- <li class="gallery">
28
- <%= link_to(image_tag('frontpage/thumbs/tvideo_3_colin.jpg', :alt => "Kostas Glinos",
29
- :longdesc => "http://www.globalplaza.org/spaces/global/videos/785", :class =>"image2" ),
30
- image_path('frontpage/video_3_colin.jpg')); %>
31
- </li>
32
- <li class="gallery">
33
- <%= link_to(image_tag('frontpage/thumbs/tvideo_4_romilla.jpg', :alt => "Ricardo Santos, Doris Zuñiga",
34
- :longdesc => "http://www.globalplaza.org/spaces/global/events/global-infoday-for-america?show_video=819", :class =>"image2" ),
35
- image_path('frontpage/video_4_romilla.jpg')); %>
36
- </li>
37
-
38
- </ul>
39
- </div>
40
- </div>
41
- </div>
42
-
43
- <div id="descriptions">
44
-
45
- </div>
46
- </span>
47
-
48
- <ul class="list">
49
- <li class="list conferences">
50
- <%= t('frontpage.elements.conferences') %>
51
- </li>
52
-
53
- <li class="list participants">
54
- <%= t('frontpage.elements.participants') %>
55
- </li>
56
- <li class="list organizers">
57
- <%= t('frontpage.elements.organizers') %>
58
- </li>
59
- <li class="list groups">
60
- <%= t('frontpage.elements.groups') %>
61
- </li>
62
- <li class="list comments">
63
- <%= t('frontpage.elements.comments') %>
64
- </li>
65
- <li class="list tags">
66
- <%= t('frontpage.elements.tags') %>
67
- </li>
68
- <li class="list networks">
69
- <%= t('frontpage.elements.networks') %>
70
- </li>
71
- </ul>
72
- </div>
73
-
@@ -1,72 +0,0 @@
1
- <% content_for :title do%>
2
- <%= t('welcome', :site => t('site.name')) %>
3
- <%end%>
4
-
5
- <div class="banner_busqueda">
6
- <div id="espacio_busqueda">
7
- </div>
8
- <%= render :partial => 'layouts/search' %>
9
- </div>
10
-
11
- <div id="wrapper_left">
12
- <div id="frontpage_title">
13
- <%= t('frontpage.main_title') %>
14
- <span id="text_bottom_title">
15
- <br/>
16
- <%= t('frontpage.stats', :users => User.count, :groups => Group.count) %>
17
- </span>
18
- </div>
19
- <div class="espacio"></div>
20
- <div class="espacio"></div>
21
- <div id="share">
22
- <div class="icon">
23
- <div id="icon_share"></div>
24
- <div class="icon_text"><%= t('frontpage.share.default')%> </div>
25
- </div>
26
- <div class="sentences">
27
- <ul>
28
- <li class="purple"><%= t('frontpage.share.sentence1') %></li>
29
- <li class="purple"><%= t('frontpage.share.sentence2') %></li>
30
- <li class="purple"><%= t('frontpage.share.sentence3') %></li>
31
- </ul>
32
- </div>
33
- </div>
34
- <div class="espacio"></div>
35
- <div id="meet">
36
- <div class="icon">
37
- <div id="icon_meet"></div>
38
- <div class="icon_text"><%= t('frontpage.meet.default')%> </div>
39
- </div>
40
- <div class="sentences">
41
- <ul>
42
- <li class="green"><%= t('frontpage.meet.sentence1') %></li>
43
- <li class="green"><%= t('frontpage.meet.sentence2') %></li>
44
- <li class="green"><%= t('frontpage.meet.sentence3') %></li>
45
- </ul>
46
- </div>
47
- </div>
48
- <div class="espacio"></div>
49
- <div id="collaborate">
50
- <div class="icon">
51
- <div id="icon_collaborate"></div>
52
- <div class="icon_text"><%= t('frontpage.collaborate.default')%> </div>
53
- </div>
54
- <div class="sentences">
55
- <ul>
56
- <li class="yellow"><%= t('frontpage.collaborate.sentence1') %></li>
57
- <li class="yellow"><%= t('frontpage.collaborate.sentence2') %></li>
58
- <li class="yellow"><%= t('frontpage.collaborate.sentence3') %></li>
59
- </ul>
60
- </div>
61
- </div>
62
- <div class="espacio"></div>
63
- </div>
64
-
65
- <div id="wrapper_right">
66
- <%= render :partial => 'frontpage/caracteristics' %>
67
- </div>
68
-
69
- <div id="join_form">
70
- <%= button_to t('frontpage.register'), new_user_registration_path, :method=> :get %>
71
- </div>
72
- <div id="espacio_body_bottom"></div>
@@ -1,81 +0,0 @@
1
- <div class="space_center"></div>
2
- <div class="block" id="contact_info">
3
- <div class="header">
4
- <div class="header_text">
5
- <%=t('profile.outline')+ ' '+ t('preposition.and') + ' '+ t('session.other') %>
6
- </div>
7
- <% if is_owner? %>
8
- <div class="header_icon_right">
9
- <%= link_to (image_tag('btn/edit.png')), edit_agenda_path(@event)%>
10
- </div>
11
- <%end%>
12
- </div>
13
- <div class="content">
14
- <% if !is_contact_empty?%>
15
- <div class="sub-block" >
16
- <% if @profile.phone? %>
17
- <div class="row">
18
- <div class="label">
19
- <%=t('profile.phone')%>
20
- </div>
21
- <div class="field">
22
- <%=h @profile.phone %>
23
- </div>
24
- </div>
25
- <%end%>
26
- <% if @profile.mobile? %>
27
- <div class="row">
28
- <div class="label">
29
- <%=t('profile.mobile')%>
30
- </div>
31
- <div class="field">
32
- <%=h @profile.mobile %>
33
- </div>
34
- </div>
35
- <%end%>
36
- <% if @profile.fax? %>
37
- <div class="row">
38
- <div class="label">
39
- <%=t('profile.fax')%>
40
- </div>
41
- <div class="field">
42
- <%=h @profile.fax %>
43
- </div>
44
- </div>
45
- <%end%>
46
- <% if @profile.address? %>
47
- <div class="row">
48
- <div class="label">
49
- <%=t('profile.address')%>
50
- </div>
51
- <div class="field">
52
- <%=h @profile.address %>
53
- </div>
54
- </div>
55
- <%end%>
56
- <% if @profile.website? %>
57
- <div class="row">
58
- <div class="label">
59
- <%=t('profile.website')%>
60
- </div>
61
- <div class="field">
62
- <a href="<%=h @profile.website %>"><%=h @profile.website %></a>
63
- </div>
64
- </div>
65
- <%end%>
66
- <% if @profile.subject.email? %>
67
- <div class="row">
68
- <div class="label">
69
- <%=t('profile.email')%>:
70
- </div>
71
- <div class="field">
72
- <%= show_if_signed_in(h(@profile.subject.email)) %>
73
- </div>
74
- </div>
75
- <%end%>
76
- </div>
77
- <%elsif is_owner?%>
78
- <%=t('profile.empty')%>
79
- <%end%>
80
- </div>
81
- </div>
@@ -1,41 +0,0 @@
1
- <%= form_for @session,:url => {:action => :update}, :method => 'post' do |f| %>
2
-
3
- <div class="form_row">
4
- <%= label_tag :title %>
5
- </div>
6
-
7
- <div class="form_row">
8
- <%= f.text_field :title %>
9
- </div>
10
-
11
- <div class="form_row">
12
- <div class="form_label">
13
- <%= t('session.description')%>:
14
- </div>
15
- </div>
16
-
17
- <div class="form_row">
18
- <%= f.text_area :description, :maxlength => 100, :rows => 6, :class => "form_tag_long" %>
19
- </div>
20
-
21
- <div class="form_row">
22
- <%= label_tag :initDate%>
23
- </div>
24
-
25
- <div class="form_row">
26
- <%= f.datetime_select :initDate %>
27
- </div>
28
-
29
- <div class="form_row">
30
- <%= label_tag :endDate%>
31
- </div>
32
-
33
- <div class="form_row">
34
- <%= f.datetime_select :endDate %>
35
- </div>
36
- <%= hidden_field_tag :id_event, @event.id %>
37
- <div class="form_row">
38
- <%= f.submit "Edit event", :class => "button" %>
39
- </div>
40
-
41
- <% end %>
@@ -1,63 +0,0 @@
1
- <% receiver = current_subject%>
2
-
3
- <div class="space_center"></div>
4
- <div class="space_center"></div>
5
- <div class="row">
6
- <div class="form_row">
7
- <h2><%=t('session.new')%></h2>
8
- </div>
9
- </div>
10
- <div class="space_center"></div>
11
- <div class="space_center"></div>
12
-
13
-
14
- <%= form_for @session,:url => {:action => :create}, :method => 'post' do |f| %>
15
- <div class="block">
16
- <div class="form_row">
17
- <div class="form_label">
18
- <%=t('session.one').capitalize + ' ' + t('session.title')%>:
19
- </div>
20
- <div class="form_field">
21
- <%= f.text_field :title, :class => "form_tag" %>
22
- <span class="needed"> (*)</span>
23
- </div>
24
- </div>
25
- <div class="form_row">
26
- <div class="form_label">
27
- <%=t('time.from')%>
28
- </div>
29
- <div class="form_field">
30
- <%= f.datetime_select :initDate, {:start_year => Time.zone.now.year, :minute_step => Agenda::SLOT_VALUES[1], :default => Agenda.next_time_slot_for_drop_down + 2.hours} %>
31
- <span class="needed"> (*)</span>
32
- </div>
33
- </div>
34
- <div class="form_row">
35
- <div class="form_label">
36
- <%=t('time.to')%>
37
- </div>
38
- <div class="form_field">
39
- <%= f.datetime_select :endDate, {:start_year => Time.zone.now.year, :minute_step => Agenda::SLOT_VALUES[1], :default => Agenda.next_time_slot_for_drop_down + 2.hours + 30.minutes} %>
40
- <span class="needed"> (*)</span>
41
- </div>
42
- </div>
43
- <div class="form_row">
44
- <div class="form_label">
45
- <%=t('session.one').capitalize + ' ' + t('session.description')%>:
46
- </div>
47
- </div>
48
- <div class="form_row">
49
- <%= text_area_tag :description, nil, :name => 'session[description]', :maxlength => 100, :rows => 6, :class => "form_tag_long" %>
50
- </div>
51
- <div class="form_row needed"><%=t('required')%></div>
52
- <div class="form_row space_center">
53
- <%= f.hidden_field :_contact_id, :value => current_subject.contact_to!(receiver).id %>
54
- <%= hidden_field_tag :event_id, @event.id %>
55
- <%= f.submit t('button.create'), :class => "button" %>&nbsp;
56
- <button class="button" onclick="window.location.href='<%=agenda_path(@event)%>';">
57
- <%= t('button.cancel')%>
58
- </button>
59
- </div>
60
- </div>
61
- <% end %>
62
-
63
-
@@ -1 +0,0 @@
1
- session creada ahora mismo
@@ -1,27 +0,0 @@
1
- <div class="block session">
2
- <div class="session_wrapper1">
3
- <div class="event_hour">
4
- <%=t('time.from').capitalize%>
5
- </div>
6
- <div class="event_month">
7
- <%=session.initDate.strftime("%H:%M") %>
8
- </div>
9
- <div class="event_hour">
10
- <%=t('time.to')%>
11
- </div>
12
- <div class="event_month">
13
- <%=session.endDate.strftime("%H:%M") %>
14
- </div>
15
- </div>
16
- <div class="session_wrapper2">
17
- <div class="block header_text session_title">
18
- <h3><span class="header_title"><%=session.title%></span></h3>
19
- <%= link_to image_tag("btn/btn_edit.png" , :alt => "name"),{:controller => :sessions , :action => :edit,:id_event=>@event.id,:id=>session.id}%>|
20
-
21
- <%= link_to image_tag("btn/trash.png" , :alt => "name"),{:controller => :sessions , :action => :destroy,:id=>session.id}, :confirm => t('actor.confirm_delete')%>
22
- </div>
23
- <div class="content">
24
- <%=session.description %>
25
- </div>
26
- </div>
27
- </div>
@@ -1,3 +0,0 @@
1
- session creada.
2
-
3
-
@@ -1 +0,0 @@
1
-
@@ -1,2 +0,0 @@
1
- $('#calendar').fullCalendar( 'refetchEvents' );
2
- $('#desc_dialog').dialog('destroy');
@@ -1,27 +0,0 @@
1
- <% content_for :title do%>
2
- <%= t('session.new') + '::' + @event.name %>
3
- <%end%>
4
- <% if @event.profile.description? %>
5
- <% content_for :description do %>
6
- <%= @event.profile.description%>
7
- <% end %>
8
- <%end%>
9
-
10
- <% content_for :keywords do %>
11
- <%= @event.tag_list%>
12
- <% end %>
13
-
14
- <% content_for :sidebar do %>
15
- <%= render :partial => 'users/sidebar_index' %>
16
- <% end %>
17
-
18
- <% toolbar :profile => @event %>
19
-
20
-
21
- <%= location(link_to(image_tag("btn/btn_outline.png", :class => "menu_icon")+t('menu.outline'),
22
- agenda_path(@event))+ ' > ' +
23
- t('session.new')
24
-
25
- ) %>
26
-
27
- <%= render :partial => "form", :locals => {:session=>@session,:event=>@event} %>
@@ -1 +0,0 @@
1
- <%=debug(@event) %>
@@ -1 +0,0 @@
1
- index de <%=@event.agenda%>
@@ -1,27 +0,0 @@
1
- <% content_for :title do%>
2
- <%= t('session.new') + '::' + @event.name %>
3
- <%end%>
4
- <% if @event.profile.description? %>
5
- <% content_for :description do %>
6
- <%= @event.profile.description%>
7
- <% end %>
8
- <%end%>
9
-
10
- <% content_for :keywords do %>
11
- <%= @event.tag_list%>
12
- <% end %>
13
-
14
- <% content_for :sidebar do %>
15
- <%= render :partial => 'users/sidebar_index' %>
16
- <% end %>
17
-
18
- <% toolbar :profile => @event %>
19
-
20
-
21
- <%= location(link_to(image_tag("btn/btn_outline.png", :class => "menu_icon")+t('menu.outline'),
22
- agenda_path(@event))+ ' > ' +
23
- t('session.new')
24
-
25
- ) %>
26
-
27
- <%= render :partial => "new" %>
@@ -1,25 +0,0 @@
1
- <% if (cs = subject.contact_subjects(:direction => :sent)).present? %>
2
- <div class="block">
3
- <div class="header">
4
- <%=image_tag("btn/btn_friend.png", :class => "header_icon")%>
5
- <div class="header_text">
6
- <%= tie.name %>
7
- </div>
8
- </div>
9
- </div>
10
- <div class ="content">
11
- <div class="contact space_center">
12
- <% cs.each do |contact| %>
13
- <% variable=subject.ties_to(contact).to_a %>
14
- <% temporal='' %>
15
- <% variable.each do |temp| %>
16
- <% temporal=temp.relation_id %>
17
- <% end %>
18
- <% if (temporal == tie.id)%>
19
- <%= link_to(image_tag(contact.logo.url(:contact), :alt => contact.name , :size => "28x28"), contact) %>
20
- <% end %>
21
- <% end %>
22
- </div>
23
- </div>
24
- <% end %>
25
-
@@ -1,18 +0,0 @@
1
- <% if (cs = subject.contact_subjects(:direction => :sent)).present? %>
2
- <div class="block">
3
- <div class="header">
4
- <%=image_tag("btn/btn_friend.png", :class => "header_icon")%>
5
- <div class="header_text">
6
- <%= cs.count %> <%= t('event.sponsor', :count => cs.count) %>
7
- </div>
8
- </div>
9
- </div>
10
- <div class ="content">
11
- <div class="contact space_center">
12
- <% cs.each do |contact| %>
13
- <%= link_to(image_tag(contact.logo.url(:contact), :alt => contact.name , :size => "28x28"), contact) %>
14
- <% end %>
15
- </div>
16
- </div>
17
- <% end %>
18
-
@@ -1,17 +0,0 @@
1
- <% if (cs = subject.contact_subjects(:direction => :sent)).present? %>
2
- <div class="block">
3
- <div class="header">
4
- <div class="header_text">
5
- <%= t('event.suscribed')+" ("+cs.count.to_s+" user"+" )" %>
6
- </div>
7
- </div>
8
- </div>
9
- <div class ="content">
10
- <div class="contact space_center">
11
- <% cs.each do |contact| %>
12
- <%= link_to(image_tag(contact.logo.url(:contact), :alt => contact.name , :size => "28x28"), contact) %>
13
- <% end %>
14
- </div>
15
- </div>
16
- <% end %>
17
-
@@ -1,4 +0,0 @@
1
- <%= div_for link, :class => 'content_size' do %>
2
- <%= simple_format link.title %>
3
- <% end %>
4
-