fullstack-admin 0.1.25 → 0.1.26

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.25
1
+ 0.1.26
@@ -15,4 +15,19 @@
15
15
 
16
16
  #left-aside .nav {
17
17
  padding-bottom: 180px;
18
+ }
19
+
20
+ .thumbnails > li {
21
+ float: left;
22
+ margin-left: 0 !important;
23
+ margin-right: 16px;
24
+ }
25
+
26
+ .chzn-container-multi .chzn-choices .search-choice {
27
+ display: block;
28
+ width: 96%;
29
+ }
30
+
31
+ .chzn-container-active .chzn-choices {
32
+ padding-top: 4px;
18
33
  }
@@ -8,4 +8,5 @@
8
8
 
9
9
  #facebox .content {
10
10
  padding: 0;
11
+ width: 600px;
11
12
  }
@@ -1,5 +1,6 @@
1
1
  class Admin::ScaffoldController < Admin::BaseController
2
2
  respond_to :html, :js
3
+ before_filter :prepend_resource_views_prefix
3
4
 
4
5
  def index
5
6
  @search = current_resource_class.search(params[:search])
@@ -51,6 +52,10 @@ class Admin::ScaffoldController < Admin::BaseController
51
52
 
52
53
  private
53
54
 
55
+ def prepend_resource_views_prefix
56
+ lookup_context.prefixes.unshift "admin/#{collection_name}"
57
+ end
58
+
54
59
  def set_object(value)
55
60
  instance_variable_set("@#{resource_name}", value)
56
61
  end
@@ -6,7 +6,7 @@ it:
6
6
  dashboard: "Dashboard"
7
7
  logout: "Logout"
8
8
  new: "Crea"
9
- update: "Invia"
9
+ update: "Salva"
10
10
  show: "Visualizza"
11
11
  edit: "Modifica"
12
12
  delete: "Elimina"
@@ -14,9 +14,11 @@ it:
14
14
  create: "Crea"
15
15
  actions: "Azioni"
16
16
  add: "Aggiungi"
17
-
17
+ cancel: "Annulla"
18
+ save_this_document_before: "Salva il documento prima"
18
19
  are_you_sure: "Sei sicuro?"
19
20
  last_updated: "Ultimo aggiornamento"
21
+ upload: "Carica"
20
22
  ago: "fa"
21
23
  ok: "Ok"
22
24
  this_record_contains_some_errors: "Questa linea contiene alcuni errori"
@@ -9,6 +9,7 @@ it:
9
9
  text: "Testo"
10
10
  date: "Data"
11
11
  tag_list: "Tag"
12
+ caption: "Didascalia"
12
13
  section: "Sezione"
13
14
  created_at: "Data di creazione"
14
15
  published: "Pubblicato"
@@ -56,4 +57,4 @@ it:
56
57
  speaker: "Relatore"
57
58
  learning_module: "Modulo didattico"
58
59
  lecture_room: "Classe"
59
-
60
+ speakers: "Relatori"
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "fullstack-admin"
8
- s.version = "0.1.25"
8
+ s.version = "0.1.26"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["mcasimir"]
12
- s.date = "2012-08-19"
12
+ s.date = "2012-08-20"
13
13
  s.description = "Administration interface framework for fullstack"
14
14
  s.email = "maurizio.cas@gmail.com"
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fullstack-admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.25
4
+ version: 0.1.26
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-19 00:00:00.000000000 Z
12
+ date: 2012-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -1328,7 +1328,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1328
1328
  version: '0'
1329
1329
  segments:
1330
1330
  - 0
1331
- hash: 276906073530825344
1331
+ hash: 4257810632993318205
1332
1332
  required_rubygems_version: !ruby/object:Gem::Requirement
1333
1333
  none: false
1334
1334
  requirements: