social_stream-documents 0.4.6 → 0.4.7
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/audios/index.html.erb +1 -1
- data/app/views/audios/show.html.erb +1 -1
- data/app/views/{common → common_documents}/_document_info.html.erb +1 -1
- data/app/views/{common → common_documents}/_edit_form.html.erb +0 -0
- data/app/views/{common → common_documents}/_headers.html.erb +0 -0
- data/app/views/{common → common_documents}/_index.html.erb +1 -1
- data/app/views/{common → common_documents}/_show.html.erb +1 -1
- data/app/views/documents/index.html.erb +1 -1
- data/app/views/documents/show.html.erb +1 -1
- data/app/views/pictures/index.html.erb +1 -1
- data/app/views/pictures/show.html.erb +1 -1
- data/app/views/videos/index.html.erb +1 -1
- data/app/views/videos/show.html.erb +1 -1
- data/config/locales/en.yml +5 -5
- data/config/locales/es.yml +7 -7
- data/lib/social_stream/documents/version.rb +1 -1
- data/lib/social_stream/toolbar_config/documents.rb +6 -6
- data/social_stream-documents.gemspec +1 -1
- metadata +12 -13
- data/app/views/documents/_header.html.erb +0 -5
@@ -1 +1 @@
|
|
1
|
-
<%=render(:partial => '
|
1
|
+
<%=render(:partial => 'common_documents/index') %>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%= render :partial => '
|
1
|
+
<%= render :partial => 'common_documents/show',
|
2
2
|
:locals => { :document => @audio } %>
|
File without changes
|
File without changes
|
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
<%= show_view_for document %>
|
30
30
|
|
31
|
-
<%= render :partial => "
|
31
|
+
<%= render :partial => "common_documents/document_info", :locals => {:document => document} %>
|
32
32
|
|
33
33
|
<div id="document_comments">
|
34
34
|
<%= render :partial => 'activities/comments', :locals => { :activity => document.post_activity } %>
|
@@ -1 +1 @@
|
|
1
|
-
<%=render(:partial => '
|
1
|
+
<%=render(:partial => 'common_documents/index') %>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%= render :partial => '
|
1
|
+
<%= render :partial => 'common_documents/show',
|
2
2
|
:locals => { :document => @document } %>
|
@@ -1 +1 @@
|
|
1
|
-
<%=render(:partial => '
|
1
|
+
<%=render(:partial => 'common_documents/index') %>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%= render :partial => '
|
1
|
+
<%= render :partial => 'common_documents/show',
|
2
2
|
:locals => { :document => @picture } %>
|
@@ -1 +1 @@
|
|
1
|
-
<%=render(:partial => '
|
1
|
+
<%=render(:partial => 'common_documents/index') %>
|
@@ -1,2 +1,2 @@
|
|
1
|
-
<%= render :partial => '
|
1
|
+
<%= render :partial => 'common_documents/show',
|
2
2
|
:locals => { :document => @video } %>
|
data/config/locales/en.yml
CHANGED
@@ -14,8 +14,8 @@ en:
|
|
14
14
|
details: "Details"
|
15
15
|
download: "Download"
|
16
16
|
edit: "Edit"
|
17
|
-
all: "All
|
18
|
-
confirm_delete: "Delete
|
17
|
+
all: "All files"
|
18
|
+
confirm_delete: "Delete file?"
|
19
19
|
form:
|
20
20
|
title: "File"
|
21
21
|
info:
|
@@ -28,8 +28,8 @@ en:
|
|
28
28
|
title: "Upload"
|
29
29
|
title:
|
30
30
|
title: "Title"
|
31
|
-
mine: "My
|
32
|
-
msg: "Uploaded a
|
31
|
+
mine: "My files"
|
32
|
+
msg: "Uploaded a file:"
|
33
33
|
name: "file"
|
34
34
|
not_mine: "Documents"
|
35
35
|
one: "a file"
|
@@ -52,7 +52,7 @@ en:
|
|
52
52
|
resource:
|
53
53
|
all: "All Resources"
|
54
54
|
confirm_delete: "Delete resource?"
|
55
|
-
title: "
|
55
|
+
title: "Resources"
|
56
56
|
mine: "My resources"
|
57
57
|
msg: "Uploaded a resource:"
|
58
58
|
not_mine: "Resources"
|
data/config/locales/es.yml
CHANGED
@@ -14,8 +14,8 @@ es:
|
|
14
14
|
details: "Detalles"
|
15
15
|
download: "Descargar"
|
16
16
|
edit: "Editar"
|
17
|
-
all: "Todos los
|
18
|
-
confirm_delete: "¿Borrar
|
17
|
+
all: "Todos los ficheros"
|
18
|
+
confirm_delete: "¿Borrar fichero?"
|
19
19
|
form:
|
20
20
|
title: "Fichero"
|
21
21
|
info:
|
@@ -28,11 +28,11 @@ es:
|
|
28
28
|
title: "Subir"
|
29
29
|
title:
|
30
30
|
title: "Título"
|
31
|
-
mine: "Mis
|
32
|
-
msg: "Subió un
|
33
|
-
name: "
|
31
|
+
mine: "Mis ficheros"
|
32
|
+
msg: "Subió un fichero:"
|
33
|
+
name: "fichero"
|
34
34
|
not_mine: "Documentos"
|
35
|
-
one: "un
|
35
|
+
one: "un fichero"
|
36
36
|
simple_all: "Todos"
|
37
37
|
title: "Documentos"
|
38
38
|
picture:
|
@@ -52,7 +52,7 @@ es:
|
|
52
52
|
resource:
|
53
53
|
all: "Todos los recursos"
|
54
54
|
confirm_delete: "¿Borrar recursos?"
|
55
|
-
title: "
|
55
|
+
title: "Recursos"
|
56
56
|
mine: "Mis recursos"
|
57
57
|
msg: "Subió un recurso:"
|
58
58
|
not_mine: "Recursos"
|
@@ -5,10 +5,10 @@ module SocialStream
|
|
5
5
|
items = super
|
6
6
|
|
7
7
|
items << {
|
8
|
-
:key => :
|
9
|
-
:name => image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("
|
8
|
+
:key => :documents,
|
9
|
+
:name => image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("document.title"),
|
10
10
|
:url => polymorphic_path([subject, Document.new]),
|
11
|
-
:options => {:link => {:id => "
|
11
|
+
:options => {:link => {:id => "documents_menu"}}
|
12
12
|
}
|
13
13
|
end
|
14
14
|
|
@@ -16,10 +16,10 @@ module SocialStream
|
|
16
16
|
items = super
|
17
17
|
|
18
18
|
items << {
|
19
|
-
:key => :
|
20
|
-
:name => image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("
|
19
|
+
:key => :documents,
|
20
|
+
:name => image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("document.title"),
|
21
21
|
:url => polymorphic_path([current_subject, Document.new]),
|
22
|
-
:options => {:link => {:id => "
|
22
|
+
:options => {:link => {:id => "documents_menu"}}
|
23
23
|
}
|
24
24
|
end
|
25
25
|
end
|
@@ -12,7 +12,7 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.files = `git ls-files`.split("\n")
|
13
13
|
|
14
14
|
# Gem dependencies
|
15
|
-
s.add_runtime_dependency('social_stream-base', '~> 0.9.
|
15
|
+
s.add_runtime_dependency('social_stream-base', '~> 0.9.35')
|
16
16
|
s.add_runtime_dependency('paperclip-ffmpeg', '~> 0.7.0')
|
17
17
|
s.add_runtime_dependency('paperclip','2.3.11')
|
18
18
|
s.add_runtime_dependency('delayed_paperclip','>= 0.7.2')
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: social_stream-documents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 7
|
10
|
+
version: 0.4.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- "V\xC3\xADctor S\xC3\xA1nchez Belmar"
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-11-
|
19
|
+
date: 2011-11-20 00:00:00 +01:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
@@ -27,12 +27,12 @@ dependencies:
|
|
27
27
|
requirements:
|
28
28
|
- - ~>
|
29
29
|
- !ruby/object:Gem::Version
|
30
|
-
hash:
|
30
|
+
hash: 125
|
31
31
|
segments:
|
32
32
|
- 0
|
33
33
|
- 9
|
34
|
-
-
|
35
|
-
version: 0.9.
|
34
|
+
- 35
|
35
|
+
version: 0.9.35
|
36
36
|
type: :runtime
|
37
37
|
version_requirements: *id001
|
38
38
|
- !ruby/object:Gem::Dependency
|
@@ -256,17 +256,16 @@ files:
|
|
256
256
|
- app/views/audios/index.html.erb
|
257
257
|
- app/views/audios/index.js.erb
|
258
258
|
- app/views/audios/show.html.erb
|
259
|
-
- app/views/
|
260
|
-
- app/views/
|
261
|
-
- app/views/
|
262
|
-
- app/views/
|
263
|
-
- app/views/
|
259
|
+
- app/views/common_documents/_document_info.html.erb
|
260
|
+
- app/views/common_documents/_edit_form.html.erb
|
261
|
+
- app/views/common_documents/_headers.html.erb
|
262
|
+
- app/views/common_documents/_index.html.erb
|
263
|
+
- app/views/common_documents/_show.html.erb
|
264
264
|
- app/views/documents/_document.html.erb
|
265
265
|
- app/views/documents/_document_focus_search.html.erb
|
266
266
|
- app/views/documents/_document_global_search.html.erb
|
267
267
|
- app/views/documents/_document_show.html.erb
|
268
268
|
- app/views/documents/_document_with_details.html.erb
|
269
|
-
- app/views/documents/_header.html.erb
|
270
269
|
- app/views/documents/_new_activity.html.erb
|
271
270
|
- app/views/documents/_new_activity_fields.html.erb
|
272
271
|
- app/views/documents/destroy.js.erb
|