ecm_staff2 0.0.3 → 1.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/helpers/ecm/staff_helper.rb +8 -0
- data/app/views/ecm/staff/people/_person.haml +9 -12
- data/app/views/ecm/staff/people/_person_in_index.haml +6 -13
- data/app/views/ecm/staff/people/show.haml +10 -4
- data/config/locales/de.yml +2 -0
- data/lib/ecm/staff/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: 9a41d9c23266ee78446b7dd0388659df2cb692f5
|
4
|
+
data.tar.gz: 070733f746e18c2b6ac5f67112114cbbf59a58ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89c37d915844343eee9d34713698f798f6dbe3554f8855f70a2c31577b40db6a930405e7e3b0115f76fb654db76ae48bbfd9998c4c02f64d592447a0660a89f9
|
7
|
+
data.tar.gz: 43c04949941e667233d424be63e1d3f0417a7b8dfe0773160fa14ce430923eae8c4b925345d0c3de43a15d561f8f8ed8abbf20c226c2ea58240c0ab31e74a0cf
|
@@ -1,12 +1,9 @@
|
|
1
|
-
.
|
2
|
-
.
|
3
|
-
-
|
4
|
-
=
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
= person.description.to_html.html_safe if person.description.present?
|
11
|
-
.person-positions
|
12
|
-
= render 'person_positions_table', person: person if person.person_positions.present?
|
1
|
+
.row
|
2
|
+
.col-lg-12
|
3
|
+
.news-item.show
|
4
|
+
%h1= person.fullname_with_prefix
|
5
|
+
|
6
|
+
- if person.preview_picture.present?
|
7
|
+
%img.img-responsive.bottom-margin-2{:alt => person.preview_picture.description, :src => person.preview_picture.image.url, :title => person.preview_picture.description}/
|
8
|
+
|
9
|
+
.item-body= mu(person, :description)
|
@@ -1,13 +1,6 @@
|
|
1
|
-
|
2
|
-
.
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
-
|
7
|
-
.preview-picture-placeholder.well= link_to "☺".html_safe, person
|
8
|
-
.media-heading
|
9
|
-
%h4= link_to person.fullname_with_prefix, person
|
10
|
-
.person-description
|
11
|
-
= person.description.to_html.html_safe if person.description.present?
|
12
|
-
.person-positions
|
13
|
-
= render 'person_positions_table', person: person if person.person_positions.present?
|
1
|
+
= bootstrap_responsive_media_object(image_options: { src: person.preview_picture_image_url(:medium_thumb)}) do
|
2
|
+
%h4= person.fullname_with_prefix
|
3
|
+
.truncate.lines-5
|
4
|
+
= person.description.to_html.html_safe
|
5
|
+
= bootstrap_button(to: ecm_staff.url_for(person), context: :primary) do
|
6
|
+
- t('.more')
|
@@ -1,5 +1,11 @@
|
|
1
|
-
|
1
|
+
- content_for :meta_description, @resource.fullname_with_prefix
|
2
|
+
- content_for :title, @resource.fullname_with_prefix
|
3
|
+
|
2
4
|
= render @resource
|
3
|
-
|
4
|
-
|
5
|
-
|
5
|
+
|
6
|
+
.row
|
7
|
+
.col-lg-12
|
8
|
+
.page-actions
|
9
|
+
= bootstrap_button_group do
|
10
|
+
= bootstrap_button(to: :back, context: :default) do
|
11
|
+
= t('.back')
|
data/config/locales/de.yml
CHANGED
data/lib/ecm/staff/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_staff2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.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-04-
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -95,6 +95,7 @@ files:
|
|
95
95
|
- app/controllers/ecm/staff/application_controller.rb
|
96
96
|
- app/controllers/ecm/staff/people_controller.rb
|
97
97
|
- app/helpers/ecm/staff/application_helper.rb
|
98
|
+
- app/helpers/ecm/staff_helper.rb
|
98
99
|
- app/models/ecm/staff/base.rb
|
99
100
|
- app/models/ecm/staff/business_unit.rb
|
100
101
|
- app/models/ecm/staff/organisation.rb
|