itsf_backend 4.0.0 → 4.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/itsf/backend/application.js +0 -1
- data/app/assets/stylesheets/itsf/backend/application/auxiliary-navigation.css.less +3 -1
- data/app/assets/stylesheets/itsf/backend/application/basic-page.css.less +6 -0
- data/app/assets/stylesheets/itsf/backend/application/vertical-navigation.css.less +1 -1
- data/app/controllers/itsf/backend/resource/base_controller.rb +4 -4
- data/app/views/itsf/backend/dashboard/index.html.haml +2 -1
- data/app/views/itsf/backend/resource/base/index.html.haml +3 -3
- data/app/views/itsf/backend/resource/base/show.html.haml +0 -2
- data/app/views/layouts/itsf/backend/base.html.haml +1 -1
- data/config/locales/de.yml +1 -1
- data/config/locales/en.yml +8 -1
- data/lib/itsf/backend/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94b8e68b7534779006c7efef17f7c4a0bad73d5a
|
4
|
+
data.tar.gz: 07d612fba03a8d9468d81b7b10340d847493e4fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d458482ff907892c59a67594bad8cffd9d70738b16c13c13edba09cc0cc16a78b2b2aa1c04882622231fd9e8e288aa622bd232a34792c9032520a7f375bfd5d
|
7
|
+
data.tar.gz: 5003c6a306f2e86ce2f1ab7193c0b0bae7d184b250804e6a6e744666b414cdabe388b6ff797d3bde232480a89208e8174e148856fbcf5f0aa30d6c5b32359bab
|
@@ -45,14 +45,14 @@ module Itsf::Backend
|
|
45
45
|
private
|
46
46
|
|
47
47
|
def after_create_location
|
48
|
-
return edit_resource_path(@resource) if params.has_key?(:commit_and_continue_with_edit)
|
49
|
-
return new_resource_path if params.has_key?(:commit_and_continue_with_new)
|
48
|
+
return edit_resource_path(@resource) if params.has_key?(:commit_and_continue_with_edit) && @resource.persisted?
|
49
|
+
return new_resource_path if params.has_key?(:commit_and_continue_with_new) && @resource.persisted?
|
50
50
|
@resource
|
51
51
|
end
|
52
52
|
|
53
53
|
def after_update_location
|
54
|
-
return edit_resource_path(@resource) if params.has_key?(:commit_and_continue_with_edit)
|
55
|
-
return new_resource_path if params.has_key?(:commit_and_continue_with_new)
|
54
|
+
return edit_resource_path(@resource) if params.has_key?(:commit_and_continue_with_edit) && !@resource.changed?
|
55
|
+
return new_resource_path if params.has_key?(:commit_and_continue_with_new) && !@resource.changed?
|
56
56
|
@resource
|
57
57
|
end
|
58
58
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
#page-title.bottom-margin-1
|
2
|
-
|
2
|
+
.col-lg-12
|
3
|
+
%h3= t('.title')
|
3
4
|
|
4
5
|
- Itsf::Backend::Configuration.backend_engines.each do |engine|
|
5
6
|
- if !Itsf::Backend.features?(:pundit) || engine_policy(engine).access?
|
@@ -49,10 +49,10 @@
|
|
49
49
|
.panel-footer
|
50
50
|
- if features?(:kaminari)
|
51
51
|
.row
|
52
|
-
.col-md-
|
53
|
-
.col-md-
|
52
|
+
.col-md-3
|
53
|
+
.col-md-6
|
54
54
|
.text-center= paginate @collection, theme: 'twitter-bootstrap-3'
|
55
|
-
.col-md-
|
55
|
+
.col-md-3
|
56
56
|
|
57
57
|
= render 'index_extras', collection: @collection
|
58
58
|
|
@@ -27,7 +27,7 @@
|
|
27
27
|
= stylesheet_link_tag engine.name.underscore.gsub('/', '_').gsub('_engine', ''), media: "all"
|
28
28
|
|
29
29
|
%body
|
30
|
-
#auxiliary-navigation
|
30
|
+
#auxiliary-navigation.navbar.navbar-default.navbar-fixed-top
|
31
31
|
= render 'layouts/itsf/backend/auxiliary_navigation'
|
32
32
|
|
33
33
|
.container-fluid
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
@@ -62,7 +62,7 @@ en:
|
|
62
62
|
dashboard_panel:
|
63
63
|
view: 'Show'
|
64
64
|
index:
|
65
|
-
title: "Welcome to the
|
65
|
+
title: "Welcome to the Backend"
|
66
66
|
resource:
|
67
67
|
base:
|
68
68
|
edit:
|
@@ -102,8 +102,15 @@ en:
|
|
102
102
|
layouts:
|
103
103
|
itsf:
|
104
104
|
backend:
|
105
|
+
auxiliary_navigation:
|
106
|
+
title: "%{application_name}"
|
107
|
+
base:
|
108
|
+
title: "%{application_name}"
|
105
109
|
main_navigation:
|
106
110
|
title: "%{application_name}"
|
111
|
+
vertical_navigation:
|
112
|
+
home: "Home"
|
113
|
+
title: "%{application_name}"
|
107
114
|
locales:
|
108
115
|
en: English
|
109
116
|
routes:
|
data/lib/itsf/backend/version.rb
CHANGED
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: 4.0.
|
4
|
+
version: 4.0.1
|
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: 2017-07-
|
11
|
+
date: 2017-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|