ecm_links2_backend 1.1.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/ecm/links/backend/categories_controller.rb +1 -1
- data/app/controllers/ecm/links/backend/links_controller.rb +2 -6
- data/app/views/ecm/links/backend/categories/_table.html.haml +7 -7
- data/app/views/ecm/links/backend/links/_form.html.haml +2 -1
- data/app/views/ecm/links/backend/links/_table.html.haml +3 -3
- data/config/locales/de.yml +1 -2
- data/config/locales/en.yml +1 -2
- data/lib/ecm/links/backend/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d41a69bf8006cb35339c96eb137732f6c7cfd4a
|
4
|
+
data.tar.gz: 1fd6ea31cfcdd4198d18b0561dd4a9a1652bc73d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbef9d6280cd5b5e043c97de61ece6f484d52c0044075fe684dc6cefbcbbc80fed9e160c96fcd893ce8f6d962f0dcf483186f4d940fbb9a4cbe1beee40f93ae3
|
7
|
+
data.tar.gz: 8960fe9d14f01ad2fbcbbe007559734045d4f27a9ea60c5522e87e387cddf04859eaca182d469771f2d5fb936da1e650693d17edf7c0114aea6d1c6042e8b09f
|
@@ -7,7 +7,7 @@ class Ecm::Links::Backend::CategoriesController < Itsf::Backend::Resource::BaseC
|
|
7
7
|
|
8
8
|
def permitted_params
|
9
9
|
params
|
10
|
-
.require(:
|
10
|
+
.require(:category)
|
11
11
|
.permit(:parent_id, :locale, :name, :markup_language, :short_description, :long_description, :link_footer_column)
|
12
12
|
end
|
13
13
|
end
|
@@ -5,13 +5,9 @@ class Ecm::Links::Backend::LinksController < Itsf::Backend::Resource::BaseContro
|
|
5
5
|
|
6
6
|
private
|
7
7
|
|
8
|
-
def collection_scope
|
9
|
-
resource_class.includes(:ecm_links_category)
|
10
|
-
end
|
11
|
-
|
12
8
|
def permitted_params
|
13
9
|
params
|
14
|
-
.require(:
|
15
|
-
.permit(:
|
10
|
+
.require(:link)
|
11
|
+
.permit(:category_id, :name, :url, :markup_language, :description)
|
16
12
|
end
|
17
13
|
end
|
@@ -1,8 +1,8 @@
|
|
1
|
-
= table.column :locale
|
2
|
-
= table.column :parent
|
3
|
-
= table.column :name, class: 'truncate-chars truncate-chars-30'
|
4
|
-
= table.column :short_description, class: 'truncate-chars truncate-chars-30'
|
5
|
-
= table.column :long_description, class: 'truncate-chars truncate-chars-30'
|
6
|
-
= table.column :link_footer_column, class: 'truncate-chars truncate-chars-30'
|
7
|
-
= table.column :
|
1
|
+
= table.column :locale, sortable: true
|
2
|
+
= table.column :parent, sortable: true
|
3
|
+
= table.column :name, sortable: true, class: 'truncate-chars truncate-chars-30'
|
4
|
+
= table.column :short_description, sortable: true, class: 'truncate-chars truncate-chars-30'
|
5
|
+
= table.column :long_description, sortable: true, class: 'truncate-chars truncate-chars-30'
|
6
|
+
= table.column :link_footer_column, sortable: true, class: 'truncate-chars truncate-chars-30'
|
7
|
+
= table.column :links_count, sortable: true
|
8
8
|
= table.timestamps
|
@@ -1,5 +1,5 @@
|
|
1
|
-
= table.association(:
|
2
|
-
= table.column :name, class: 'truncate-chars truncate-chars-30'
|
3
|
-
= table.column :description, class: 'truncate-chars truncate-chars-30'
|
1
|
+
= table.association(:category, sortable: true)
|
2
|
+
= table.column :name, sortable: true, class: 'truncate-chars truncate-chars-30'
|
3
|
+
= table.column :description, sortable: true, class: 'truncate-chars truncate-chars-30'
|
4
4
|
= table.timestamps
|
5
5
|
= table.column(:additional_actions) { |link| link_to(t('.visit'), link.url, class: 'btn btn-xs btn-primary') }
|
data/config/locales/de.yml
CHANGED
data/config/locales/en.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_links2_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
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-
|
11
|
+
date: 2017-07-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -254,9 +254,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
254
254
|
version: '0'
|
255
255
|
requirements: []
|
256
256
|
rubyforge_project:
|
257
|
-
rubygems_version: 2.
|
257
|
+
rubygems_version: 2.6.11
|
258
258
|
signing_key:
|
259
259
|
specification_version: 4
|
260
260
|
summary: Backend Module for ECM Links 2
|
261
261
|
test_files: []
|
262
|
-
has_rdoc:
|