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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: af90d92a5ca446e33fff9af435cd299ba9412471
4
- data.tar.gz: eb9d3db8347293335f9e60633e1756f0ad836e84
3
+ metadata.gz: 2b1a5637ea7a3b714851a777b081c050d7ea3517
4
+ data.tar.gz: c771ab3d86f7f0ba5362c0cf5423899a5a68cafb
5
5
  SHA512:
6
- metadata.gz: d52b879d5bc3fb8b0cbd17ac61f1fd80b179f74ce73cc39f873284499c102bbf6dcfcfc8ada3921924b48916ed6d04a664589812d85328911b100522e69eb6aa
7
- data.tar.gz: 9b876f7fa3782b58aae2123119851112f82bb187b7aaeeb14dbf5c3d5a398fa61ea672f67fb231cebe2701f550292695f4f2b26c6e93ef7bf05dc1d60c235117
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,3 +1,4 @@
1
+ - content_for(:title) { @course_category.name }
1
2
  = render partial: 'course_category', locals: { course_category: @course_category, date: @date, course_dates: @course_dates }
2
3
 
3
4
  .course_category-calendar{ id: "course_category-#{@course_category.to_param}" }
@@ -1,6 +1,10 @@
1
- .course-date{:id => "course-date_#{@course_date.to_param}"}
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')
@@ -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'
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Courses
3
- VERSION = '0.2.2'.freeze
3
+ VERSION = '0.2.3'.freeze
4
4
  end
5
5
  end
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.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.6.10
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: