ecm_courses2 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/ecm/courses/course_categories/index.haml +4 -1
- data/app/views/ecm/courses/course_categories/show.haml +1 -0
- data/app/views/ecm/courses/course_dates/show.haml +6 -2
- data/app/views/ecm/courses/courses/show.haml +5 -2
- data/config/locales/de.yml +14 -0
- data/lib/ecm/courses/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: 2b1a5637ea7a3b714851a777b081c050d7ea3517
|
4
|
+
data.tar.gz: c771ab3d86f7f0ba5362c0cf5423899a5a68cafb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd2d84e30fe8da285cb4fb0feaa723e0f9ab3a3fd5f55f9c8a1547d7ed82209e5f3d8e9afcea5ce5afa245d45c292fa4df6f2749963f52d9bd8288c73c6388e4
|
7
|
+
data.tar.gz: 0bb2f33238cf16c416afcf3b14e5d014e6e6bb9847568c891d71bd01fabcbd630b2dffbe6f081de20bfc6026c55a2eab82c83e65ca4dad97c64fb114be4fee90
|
@@ -1,4 +1,7 @@
|
|
1
1
|
%h1= Ecm::Courses::CourseCategory.model_name.human(count: :other)
|
2
2
|
.course_categories-tree
|
3
3
|
= nested_li(@course_categories, {}) do |course_category, level|
|
4
|
-
= link_to course_category.tree_name, course_category
|
4
|
+
= link_to course_category.tree_name, course_category
|
5
|
+
|
6
|
+
= link_to(main_app.root_path) do
|
7
|
+
= t('.back')
|
@@ -1,6 +1,10 @@
|
|
1
|
-
|
1
|
+
- content_for(:title) { "#{@course_date.course_category.name} - #{@course_date.course.name}" }
|
2
|
+
.course-date.bottom-margin-2{:id => "course-date_#{@course_date.to_param}"}
|
2
3
|
%h1= link_to @course_date.course_category.to_s, @course_date.course_category
|
3
4
|
%h2= link_to @course_date.course.to_s, @course_date.course
|
4
5
|
%h3= @course_date
|
5
6
|
.course_date-description
|
6
|
-
= @course_date.description
|
7
|
+
= @course_date.description
|
8
|
+
|
9
|
+
= link_to(@course_date.course) do
|
10
|
+
= t('.back')
|
@@ -1,7 +1,10 @@
|
|
1
|
-
.course{ id: "course_#{@course.to_param}" }
|
1
|
+
.course.bottom-margin-2{ id: "course_#{@course.to_param}" }
|
2
2
|
%h1= link_to @course.course_category, @course.course_category
|
3
3
|
%h2= @course
|
4
4
|
.course-description
|
5
5
|
= @course.description
|
6
6
|
.course-dates
|
7
|
-
= render @course.course_dates
|
7
|
+
= render @course.course_dates
|
8
|
+
|
9
|
+
= link_to(@course.course_category) do
|
10
|
+
= t('.back')
|
data/config/locales/de.yml
CHANGED
@@ -40,9 +40,23 @@ de:
|
|
40
40
|
month_with_year: '%B %Y'
|
41
41
|
ecm:
|
42
42
|
courses:
|
43
|
+
courses:
|
44
|
+
show:
|
45
|
+
back: 'Zurück'
|
43
46
|
course_categories:
|
47
|
+
index:
|
48
|
+
back: 'Zurück'
|
44
49
|
show:
|
45
50
|
calendar_heading: 'Kurskalender für %{month}'
|
51
|
+
course_dates:
|
52
|
+
show:
|
53
|
+
back: Zurück
|
54
|
+
course_category:
|
55
|
+
actions:
|
56
|
+
back_to_index: 'Zurück'
|
57
|
+
pages:
|
58
|
+
course_categories:
|
59
|
+
index: Kurskategorien
|
46
60
|
routes:
|
47
61
|
courses: 'kurse'
|
48
62
|
course_categories: 'kurs-kategorien'
|
data/lib/ecm/courses/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecm_courses2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roberto Vasquez Angel
|
@@ -388,8 +388,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
388
388
|
version: '0'
|
389
389
|
requirements: []
|
390
390
|
rubyforge_project:
|
391
|
-
rubygems_version: 2.
|
391
|
+
rubygems_version: 2.4.8
|
392
392
|
signing_key:
|
393
393
|
specification_version: 4
|
394
394
|
summary: Ecm::Courses.
|
395
395
|
test_files: []
|
396
|
+
has_rdoc:
|