trollied 0.1.0 → 0.1.1
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 +1 -1
- data/app/views/notes/_new.html.erb +2 -2
- data/app/views/notes/_note.html.erb +3 -1
- data/config/locales/en.yml +1 -1
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<% note ||= order.notes.new
|
|
2
|
-
add_note_msg = t('.
|
|
3
|
-
add_note_msg = t('.
|
|
2
|
+
add_note_msg = t('.add_note_to_order_for_admin')
|
|
3
|
+
add_note_msg = t('.add_note_to_order_for_user') unless current_user == order.user -%>
|
|
4
4
|
|
|
5
5
|
<div class="note-form" id="note-form-for-<%= order.id -%>">
|
|
6
6
|
|
data/config/locales/en.yml
CHANGED
|
@@ -37,7 +37,7 @@ en:
|
|
|
37
37
|
said: "said"
|
|
38
38
|
new:
|
|
39
39
|
add_note_to_order_for_admin: "Add a note about this order for staff."
|
|
40
|
-
add_note_to_order_for_user: "Add a note about this order for the
|
|
40
|
+
add_note_to_order_for_user: "Add a note about this order for the owner."
|
|
41
41
|
orders:
|
|
42
42
|
edit:
|
|
43
43
|
update: "Update"
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trollied
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 1
|
|
10
|
+
version: 0.1.1
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Walter McGinnis
|