mondo-generators 0.6.5 → 0.6.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.6.5
1
+ 0.6.7
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{mondo-generators}
8
- s.version = "0.6.5"
8
+ s.version = "0.6.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Luca Tironi"]
@@ -61,6 +61,7 @@ Gem::Specification.new do |s|
61
61
  "rails_generators/mondo_layout/templates/images/new.gif",
62
62
  "rails_generators/mondo_layout/templates/images/no.gif",
63
63
  "rails_generators/mondo_layout/templates/images/notice.gif",
64
+ "rails_generators/mondo_layout/templates/images/show.gif",
64
65
  "rails_generators/mondo_layout/templates/images/success.gif",
65
66
  "rails_generators/mondo_layout/templates/images/yes.gif",
66
67
  "rails_generators/mondo_layout/templates/layout.html.haml",
@@ -2,7 +2,7 @@
2
2
 
3
3
  <%- if actions? :new -%>
4
4
  %p.buttons
5
- = link_to "#{image_tag("icons/new.gif")} New <%= singular_name.titleize %>", new_<%= singular_name %>_path
5
+ = link_to "#{image_tag("icons/new.gif")} New <%= singular_name.titleize %>", new_<%= singular_name %>_path, :class => "button positive"
6
6
  <%- end -%>
7
7
 
8
8
  %table
@@ -19,11 +19,11 @@
19
19
  <%- end -%>
20
20
  %td
21
21
  <%- if action? :show -%>
22
- = link_to "#{image_tag("icons/go.gif")} t("label.show")}", <%= singular_name %>, :class => "button positive"
22
+ = link_to "#{image_tag("icons/show.gif")} #{t("label.show")}", <%= singular_name %>, :class => "button positive"
23
23
  <%- end -%>
24
24
  <%- if action? :edit -%>
25
- = link_to "#{image_tag("icons/edit.gif")} t("label.edit")}", edit_<%= singular_name %>_path(<%= singular_name %>), :class => "button"
25
+ = link_to "#{image_tag("icons/edit.gif")} #{t("label.edit")}", edit_<%= singular_name %>_path(<%= singular_name %>), :class => "button"
26
26
  <%- end -%>
27
27
  <%- if action? :destroy -%>
28
- = link_to "#{image_tag("icons/delete.gif")} t("label.destroy")}", <%= singular_name %>, :confirm => t("confirm.destroy"), :method => :delete, :class => "button negative"
28
+ = link_to "#{image_tag("icons/delete.gif")} #{t("label.destroy")}", <%= singular_name %>, :confirm => t("confirm.destroy"), :method => :delete, :class => "button negative"
29
29
  <%- end -%>
@@ -8,7 +8,7 @@
8
8
 
9
9
  %p.buttons
10
10
  <%- if action? :edit -%>
11
- = link_to "#{image_tag("icons/edit.gif")} t("label.edit")}", edit_<%= singular_name %>_path(<%= singular_name %>), :class => "button positive"
11
+ = link_to "#{image_tag("icons/edit.gif")} #{t("label.edit")}", edit_<%= singular_name %>_path(@<%= singular_name %>), :class => "button positive"
12
12
  <%- end -%>
13
13
  <%- if action? :index -%>
14
14
  = link_to t("label.back"), <%= plural_name %>_path, :class => "button"
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 6
8
- - 5
9
- version: 0.6.5
8
+ - 7
9
+ version: 0.6.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Luca Tironi
@@ -72,6 +72,7 @@ files:
72
72
  - rails_generators/mondo_layout/templates/images/new.gif
73
73
  - rails_generators/mondo_layout/templates/images/no.gif
74
74
  - rails_generators/mondo_layout/templates/images/notice.gif
75
+ - rails_generators/mondo_layout/templates/images/show.gif
75
76
  - rails_generators/mondo_layout/templates/images/success.gif
76
77
  - rails_generators/mondo_layout/templates/images/yes.gif
77
78
  - rails_generators/mondo_layout/templates/layout.html.haml