itsf_backend 1.2.4 → 1.2.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f10f146ccece0283434d65b74694792730e6e456
4
- data.tar.gz: aa91271a030f5c339f5355995524b8bb202909dc
3
+ metadata.gz: 68bd60fddecd49de12d704593b28a920d3e5b571
4
+ data.tar.gz: 5826dfea9d19eb3fdd641ea93b72703cec8e1d82
5
5
  SHA512:
6
- metadata.gz: 85d62fcedaf46a798e8374c63ab3154940cd2e05d1217ee8c7be5ac4b57fcaaa4f159ba9baf7c5830c67bf02e980b15551206953d7728a0585e46d5c38e12681
7
- data.tar.gz: 9bbb239ee75f5fc7729844f38ed40d47c39fc36d98c5424f903ce0008d06862cd7924ba0b7acbe1bf3c9e553a2921e5e750e15220a726ed4f44663cd084a24af
6
+ metadata.gz: 3291dd5f07d08962b27de8d99c4abb34b82fe5a8e409ad301b6046f51d4fc6944ab8dce0069d11c1c3bd7b8aea256f35107a44d4e72938d47e9de19c2f763ca1
7
+ data.tar.gz: fdd1f9bef1e49f0f402e422dd9ed5b6f1476556b77c3e4142fb2f87601cf08ca478c2537dd64a1f840601139b75d9f47cc9a1a67c7c31cada7161dfb348f00e6
@@ -6,7 +6,7 @@
6
6
  = simple_form_for(@service, url: call_service_path) do |f|
7
7
  = render partial: 'form_errors', locals: { response: @response || f.object }
8
8
  = render 'form', form: f
9
- = f.button :submit, class: 'btn btn-success'
9
+ = f.button :submit, t("helpers.submit.call", model: f.object.class.model_name.human), class: 'btn btn-success'
10
10
 
11
11
  %div.panel-footer
12
12
  .well.well-sm
@@ -6,6 +6,9 @@
6
6
  = render partial: 'messages', locals: { messages: @response.messages }
7
7
 
8
8
  %div.panel-footer
9
+
10
+ = render 'success_extras', service_response: @response
11
+
9
12
  .well.well-sm
10
13
  .btn-container-right
11
14
  = link_to collection_path, class: 'btn btn-default btn-responsive' do
@@ -39,6 +39,7 @@ de:
39
39
  notice: "%{resource_name} zurückgezogen."
40
40
  helpers:
41
41
  submit:
42
+ call: "%{model} ausführen"
42
43
  create_and_continue_with_edit: "%{resource_name} erstellen und weiter bearbeiten"
43
44
  create_and_continue_with_new: "%{resource_name} erstellen und neu"
44
45
  update_and_continue_with_edit: "%{resource_name} aktualisieren und weiter bearbeiten"
@@ -1,5 +1,5 @@
1
1
  module Itsf
2
2
  module Backend
3
- VERSION = '1.2.4'
3
+ VERSION = '1.2.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itsf_backend
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-14 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -561,6 +561,7 @@ files:
561
561
  - app/views/itsf/backend/service/base/_form_errors.html.haml
562
562
  - app/views/itsf/backend/service/base/_head_extras.html.haml
563
563
  - app/views/itsf/backend/service/base/_messages.html.erb
564
+ - app/views/itsf/backend/service/base/_success_extras.html.haml
564
565
  - app/views/itsf/backend/service/base/index.html.haml
565
566
  - app/views/itsf/backend/service/base/invoke.html.haml
566
567
  - app/views/itsf/backend/service/base/success.html.haml