thecore_print_commons 0.1.5 → 0.1.6
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.
- checksums.yaml +4 -4
- data/config/initializers/thecore_print_commons_static_links.rb +7 -0
- data/config/locales/telnet_print.activerecord.it.yml +1 -1
- data/config/locales/telnet_print.en.yml +4 -9
- data/config/locales/telnet_print.it.yml +4 -12
- data/lib/thecore_print_commons/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6e7aceabc46aadca29eed42ab86b302a444311a6
|
|
4
|
+
data.tar.gz: 0ef5ee3eede6a4257a82907831d53c2782e3f757
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 335fcfe28866f97c7a3ac67989c15c37c6c426bdb7bcdfd00343e0084870e8537c4f19689807973c243f6111c7bd335fa1f32d38f06342b14e18c40efd955b69
|
|
7
|
+
data.tar.gz: 82bf01902631384e717ffffb437625760b5cede8f7493b1c7c7e1f421ce84acea34e8f695cc482445d74469dbbcfa5798edfb0b110281d8502c317fa4b7cb47f
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# require 'uri'
|
|
2
|
+
# uri = URI.parse(ENV['RAILS_RELATIVE_URL_ROOT'] || "http://#{Socket.ip_address_list[1].ip_address}")
|
|
3
|
+
|
|
4
|
+
# # Not so good, but let's try
|
|
5
|
+
# RailsAdmin.config do |config|
|
|
6
|
+
# (config.navigation_static_links ||= {}).merge! "CUPS Printers" => "#{uri.scheme}://#{uri.host}:631"
|
|
7
|
+
# end
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
|
|
2
1
|
en:
|
|
3
2
|
admin:
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
breadcrumb: "Telnet Print"
|
|
9
|
-
link: "Telnet Print"
|
|
10
|
-
bulk_link: "Telnet Print selected %{model_label_plural}"
|
|
11
|
-
done: "Telnet Printed"
|
|
3
|
+
help:
|
|
4
|
+
print:
|
|
5
|
+
ip: '%{help}. If this select box is empty, it means you just need to configure a printer in CUPS. As an example, you could do it, for a SMB shared printer, running a command like this: sudo lpadmin -p PrinterName -E -v smb://username:password_urlencoded@WORKGROUP/PRINTSERVER/PRINTER -m raw -L "LOCATION"'
|
|
6
|
+
|
|
@@ -1,13 +1,5 @@
|
|
|
1
1
|
it:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
menu: "Stampa per %{model_label} '%{object_label}'"
|
|
7
|
-
breadcrumb: "Stampa Barcode"
|
|
8
|
-
link: "Stampa Barcode"
|
|
9
|
-
bulk_link: "Stampa barcode: %{model_label_plural}"
|
|
10
|
-
done: "Stampato"
|
|
11
|
-
used_in:
|
|
12
|
-
bundle: Sovracollo
|
|
13
|
-
commission: Barca (Commessa)
|
|
2
|
+
admin:
|
|
3
|
+
help:
|
|
4
|
+
print:
|
|
5
|
+
ip: '%{help}. Se questa lista è vuota, significa che devi ancora configurare una stampante in CUPS, ad esempio puoi farlo, per una stampante SMB, con un comando simile a questo: sudo lpadmin -p PrinterName -E -v smb://username:password_urlencoded@WORKGROUP/PRINTSERVER/PRINTER -m raw -L "LOCATION"'
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: thecore_print_commons
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gabriele Tassoni
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-10-
|
|
11
|
+
date: 2018-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thecore
|
|
@@ -67,6 +67,7 @@ files:
|
|
|
67
67
|
- app/workers/print_worker.rb
|
|
68
68
|
- config/initializers/abilities_thecore_print_commons_concern.rb
|
|
69
69
|
- config/initializers/after_initialize_for_thecore_print_commons.rb
|
|
70
|
+
- config/initializers/thecore_print_commons_static_links.rb
|
|
70
71
|
- config/locales/telnet_print.activerecord.it.yml
|
|
71
72
|
- config/locales/telnet_print.en.yml
|
|
72
73
|
- config/locales/telnet_print.it.yml
|