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.
- data/base/app/assets/images/btn/btn_play.png +0 -0
- data/base/app/assets/stylesheets/messages.css.scss +4 -2
- data/base/app/models/activity_object.rb +5 -0
- data/base/app/views/activity_objects/_activity_object.html.erb +1 -1
- data/base/app/views/groups/_show.html.erb +5 -3
- data/base/app/views/notifications/activities/_like.html.erb +1 -1
- data/base/app/views/notifications/activities/_like.text.erb +1 -1
- data/base/app/views/posts/_post_global_search.html.erb +2 -2
- data/base/app/views/users/_show.html.erb +6 -3
- data/base/config/locales/en.yml +3 -1
- data/base/config/locales/es.yml +1 -0
- data/base/lib/generators/social_stream/base/templates/relations.yml +0 -13
- data/base/lib/social_stream/base/version.rb +1 -1
- data/base/social_stream-base.gemspec +0 -2
- data/base/spec/dummy/config/relations.yml +0 -13
- data/documents/app/views/common_documents/_show.html.erb +1 -1
- data/documents/lib/social_stream/documents/version.rb +1 -1
- data/documents/social_stream-documents.gemspec +1 -1
- data/events/README.rdoc +1 -4
- data/events/app/assets/javascripts/social_stream-events.js +0 -4
- data/events/app/assets/stylesheets/social_stream-events.css +0 -273
- data/events/config/locales/en.yml +0 -115
- data/events/config/locales/es.yml +0 -115
- data/events/config/routes.rb +0 -28
- data/events/db/migrate/20111209120019_reset_events.rb +18 -0
- data/events/lib/social_stream/events/engine.rb +0 -5
- data/events/lib/social_stream/events/version.rb +1 -1
- data/events/lib/social_stream-events.rb +0 -18
- data/events/social_stream-events.gemspec +1 -1
- data/lib/social_stream/version.rb +1 -1
- data/linkser/app/assets/javascripts/linkser.js.erb +59 -0
- data/linkser/app/assets/javascripts/social_stream-linkser.js +2 -1
- data/linkser/app/assets/stylesheets/linkser.css.scss +19 -0
- data/linkser/app/controllers/linkser_controller.rb +1 -8
- data/linkser/app/models/link.rb +17 -9
- data/linkser/app/views/links/_link.html.erb +15 -2
- data/linkser/app/views/links/_link_preview.html.erb +3 -0
- data/linkser/lib/social_stream/linkser/version.rb +1 -1
- data/linkser/social_stream-linkser.gemspec +1 -1
- data/presence/ejabberd/ejabberd_files.zip +0 -0
- data/presence/ejabberd/ejabberd_scripts/set_script_header.sh +112 -0
- data/presence/ejabberd/installer.sh +267 -0
- data/presence/ejabberd/mod_sspresence/mod_sspresence.beam +0 -0
- data/presence/ejabberd/mod_sspresence/mod_sspresence.erl +29 -101
- data/presence/lib/generators/social_stream/presence/install_generator.rb +1 -1
- data/presence/lib/generators/social_stream/presence/templates/initializer.rb +6 -4
- data/presence/lib/social_stream/presence/xmpp_server_order.rb +119 -4
- data/presence/lib/social_stream-presence.rb +2 -1
- data/presence/lib/tasks/presence/installer.rake +100 -0
- data/presence/social_stream-presence.gemspec +2 -0
- data/social_stream.gemspec +4 -4
- data/spec/dummy/config/relations.yml +0 -13
- metadata +22 -104
- data/events/GPL Affero license +0 -663
- data/events/app/assets/images/btn/btn_certificate.png +0 -0
- data/events/app/assets/images/btn/btn_certificates.png +0 -0
- data/events/app/assets/images/btn/btn_edit.png +0 -0
- data/events/app/assets/images/btn/btn_embebed.png +0 -0
- data/events/app/assets/images/btn/btn_event.png +0 -0
- data/events/app/assets/images/btn/btn_outline.png +0 -0
- data/events/app/assets/images/btn/event.png +0 -0
- data/events/app/assets/images/btn/flyer.png +0 -0
- data/events/app/assets/images/btn/keynote.png +0 -0
- data/events/app/assets/images/btn/live.png +0 -0
- data/events/app/assets/images/btn/time.png +0 -0
- data/events/app/assets/images/btn/trash.png +0 -0
- data/events/app/assets/images/frontpage/thumbs/tvideo_1_happy.jpg +0 -0
- data/events/app/assets/images/frontpage/thumbs/tvideo_2_kostas.jpg +0 -0
- data/events/app/assets/images/frontpage/thumbs/tvideo_3_colin.jpg +0 -0
- data/events/app/assets/images/frontpage/thumbs/tvideo_4_romilla.jpg +0 -0
- data/events/app/assets/images/frontpage/video_1_happy.jpg +0 -0
- data/events/app/assets/images/frontpage/video_2_kostas.jpg +0 -0
- data/events/app/assets/images/frontpage/video_3_colin.jpg +0 -0
- data/events/app/assets/images/frontpage/video_4_romilla.jpg +0 -0
- data/events/app/assets/images/icons/IconsByGlyphish.txt +0 -1
- data/events/app/assets/images/icons/down.png +0 -0
- data/events/app/assets/images/icons/search.png +0 -0
- data/events/app/assets/images/icons/up.png +0 -0
- data/events/app/assets/images/logos/actor/event.png +0 -0
- data/events/app/assets/images/logos/contact/event.png +0 -0
- data/events/app/assets/images/logos/original/event.png +0 -0
- data/events/app/assets/images/logos/profile/event.png +0 -0
- data/events/app/assets/images/logos/representation/event.png +0 -0
- data/events/app/assets/images/tab_bottom.png +0 -0
- data/events/app/assets/javascripts/schedule.js +0 -123
- data/events/app/controllers/agendas_controller.rb +0 -54
- data/events/app/controllers/events_controller.rb +0 -81
- data/events/app/controllers/sessions_controller.rb +0 -146
- data/events/app/helpers/event_helper.rb +0 -12
- data/events/app/models/agenda.rb +0 -55
- data/events/app/models/event.rb +0 -141
- data/events/app/models/session.rb +0 -23
- data/events/app/views/agendas/_agenda.html.erb +0 -1
- data/events/app/views/agendas/_edit.html.erb +0 -136
- data/events/app/views/agendas/_schedule.html.erb +0 -19
- data/events/app/views/agendas/_show.html.erb +0 -81
- data/events/app/views/agendas/_show_day.html.erb +0 -6
- data/events/app/views/agendas/edit.html.erb +0 -24
- data/events/app/views/agendas/event.html.erb +0 -1
- data/events/app/views/agendas/index.html.erb +0 -0
- data/events/app/views/agendas/show.html.erb +0 -25
- data/events/app/views/documents/_mediawall.html.erb +0 -111
- data/events/app/views/events/_event.html.erb +0 -10
- data/events/app/views/events/_event_focus_search.html.erb +0 -2
- data/events/app/views/events/_event_global_search.html.erb +0 -2
- data/events/app/views/events/_event_with_details.html.erb +0 -2
- data/events/app/views/events/_form.html.erb +0 -12
- data/events/app/views/events/_manage.html.erb +0 -35
- data/events/app/views/events/_new_activity.html.erb +0 -2
- data/events/app/views/events/_new_activity_fields.html.erb +0 -10
- data/events/app/views/events/_sessions_edit.html.erb +0 -46
- data/events/app/views/events/_sidebar_cloud.html.erb +0 -27
- data/events/app/views/events/_sidebar_index.html.erb +0 -1
- data/events/app/views/events/_sidebar_show.html.erb +0 -5
- data/events/app/views/events/agendas.html +0 -1
- data/events/app/views/events/edit.html.erb +0 -12
- data/events/app/views/events/index.html.erb +0 -30
- data/events/app/views/events/manage.html.erb +0 -69
- data/events/app/views/events/manage.js.erb +0 -1
- data/events/app/views/events/new.html.erb +0 -1
- data/events/app/views/events/show.html.erb +0 -38
- data/events/app/views/frontpage/_caracteristics.html.erb +0 -73
- data/events/app/views/frontpage/index.html.erb +0 -72
- data/events/app/views/profiles/_outline.html.erb +0 -81
- data/events/app/views/sessions/_form.html.erb +0 -41
- data/events/app/views/sessions/_new.html.erb +0 -63
- data/events/app/views/sessions/_session.html.erb +0 -1
- data/events/app/views/sessions/_show.html.erb +0 -27
- data/events/app/views/sessions/create.html.erb +0 -3
- data/events/app/views/sessions/create.js.erb +0 -1
- data/events/app/views/sessions/destroy.js.erb +0 -2
- data/events/app/views/sessions/edit.html.erb +0 -27
- data/events/app/views/sessions/index.html.erb +0 -1
- data/events/app/views/sessions/index.js.erb +0 -1
- data/events/app/views/sessions/new.html.erb +0 -27
- data/events/app/views/toolbar/_organizer.html.erb +0 -25
- data/events/app/views/toolbar/_sponsor.html.erb +0 -18
- data/events/app/views/toolbar/_suscribed.html.erb +0 -17
- data/linkser/app/views/links/_link_with_details.html.erb +0 -4
- data/linkser/app/views/posts/_new_activity_fields.erb +0 -53
@@ -1 +0,0 @@
|
|
1
|
-
Ha creado una agenda
|
@@ -1,136 +0,0 @@
|
|
1
|
-
<% content_for :headers do %>
|
2
|
-
<%= javascript_include_tag 'fullcalendar' %>
|
3
|
-
<%= stylesheet_link_tag 'fullcalendar' %>
|
4
|
-
<% end -%>
|
5
|
-
<% receiver = current_subject%>
|
6
|
-
|
7
|
-
<% content_for :javascript do %>
|
8
|
-
$(document).ready(function(){
|
9
|
-
$('#calendar').fullCalendar({
|
10
|
-
firstDay: 1,
|
11
|
-
axisFormat: 'HH:mm G\'M\'\'T\' <%= escape_javascript(Time.zone.formatted_offset) %>',
|
12
|
-
ignoreTimezone: true,
|
13
|
-
allowCalEventOverlap: false,
|
14
|
-
selectable: true,
|
15
|
-
selectHelper: true,
|
16
|
-
select: function(start, end, allDay) {
|
17
|
-
if (dateAvailable(start, end, allDay)) {
|
18
|
-
var title = prompt('Event Title:');
|
19
|
-
if (title != "" && title != null) {
|
20
|
-
$('#calendar').fullCalendar('renderEvent', {
|
21
|
-
title: title,
|
22
|
-
start: start,
|
23
|
-
end: end,
|
24
|
-
editable: true,
|
25
|
-
allDay: allDay
|
26
|
-
}, false
|
27
|
-
);
|
28
|
-
session=createSessionEvent(title, start, end, '<%= @event.id%>','<%=current_subject.contact_to!(receiver).id %>');
|
29
|
-
$('#calendar').fullCalendar('refetchEvents');
|
30
|
-
}
|
31
|
-
}
|
32
|
-
$('#calendar').fullCalendar('unselect');
|
33
|
-
},
|
34
|
-
header: {
|
35
|
-
left: 'month,agendaWeek,agendaDay',
|
36
|
-
center: 'title',
|
37
|
-
right: 'prev,next today',
|
38
|
-
|
39
|
-
},
|
40
|
-
defaultView: 'agendaWeek',
|
41
|
-
height: 500,
|
42
|
-
columnFormat: {
|
43
|
-
month: 'ddd',
|
44
|
-
week: 'ddd d/M',
|
45
|
-
day: 'dddd d/M'
|
46
|
-
},
|
47
|
-
slotMinutes: 30,
|
48
|
-
loading: function(bool){
|
49
|
-
if (bool)
|
50
|
-
//$('#loading').show();
|
51
|
-
$('#loading').hide();
|
52
|
-
else
|
53
|
-
$('#loading').hide();
|
54
|
-
},
|
55
|
-
|
56
|
-
editable: true,
|
57
|
-
timeFormat: 'HH:mm t{ - HH:mm t} ',
|
58
|
-
dragOpacity: "0.5",
|
59
|
-
eventDrop: function(session, dayDelta, minuteDelta, allDay, revertFunc){
|
60
|
-
moveSession(session, dayDelta, minuteDelta, allDay);
|
61
|
-
},
|
62
|
-
|
63
|
-
eventResize: function(session, dayDelta, minuteDelta, revertFunc){
|
64
|
-
resizeEvent(session, dayDelta, minuteDelta);
|
65
|
-
},
|
66
|
-
|
67
|
-
eventSources: [
|
68
|
-
function(start, end, callback) {
|
69
|
-
$.ajax({
|
70
|
-
url: "/events/<%= params[:id]%>/agenda/get_sessions",
|
71
|
-
dataType: 'json',
|
72
|
-
data: {
|
73
|
-
start: Math.round(start.getTime() / 1000),
|
74
|
-
end: Math.round(end.getTime() / 1000)
|
75
|
-
|
76
|
-
},
|
77
|
-
success: function(events) {
|
78
|
-
callback(events);
|
79
|
-
}
|
80
|
-
});
|
81
|
-
}
|
82
|
-
],
|
83
|
-
|
84
|
-
eventClick: function(session, jsEvent, view){
|
85
|
-
if (session.editable) {
|
86
|
-
showSessionDetails(session);
|
87
|
-
}else {
|
88
|
-
showSessionDescription(session);
|
89
|
-
}
|
90
|
-
}
|
91
|
-
});
|
92
|
-
});
|
93
|
-
|
94
|
-
<% end %>
|
95
|
-
|
96
|
-
<div class="space_center"></div>
|
97
|
-
<h3> <%= t('Outline') +' '+ t('preposition.and')+' '+t('session.other') %></h3>
|
98
|
-
<div class="space_center"></div>
|
99
|
-
|
100
|
-
|
101
|
-
<div id="fc-btn-agenda">
|
102
|
-
<td class="fc-header-left">
|
103
|
-
<span class="fc-state-default">
|
104
|
-
<span class="fc-button-inner">
|
105
|
-
<span class="fc-button-content"><%=link_to('Agenda',agenda_path(@event))%></span>
|
106
|
-
</span>
|
107
|
-
</span>
|
108
|
-
</td>
|
109
|
-
</div>
|
110
|
-
|
111
|
-
|
112
|
-
<div class="space_center"></div>
|
113
|
-
|
114
|
-
|
115
|
-
<div>
|
116
|
-
<div id='calendar'></div>
|
117
|
-
</div>
|
118
|
-
|
119
|
-
<div id = "desc_dialog" style ="display:none;">
|
120
|
-
<div id = "event_desc"></div>
|
121
|
-
<br/>
|
122
|
-
<br/>
|
123
|
-
<div id = "event_actions">
|
124
|
-
<span id = "edit_event"></span>
|
125
|
-
<span id = "delete_event"></span>
|
126
|
-
</div>
|
127
|
-
</div>
|
128
|
-
<div id = "create_event_dialog" style ="display:none;">
|
129
|
-
<div id = "create_event">
|
130
|
-
</div>
|
131
|
-
</div>
|
132
|
-
|
133
|
-
<div class="space_center"></div>
|
134
|
-
<div class="space_center"></div>
|
135
|
-
<div class="space_center"></div>
|
136
|
-
<div class="space_center"></div>
|
@@ -1,19 +0,0 @@
|
|
1
|
-
<div class="block row schedule">
|
2
|
-
<div class="session_wrapper1">
|
3
|
-
<div class="event_date_image">
|
4
|
-
<div class="event_day"> <%= sanitize(@event.initDate.strftime("%d")) %> </div>
|
5
|
-
<div class="event_month"> <%= localize(@event.initDate, :format => "%b")%> </div>
|
6
|
-
</div>
|
7
|
-
</div>
|
8
|
-
<div class="session_wrapper2">
|
9
|
-
<div class="block header_text">
|
10
|
-
<h1><span class="header_title black"><%=@event.actor.name%></span></h1>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<div class="block session_content">
|
14
|
-
<span class="black"><%= t('when')%>: </span><%=@event.get_formatted_date%><br/>
|
15
|
-
<span class="black"><%= t('session.description').capitalize%>:</span><br/>
|
16
|
-
<%=@event.actor.profile.description %>
|
17
|
-
</div>
|
18
|
-
</div>
|
19
|
-
</div>
|
@@ -1,81 +0,0 @@
|
|
1
|
-
<% content_for :javascript do %>
|
2
|
-
$("#tabs").tabs({
|
3
|
-
ajaxOptions: {
|
4
|
-
dataType: "script",
|
5
|
-
success: function(data) { eval(data); }
|
6
|
-
}
|
7
|
-
});
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<div class="space_center"></div>
|
11
|
-
<h3> <%= t('Outline') +' '+ t('preposition.and')+' '+t('session.other') %></h3>
|
12
|
-
<div class="space_center"></div>
|
13
|
-
<div class="space_center"></div>
|
14
|
-
|
15
|
-
<div id="calendar" >
|
16
|
-
<table style="width: 100%;" id="header-calendar" class="fc-header">
|
17
|
-
<tbody>
|
18
|
-
<tr>
|
19
|
-
<td class="fc-header-left">
|
20
|
-
<span class="fc-button fc-button-month fc-state-default fc-corner-left fc-state-active">
|
21
|
-
<span class="fc-button-inner">
|
22
|
-
<span class="fc-button-content">Agenda</span>
|
23
|
-
</span>
|
24
|
-
</span>
|
25
|
-
<span class="fc-button fc-button-month fc-state-default ">
|
26
|
-
<span class="fc-button-inner">
|
27
|
-
<span class="fc-button-content"><%=link_to('Month',edit_agenda_path(@event))%></span>
|
28
|
-
</span>
|
29
|
-
</span>
|
30
|
-
<span class="fc-button fc-button-agendaWeek fc-state-default ">
|
31
|
-
<span class="fc-button-inner">
|
32
|
-
<span class="fc-button-content"><%=link_to('Week',edit_agenda_path(@event))%></span>
|
33
|
-
</span>
|
34
|
-
</span>
|
35
|
-
<span class="fc-button fc-button-agendaDay fc-state-default fc-corner-right">
|
36
|
-
<span class="fc-button-inner">
|
37
|
-
<span class="fc-button-content"><%=link_to('Day',edit_agenda_path(@event))%></span>
|
38
|
-
</span>
|
39
|
-
</span>
|
40
|
-
</td>
|
41
|
-
<td class="fc-header-right">
|
42
|
-
<div class="block">
|
43
|
-
<div class="right-0">
|
44
|
-
<button class="button" onclick="window.location.href='/sessions/<%=@event.id%>/new';">
|
45
|
-
<%=t('session.new')%>
|
46
|
-
</button>
|
47
|
-
</div>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<div class="form_row space_center">
|
51
|
-
|
52
|
-
|
53
|
-
</div>
|
54
|
-
</td>
|
55
|
-
</tr>
|
56
|
-
</tbody>
|
57
|
-
</table>
|
58
|
-
</div>
|
59
|
-
|
60
|
-
<%if !@event.agenda.nil? and !@event.agenda.start_date.nil? %>
|
61
|
-
<div id ="outline" class="block">
|
62
|
-
<div id="tabs" class="widget content_size">
|
63
|
-
<ul>
|
64
|
-
<%for i in (1..@event.days)%>
|
65
|
-
<li><a href="#date<%=i%>"><%=(@event.initDate+(i-1).day).strftime("%A %d %b")%></a></li>
|
66
|
-
<%end%>
|
67
|
-
</ul>
|
68
|
-
|
69
|
-
<%for i in (1..@event.days)%>
|
70
|
-
<div id="date<%=i%>">
|
71
|
-
<%=render :partial=> "agendas/show_day", :locals => {:day=>i}%>
|
72
|
-
</div>
|
73
|
-
<%end%>
|
74
|
-
</div>
|
75
|
-
</div>
|
76
|
-
<%else%>
|
77
|
-
<div class="block " >
|
78
|
-
<div class="message">No existen sessiones programadas</div>
|
79
|
-
</div>
|
80
|
-
<%end%>
|
81
|
-
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<% content_for :title do%>
|
2
|
-
<%= @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
|
-
|
24
|
-
<%= render :partial => "edit" %>
|
@@ -1 +0,0 @@
|
|
1
|
-
adsf agenda de eventoooo
|
File without changes
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<% content_for :title do%>
|
2
|
-
<%= @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
|
-
[@event, :profile])) %>
|
23
|
-
|
24
|
-
|
25
|
-
<%= render :partial => "show" %>
|
@@ -1,111 +0,0 @@
|
|
1
|
-
<div id="media_wall_buttons">
|
2
|
-
<ul>
|
3
|
-
<li>
|
4
|
-
<%= link_to( image_tag("btn/btn_conference.png",
|
5
|
-
:media => "conference"), videos_path, :remote => true) %>
|
6
|
-
</li>
|
7
|
-
<li>
|
8
|
-
<%= link_to( image_tag("btn/btn_gallery.png",
|
9
|
-
:media => "picture"), pictures_path, :remote => true, :page => 1, :per => 1) %>
|
10
|
-
</li>
|
11
|
-
<li>
|
12
|
-
<%= link_to( image_tag("btn/btn_video.png",
|
13
|
-
:media => "video"), videos_path, :remote => true) %>
|
14
|
-
</li>
|
15
|
-
<li>
|
16
|
-
<%= link_to( image_tag("btn/btn_audio.png",
|
17
|
-
:media => "audio"), audios_path, :remote => true) %>
|
18
|
-
</li>
|
19
|
-
<li>
|
20
|
-
<%= link_to(t('document.simple_all'), documents_path, :remote => true) %>
|
21
|
-
</li>
|
22
|
-
</ul>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div id="media_wall">
|
26
|
-
<div class="media_preview conference">
|
27
|
-
<img src="#" class="media_preview_image" />
|
28
|
-
<div class="media_preview_title">Some conference</div>
|
29
|
-
<div class="media_preview_detail">some detail</div>
|
30
|
-
</div>
|
31
|
-
|
32
|
-
<div class="media_preview conference">
|
33
|
-
<img src="#" class="media_preview_image" />
|
34
|
-
<div class="media_preview_title">Some conference</div>
|
35
|
-
<div class="media_preview_detail">some detail</div>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
<div class="media_preview conference">
|
39
|
-
<img src="#" class="media_preview_image" />
|
40
|
-
<div class="media_preview_title">Some conference</div>
|
41
|
-
<div class="media_preview_detail">some detail</div>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<div class="media_preview picture">
|
45
|
-
<img src="#" class="media_preview_image" />
|
46
|
-
<div class="media_preview_title">Some picture</div>
|
47
|
-
<div class="media_preview_detail">some detail</div>
|
48
|
-
</div>
|
49
|
-
|
50
|
-
<div class="media_preview picture">
|
51
|
-
<img src="#" class="media_preview_image" />
|
52
|
-
<div class="media_preview_title">Some picture</div>
|
53
|
-
<div class="media_preview_detail">some detail</div>
|
54
|
-
</div>
|
55
|
-
|
56
|
-
<div class="media_preview picture">
|
57
|
-
<img src="#" class="media_preview_image" />
|
58
|
-
<div class="media_preview_title">Some picture</div>
|
59
|
-
<div class="media_preview_detail">some detail</div>
|
60
|
-
</div>
|
61
|
-
|
62
|
-
<div class="media_preview video">
|
63
|
-
<img src="#" class="media_preview_image" />
|
64
|
-
<div class="media_preview_title">Some video</div>
|
65
|
-
<div class="media_preview_detail">some detail</div>
|
66
|
-
</div>
|
67
|
-
|
68
|
-
<div class="media_preview video">
|
69
|
-
<img src="#" class="media_preview_image" />
|
70
|
-
<div class="media_preview_title">Some video</div>
|
71
|
-
<div class="media_preview_detail">some detail</div>
|
72
|
-
</div>
|
73
|
-
|
74
|
-
<div class="media_preview video">
|
75
|
-
<img src="#" class="media_preview_image" />
|
76
|
-
<div class="media_preview_title">Some video</div>
|
77
|
-
<div class="media_preview_detail">some detail</div>
|
78
|
-
</div>
|
79
|
-
|
80
|
-
<div class="media_preview audio">
|
81
|
-
<img src="#" class="media_preview_image" />
|
82
|
-
<div class="media_preview_title">Some audio</div>
|
83
|
-
<div class="media_preview_detail">some detail</div>
|
84
|
-
</div>
|
85
|
-
|
86
|
-
<div class="media_preview audio">
|
87
|
-
<img src="#" class="media_preview_image" />
|
88
|
-
<div class="media_preview_title">Some audio</div>
|
89
|
-
<div class="media_preview_detail">some detail</div>
|
90
|
-
</div>
|
91
|
-
|
92
|
-
<div class="media_preview audio">
|
93
|
-
<img src="#" class="media_preview_image" />
|
94
|
-
<div class="media_preview_title">Some audio</div>
|
95
|
-
<div class="media_preview_detail">some detail</div>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
<% content_for :headers do %>
|
100
|
-
<%= stylesheet_link_tag "documents" %>
|
101
|
-
<% end %>
|
102
|
-
|
103
|
-
<script>
|
104
|
-
$('#media_wall div.media_preview').hide();
|
105
|
-
$('#media_wall div.conference').show();
|
106
|
-
|
107
|
-
$('#media_wall_buttons a').click(function(e){
|
108
|
-
$('#media_wall div.media_preview').hide("fast");
|
109
|
-
// $('#media_wall div.'+$(this).children('img').attr('media')).show("slow");
|
110
|
-
});
|
111
|
-
</script>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<%= div_for event, :class => 'content_size' do %>
|
2
|
-
Invites to <%=link_to(event.name, event)%> </br>
|
3
|
-
<% if !event.initDate.blank? %>
|
4
|
-
Since <%= event.initDate.gmtime.to_s %>
|
5
|
-
<% end %>
|
6
|
-
<% if !event.endDate.blank? %>
|
7
|
-
until <%= event.endDate.gmtime.to_s %>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<% end %>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% if @event and @event.errors.any? %>
|
2
|
-
<div class="error">
|
3
|
-
<h2><%= pluralize(@event.errors.count, "error") %> prohibited this message from being sent:</h2>
|
4
|
-
<ul>
|
5
|
-
<% @event.errors.full_messages.each do |msg| %>
|
6
|
-
<li>
|
7
|
-
<%= msg %>
|
8
|
-
</li>
|
9
|
-
<% end %>
|
10
|
-
</ul>
|
11
|
-
</div>
|
12
|
-
<% end %>
|
@@ -1,35 +0,0 @@
|
|
1
|
-
<% cont=0; %>
|
2
|
-
<%=@events.count%>
|
3
|
-
<% @events.each do |event| %>
|
4
|
-
<% if (cont%2) == 0 %>
|
5
|
-
<% cont+=1; %>
|
6
|
-
<div class="row">
|
7
|
-
<% end %>
|
8
|
-
<div class="label">
|
9
|
-
<div class="logo">
|
10
|
-
<%= link_to (image_tag(event.logo.url , :size => "50x50", :alt => event.name )), event %>
|
11
|
-
</div>
|
12
|
-
<div class="sub-block">
|
13
|
-
<div class="name black" >
|
14
|
-
<%= link_to truncate_name(event.name), event %>
|
15
|
-
</div>
|
16
|
-
<div class="brief">
|
17
|
-
<%= t 'follower.n', :count => event.follower_count %>,
|
18
|
-
<%= t 'like.n', :count => event.like_count %>
|
19
|
-
</div>
|
20
|
-
<div class="link">
|
21
|
-
<%= contact_to(event) %>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
</div>
|
25
|
-
<% if ((cont%2) == 0) %>
|
26
|
-
</div>
|
27
|
-
<% end %>
|
28
|
-
<% end %>
|
29
|
-
<% if ((cont%2) != 0) %>
|
30
|
-
<div class="label"></div>
|
31
|
-
</div>
|
32
|
-
<% end %>
|
33
|
-
<div class="row">
|
34
|
-
<%= paginate @events %>
|
35
|
-
</div>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<% f.object._founder = current_subject.slug %>
|
2
|
-
<%= f.hidden_field :_founder %>
|
3
|
-
<%= f.hidden_field :founder_id, :value => current_subject.id %>
|
4
|
-
<%= f.text_field :name, :size => 85, :value => t('event.input') %>
|
5
|
-
|
6
|
-
<%= javascript_tag do %>
|
7
|
-
$(function() {
|
8
|
-
$("#event_name").Watermark("<%= I18n.t('event.input') %>","#666");
|
9
|
-
});
|
10
|
-
<% end %>
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<% #debugger %>
|
2
|
-
<% content_for :javascript do %>
|
3
|
-
|
4
|
-
calendar = $('#calendar').fullCalendar({
|
5
|
-
header: {
|
6
|
-
left: '',
|
7
|
-
center: '',
|
8
|
-
right: ''
|
9
|
-
},
|
10
|
-
allDaySlot: false,
|
11
|
-
axisFormat: 'HH:mm',
|
12
|
-
timeFormat: 'H:mm{ - H:mm}',
|
13
|
-
slotMinutes: 15,
|
14
|
-
year:<%= @event.initDate.strftime("%Y")%>,
|
15
|
-
month:<%= @event.initDate.month-1 %>,
|
16
|
-
date:<%= @event.initDate.strftime("%d")%>,
|
17
|
-
minTime: '<%= @event.initDate.hour.to_s + ':00' %>',
|
18
|
-
maxTime: '<%= (@event.endDate.hour + 1).to_s + ':00' %>',
|
19
|
-
editable: true,
|
20
|
-
defaultView: 'agendaDay',
|
21
|
-
selectHelper:true,
|
22
|
-
selectable:true,
|
23
|
-
unselectAuto:false,
|
24
|
-
events: <%= @event.agenda.to_fullcalendar_json %>,
|
25
|
-
select: function(startDate, endDate, allDay) {
|
26
|
-
var title = prompt('Event Title:');
|
27
|
-
if (title) {
|
28
|
-
$.post('<%= event_agenda_sessions_path(@event)%>', { session : {name: title, initDate: startDate + "", endDate: endDate + ""}});
|
29
|
-
calendar.fullCalendar('renderEvent',
|
30
|
-
{
|
31
|
-
title: title,
|
32
|
-
start: startDate,
|
33
|
-
end: endDate,
|
34
|
-
allDay: allDay
|
35
|
-
},
|
36
|
-
true // make the event "stick"
|
37
|
-
);
|
38
|
-
}
|
39
|
-
calendar.fullCalendar('unselect');
|
40
|
-
},
|
41
|
-
|
42
|
-
});
|
43
|
-
|
44
|
-
<% end %>
|
45
|
-
|
46
|
-
<div id="calendar"></div>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<div class="space_center"></div>
|
2
|
-
|
3
|
-
<div class="block">
|
4
|
-
<div class="header">
|
5
|
-
<%= image_tag('btn/btn_tag.png', :class => "header_icon") %>
|
6
|
-
<div class="header_text">
|
7
|
-
<%= t 'event.cloud' %>
|
8
|
-
</div>
|
9
|
-
</div>
|
10
|
-
<div id="wordcloud" class="content"></div>
|
11
|
-
</div>
|
12
|
-
|
13
|
-
<%= render :partial => 'contacts/suggestions_and_pendings' %>
|
14
|
-
|
15
|
-
<% tags = ActivityObject.tag_counts %>
|
16
|
-
|
17
|
-
<script type="text/javascript">
|
18
|
-
var word_list = new Array(
|
19
|
-
<% tag_cloud(tags, %w(5 7 9 11 13 15)) do |tag, weight| %>
|
20
|
-
{text: "<%= tag.name %>", weight: <%= weight %>, url: "?tag=<%= tag.name %>"},
|
21
|
-
<% end %>
|
22
|
-
{text: "", weight:0, url:""}
|
23
|
-
);
|
24
|
-
$(document).ready(function() {
|
25
|
-
$("#wordcloud").jQCloud(word_list);
|
26
|
-
});
|
27
|
-
</script>
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= render :partial => 'contacts/suggestions_and_pendings' %>
|
@@ -1 +0,0 @@
|
|
1
|
-
esta es la agenda.
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<% content_for :headers do %>
|
2
|
-
<%= javascript_include_tag 'fullcalendar' %>
|
3
|
-
<%= stylesheet_link_tag "fullcalendar", :media => "screen, projection" %>
|
4
|
-
<% end %>
|
5
|
-
|
6
|
-
<% content_for :sidebar do %>
|
7
|
-
<%= render :partial => 'home/sidebar' %>
|
8
|
-
<% end %>
|
9
|
-
|
10
|
-
<% toolbar %>
|
11
|
-
|
12
|
-
|
@@ -1,30 +0,0 @@
|
|
1
|
-
<% content_for :title do %>
|
2
|
-
<%= t('event.list') %>
|
3
|
-
<% end %>
|
4
|
-
|
5
|
-
<% content_for :sidebar do %>
|
6
|
-
<%= render :partial => 'home/sidebar' %>
|
7
|
-
<% end %>
|
8
|
-
|
9
|
-
<%= location(link_to t('conference.list'))%>
|
10
|
-
|
11
|
-
<% toolbar %>
|
12
|
-
|
13
|
-
<br class="clearfloat" />
|
14
|
-
<div class="space_center">
|
15
|
-
</div>
|
16
|
-
|
17
|
-
<div class="attachment_section_header">
|
18
|
-
<h3><%=t('conference.list')%></h3>
|
19
|
-
</div>
|
20
|
-
<% @events.each do |a| %>
|
21
|
-
<%# document = a.activity_objects.first.document %>
|
22
|
-
<div class="attachment_tile">
|
23
|
-
<div class="attachment_tile_thumb">
|
24
|
-
<%= link_to(image_tag('logos/actor/event.png', :size =>"48x48"), a )%>
|
25
|
-
</div>
|
26
|
-
<div class="attachment_tile_text">
|
27
|
-
<%= link_to( a.name, a )%>
|
28
|
-
</div>
|
29
|
-
</div>
|
30
|
-
<% end %>
|