social_stream-documents 0.4.6 → 0.4.7

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.
@@ -1 +1 @@
1
- <%=render(:partial => 'common/index') %>
1
+ <%=render(:partial => 'common_documents/index') %>
@@ -1,2 +1,2 @@
1
- <%= render :partial => 'common/show',
1
+ <%= render :partial => 'common_documents/show',
2
2
  :locals => { :document => @audio } %>
@@ -40,4 +40,4 @@
40
40
  <br class="clearfloat" />
41
41
  </div>
42
42
  </div>
43
- <%= render :partial => "common/edit_form", :locals => {:document => document} %>
43
+ <%= render :partial => "common_documents/edit_form", :locals => {:document => document} %>
@@ -1,5 +1,5 @@
1
1
  <% unless params[:no_layout].present? %>
2
- <%= render :partial => "common/headers" %>
2
+ <%= render :partial => "common_documents/headers" %>
3
3
  <div id="documents_grid">
4
4
  <% end %>
5
5
 
@@ -28,7 +28,7 @@
28
28
 
29
29
  <%= show_view_for document %>
30
30
 
31
- <%= render :partial => "common/document_info", :locals => {:document => document} %>
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 => 'common/index') %>
1
+ <%=render(:partial => 'common_documents/index') %>
@@ -1,2 +1,2 @@
1
- <%= render :partial => 'common/show',
1
+ <%= render :partial => 'common_documents/show',
2
2
  :locals => { :document => @document } %>
@@ -1 +1 @@
1
- <%=render(:partial => 'common/index') %>
1
+ <%=render(:partial => 'common_documents/index') %>
@@ -1,2 +1,2 @@
1
- <%= render :partial => 'common/show',
1
+ <%= render :partial => 'common_documents/show',
2
2
  :locals => { :document => @picture } %>
@@ -1 +1 @@
1
- <%=render(:partial => 'common/index') %>
1
+ <%=render(:partial => 'common_documents/index') %>
@@ -1,2 +1,2 @@
1
- <%= render :partial => 'common/show',
1
+ <%= render :partial => 'common_documents/show',
2
2
  :locals => { :document => @video } %>
@@ -14,8 +14,8 @@ en:
14
14
  details: "Details"
15
15
  download: "Download"
16
16
  edit: "Edit"
17
- all: "All documents"
18
- confirm_delete: "Delete document?"
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 documents"
32
- msg: "Uploaded a document:"
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: "Files"
55
+ title: "Resources"
56
56
  mine: "My resources"
57
57
  msg: "Uploaded a resource:"
58
58
  not_mine: "Resources"
@@ -14,8 +14,8 @@ es:
14
14
  details: "Detalles"
15
15
  download: "Descargar"
16
16
  edit: "Editar"
17
- all: "Todos los documentos"
18
- confirm_delete: "¿Borrar documento?"
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 documentos"
32
- msg: "Subió un documento:"
33
- name: "documento"
31
+ mine: "Mis ficheros"
32
+ msg: "Subió un fichero:"
33
+ name: "fichero"
34
34
  not_mine: "Documentos"
35
- one: "un documento"
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: "Archivos"
55
+ title: "Recursos"
56
56
  mine: "Mis recursos"
57
57
  msg: "Subió un recurso:"
58
58
  not_mine: "Recursos"
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Documents
3
- VERSION = "0.4.6".freeze
3
+ VERSION = "0.4.7".freeze
4
4
  end
5
5
  end
@@ -5,10 +5,10 @@ module SocialStream
5
5
  items = super
6
6
 
7
7
  items << {
8
- :key => :resources,
9
- :name => image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("resource.title"),
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 => "resources_menu"}}
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 => :resources,
20
- :name => image_tag("btn/btn_resource.png",:class =>"menu_icon")+t("resource.title"),
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 => "resources_menu"}}
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.34')
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: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 6
10
- version: 0.4.6
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-18 00:00:00 +01:00
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: 127
30
+ hash: 125
31
31
  segments:
32
32
  - 0
33
33
  - 9
34
- - 34
35
- version: 0.9.34
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/common/_document_info.html.erb
260
- - app/views/common/_edit_form.html.erb
261
- - app/views/common/_headers.html.erb
262
- - app/views/common/_index.html.erb
263
- - app/views/common/_show.html.erb
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
@@ -1,5 +0,0 @@
1
- <% content_for :headers do %>
2
- <%= stylesheet_link_tag "documents" %>
3
- <% end %>
4
-
5
- <%= image_tag("btn/document.png", :class => "size_19px") %> <%=t('resource.title')%>