mumuki-laboratory 8.6.1 → 9.0.4
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/mumuki_laboratory/application/certificate.js +17 -0
- data/app/assets/javascripts/mumuki_laboratory/application/faqs.js +90 -0
- data/app/assets/javascripts/mumuki_laboratory/application/organization.js +32 -0
- data/app/assets/javascripts/mumuki_laboratory/application/submissions-store.js +1 -1
- data/app/assets/javascripts/mumuki_laboratory/application/user.js +49 -5
- data/app/assets/stylesheets/mumuki_laboratory/application/_layout.scss +3 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/_modules.scss +3 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_certificate.scss +33 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_content_show.scss +15 -2
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_faqs.scss +84 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_medal.scss +1 -1
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_user_menu.scss +63 -0
- data/app/assets/stylesheets/mumuki_laboratory/application/modules/_user_profile.scss +11 -0
- data/app/controllers/api/base_controller.rb +0 -1
- data/app/controllers/api/courses_controller.rb +1 -1
- data/app/controllers/api/organizations_controller.rb +5 -2
- data/app/controllers/api/roles_controller.rb +4 -0
- data/app/controllers/api/users_controller.rb +6 -1
- data/app/controllers/certificates_controller.rb +28 -0
- data/app/controllers/concerns/with_authorization.rb +1 -16
- data/app/controllers/concerns/with_certificate_render.rb +25 -0
- data/app/controllers/concerns/with_user_params.rb +4 -0
- data/app/controllers/discussions_messages_controller.rb +0 -1
- data/app/controllers/faqs_controller.rb +6 -0
- data/app/controllers/users_controller.rb +12 -5
- data/app/helpers/breadcrumbs_helper.rb +4 -0
- data/app/helpers/certificate_helper.rb +13 -0
- data/app/helpers/content_view_helper.rb +19 -0
- data/app/helpers/links_helper.rb +11 -3
- data/app/helpers/menu_bar_helper.rb +15 -11
- data/app/helpers/user_menu_helper.rb +36 -0
- data/app/mailers/application_mailer.rb +0 -1
- data/app/mailers/user_mailer.rb +9 -0
- data/app/views/certificates/_certificate.html.erb +44 -0
- data/app/views/certificates/_download.html.erb +20 -0
- data/app/views/certificates/verify.html.erb +40 -0
- data/app/views/chapters/show.html.erb +15 -14
- data/app/views/complements/show.html.erb +1 -1
- data/app/views/exams/show.html.erb +1 -1
- data/app/views/{layouts → exercises}/_exercise_skipped.html.erb +0 -0
- data/app/views/exercises/_exercise_title_icons.html.erb +4 -0
- data/app/views/exercises/show.html.erb +4 -7
- data/app/views/faqs/index.html.erb +20 -0
- data/app/views/{layouts → guides}/_guide.html.erb +0 -0
- data/app/views/guides/_guide_container.html.erb +24 -0
- data/app/views/{layouts → guides}/_guide_title_icons.html.erb +1 -3
- data/app/views/layouts/_main.html.erb +4 -0
- data/app/views/layouts/_progress_listing.html.erb +1 -1
- data/app/views/layouts/_user_menu.html.erb +17 -0
- data/app/views/layouts/application.html.erb +6 -1
- data/app/views/layouts/exercise_inputs/editors/_code.html.erb +2 -1
- data/app/views/lessons/show.html.erb +1 -1
- data/app/views/user_mailer/certificate.html.erb +339 -0
- data/app/views/user_mailer/certificate.text.erb +10 -0
- data/app/views/users/_user_form.html.erb +10 -8
- data/app/views/users/certificates.html.erb +32 -0
- data/app/views/users/discussions.html.erb +28 -0
- data/app/views/users/edit.html.erb +1 -1
- data/app/views/users/messages.html.erb +27 -0
- data/app/views/users/show.html.erb +4 -51
- data/app/views/users/terms.html.erb +1 -1
- data/config/routes.rb +9 -0
- data/lib/mumuki/laboratory/locales/en.yml +10 -1
- data/lib/mumuki/laboratory/locales/es-CL.yml +10 -1
- data/lib/mumuki/laboratory/locales/es.yml +10 -1
- data/lib/mumuki/laboratory/locales/pt.yml +10 -1
- data/lib/mumuki/laboratory/version.rb +1 -1
- data/spec/controllers/certificates_controller_spec.rb +15 -0
- data/spec/controllers/organizations_api_controller_spec.rb +16 -9
- data/spec/dummy/db/schema.rb +25 -1
- data/spec/features/certificate_programs_flow_spec.rb +17 -0
- data/spec/features/exercise_flow_spec.rb +3 -3
- data/spec/features/login_flow_spec.rb +1 -1
- data/spec/features/menu_bar_spec.rb +44 -24
- data/spec/features/profile_flow_spec.rb +17 -7
- data/spec/helpers/application_helper_spec.rb +10 -0
- data/spec/helpers/certificate_helper_spec.rb +15 -0
- metadata +81 -10
- data/app/views/layouts/_guide_container.html.erb +0 -28
@@ -26,4 +26,14 @@ describe ApplicationHelper, organization_workspace: :test do
|
|
26
26
|
it { expect(link_to_path_element(lesson)).to start_with '<a href="/lessons/1-foo">foo' }
|
27
27
|
end
|
28
28
|
|
29
|
+
describe 'bibliotheca links' do
|
30
|
+
let(:current_user) { create(:user) }
|
31
|
+
let(:lesson) { create(:lesson, id: 1, name: 'foo') }
|
32
|
+
let(:guide) { lesson.guide }
|
33
|
+
|
34
|
+
before { current_user.make_editor_of! guide.slug }
|
35
|
+
|
36
|
+
it { expect(url_for_bibliotheca_guide(guide)).to start_with 'http://bibliotheca.localmumuki.io/#/guides/mumuki/mumuki-test-lesson' }
|
37
|
+
end
|
38
|
+
|
29
39
|
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe CertificateHelper, organization_workspace: :test do
|
4
|
+
helper CertificateHelper
|
5
|
+
|
6
|
+
describe '#linkedin_url_to_post' do
|
7
|
+
|
8
|
+
let(:certificate) { create :certificate, code: 'abc', created_at: Time.new(2000, 1, 1) }
|
9
|
+
let(:link) { "https://www.linkedin.com/profile/add?startTask=CERTIFICATION_NAME&name=Test&organizationId=1&issueYear=2000&issueMonth=1&certUrl=http%3A%2F%2Ftest.localmumuki.io%2Fcertificates%2Fverify%2Fabc&certId=abc" }
|
10
|
+
|
11
|
+
before { allow(ENV).to receive(:[]).with('MUMUKI_LINKEDIN_ORGANIZATION_ID').and_return '1' }
|
12
|
+
it { expect(linkedin_post_url(certificate).to_s).to eq link }
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumuki-laboratory
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 9.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 9.0.2
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 9.0.2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mumukit-bridge
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '7.
|
61
|
+
version: '7.6'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '7.
|
68
|
+
version: '7.6'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mumukit-nuntius
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -290,6 +290,48 @@ dependencies:
|
|
290
290
|
- - "~>"
|
291
291
|
- !ruby/object:Gem::Version
|
292
292
|
version: '3.7'
|
293
|
+
- !ruby/object:Gem::Dependency
|
294
|
+
name: wkhtmltopdf-binary
|
295
|
+
requirement: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '0.12'
|
300
|
+
type: :runtime
|
301
|
+
prerelease: false
|
302
|
+
version_requirements: !ruby/object:Gem::Requirement
|
303
|
+
requirements:
|
304
|
+
- - "~>"
|
305
|
+
- !ruby/object:Gem::Version
|
306
|
+
version: '0.12'
|
307
|
+
- !ruby/object:Gem::Dependency
|
308
|
+
name: wicked_pdf
|
309
|
+
requirement: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - "~>"
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '1.4'
|
314
|
+
type: :runtime
|
315
|
+
prerelease: false
|
316
|
+
version_requirements: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - "~>"
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '1.4'
|
321
|
+
- !ruby/object:Gem::Dependency
|
322
|
+
name: rqrcode
|
323
|
+
requirement: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - "~>"
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '1.2'
|
328
|
+
type: :runtime
|
329
|
+
prerelease: false
|
330
|
+
version_requirements: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - "~>"
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '1.2'
|
293
335
|
- !ruby/object:Gem::Dependency
|
294
336
|
name: pg
|
295
337
|
requirement: !ruby/object:Gem::Requirement
|
@@ -356,6 +398,7 @@ files:
|
|
356
398
|
- app/assets/javascripts/mumuki_laboratory/application/assets-loader.js
|
357
399
|
- app/assets/javascripts/mumuki_laboratory/application/bridge.js
|
358
400
|
- app/assets/javascripts/mumuki_laboratory/application/button.js
|
401
|
+
- app/assets/javascripts/mumuki_laboratory/application/certificate.js
|
359
402
|
- app/assets/javascripts/mumuki_laboratory/application/characters.js
|
360
403
|
- app/assets/javascripts/mumuki_laboratory/application/codemirror-builder.js
|
361
404
|
- app/assets/javascripts/mumuki_laboratory/application/codemirror.js
|
@@ -368,6 +411,7 @@ files:
|
|
368
411
|
- app/assets/javascripts/mumuki_laboratory/application/elipsis.js
|
369
412
|
- app/assets/javascripts/mumuki_laboratory/application/events.js
|
370
413
|
- app/assets/javascripts/mumuki_laboratory/application/exercise.js
|
414
|
+
- app/assets/javascripts/mumuki_laboratory/application/faqs.js
|
371
415
|
- app/assets/javascripts/mumuki_laboratory/application/free-form.js
|
372
416
|
- app/assets/javascripts/mumuki_laboratory/application/gamification.js
|
373
417
|
- app/assets/javascripts/mumuki_laboratory/application/i18n.js
|
@@ -383,6 +427,7 @@ files:
|
|
383
427
|
- app/assets/javascripts/mumuki_laboratory/application/multiple-files.js
|
384
428
|
- app/assets/javascripts/mumuki_laboratory/application/multiple-scenarios.js
|
385
429
|
- app/assets/javascripts/mumuki_laboratory/application/number-counter.js
|
430
|
+
- app/assets/javascripts/mumuki_laboratory/application/organization.js
|
386
431
|
- app/assets/javascripts/mumuki_laboratory/application/pin.js
|
387
432
|
- app/assets/javascripts/mumuki_laboratory/application/popover.js
|
388
433
|
- app/assets/javascripts/mumuki_laboratory/application/primary.js
|
@@ -414,6 +459,7 @@ files:
|
|
414
459
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_avatar.scss
|
415
460
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_book_header.scss
|
416
461
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_breadcrumb.scss
|
462
|
+
- app/assets/stylesheets/mumuki_laboratory/application/modules/_certificate.scss
|
417
463
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_checkboxes.scss
|
418
464
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_console.scss
|
419
465
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_content_show.scss
|
@@ -423,6 +469,7 @@ files:
|
|
423
469
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_editor.scss
|
424
470
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_exercise_assignment.scss
|
425
471
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_exercise_results.scss
|
472
|
+
- app/assets/stylesheets/mumuki_laboratory/application/modules/_faqs.scss
|
426
473
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_flash.scss
|
427
474
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_gs-board.scss
|
428
475
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_guide_corollary.scss
|
@@ -440,6 +487,7 @@ files:
|
|
440
487
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_terms.scss
|
441
488
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_timer.scss
|
442
489
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_upload.scss
|
490
|
+
- app/assets/stylesheets/mumuki_laboratory/application/modules/_user_menu.scss
|
443
491
|
- app/assets/stylesheets/mumuki_laboratory/application/modules/_user_profile.scss
|
444
492
|
- app/controllers/ajax_controller.rb
|
445
493
|
- app/controllers/api/base_controller.rb
|
@@ -454,12 +502,14 @@ files:
|
|
454
502
|
- app/controllers/assets_controller.rb
|
455
503
|
- app/controllers/book_controller.rb
|
456
504
|
- app/controllers/book_discussions_controller.rb
|
505
|
+
- app/controllers/certificates_controller.rb
|
457
506
|
- app/controllers/chapters_controller.rb
|
458
507
|
- app/controllers/complements_controller.rb
|
459
508
|
- app/controllers/concerns/on_base_organization_only.rb
|
460
509
|
- app/controllers/concerns/organizations_controller_template.rb
|
461
510
|
- app/controllers/concerns/users_controller_template.rb
|
462
511
|
- app/controllers/concerns/with_authorization.rb
|
512
|
+
- app/controllers/concerns/with_certificate_render.rb
|
463
513
|
- app/controllers/concerns/with_errors_filter.rb
|
464
514
|
- app/controllers/concerns/with_user_discussion_validation.rb
|
465
515
|
- app/controllers/concerns/with_user_params.rb
|
@@ -473,6 +523,7 @@ files:
|
|
473
523
|
- app/controllers/exercise_solutions_controller.rb
|
474
524
|
- app/controllers/exercise_tries_controller.rb
|
475
525
|
- app/controllers/exercises_controller.rb
|
526
|
+
- app/controllers/faqs_controller.rb
|
476
527
|
- app/controllers/guide_container_controller.rb
|
477
528
|
- app/controllers/guide_progress_controller.rb
|
478
529
|
- app/controllers/guides_controller.rb
|
@@ -489,12 +540,14 @@ files:
|
|
489
540
|
- app/helpers/authors_helper.rb
|
490
541
|
- app/helpers/avatar_helper.rb
|
491
542
|
- app/helpers/breadcrumbs_helper.rb
|
543
|
+
- app/helpers/certificate_helper.rb
|
492
544
|
- app/helpers/choices_helper.rb
|
493
545
|
- app/helpers/concerns/with_student_path_navigation.rb
|
494
546
|
- app/helpers/concerns/with_student_path_navigation/continue_navigation.rb
|
495
547
|
- app/helpers/concerns/with_student_path_navigation/finish_navigation.rb
|
496
548
|
- app/helpers/concerns/with_student_path_navigation/navigation.rb
|
497
549
|
- app/helpers/concerns/with_student_path_navigation/revisit_navigation.rb
|
550
|
+
- app/helpers/content_view_helper.rb
|
498
551
|
- app/helpers/contextualization_result_helper.rb
|
499
552
|
- app/helpers/discussions_helper.rb
|
500
553
|
- app/helpers/editor_helper.rb
|
@@ -518,12 +571,16 @@ files:
|
|
518
571
|
- app/helpers/progress_bar_helper.rb
|
519
572
|
- app/helpers/progress_helper.rb
|
520
573
|
- app/helpers/runner_assets_helper.rb
|
574
|
+
- app/helpers/user_menu_helper.rb
|
521
575
|
- app/mailers/application_mailer.rb
|
522
576
|
- app/mailers/user_mailer.rb
|
523
577
|
- app/views/appendixes/show.html.erb
|
524
578
|
- app/views/book/_header.html.erb
|
525
579
|
- app/views/book/show.html.erb
|
526
580
|
- app/views/book_discussions/index.html.erb
|
581
|
+
- app/views/certificates/_certificate.html.erb
|
582
|
+
- app/views/certificates/_download.html.erb
|
583
|
+
- app/views/certificates/verify.html.erb
|
527
584
|
- app/views/chapters/show.html.erb
|
528
585
|
- app/views/complements/show.html.erb
|
529
586
|
- app/views/discussions/_description_message.html.erb
|
@@ -555,18 +612,20 @@ files:
|
|
555
612
|
- app/views/exercise_solutions/_results_hidden.html.erb
|
556
613
|
- app/views/exercise_solutions/_results_title.html.erb
|
557
614
|
- app/views/exercises/_exercise_assignment.html.erb
|
615
|
+
- app/views/exercises/_exercise_skipped.html.erb
|
616
|
+
- app/views/exercises/_exercise_title_icons.html.erb
|
558
617
|
- app/views/exercises/_read_only.html.erb
|
559
618
|
- app/views/exercises/show.html.erb
|
619
|
+
- app/views/faqs/index.html.erb
|
620
|
+
- app/views/guides/_guide.html.erb
|
621
|
+
- app/views/guides/_guide_container.html.erb
|
622
|
+
- app/views/guides/_guide_title_icons.html.erb
|
560
623
|
- app/views/invitations/_invitation_form.html.erb
|
561
624
|
- app/views/invitations/show.html.erb
|
562
625
|
- app/views/layouts/_authoring.html.erb
|
563
626
|
- app/views/layouts/_copyright.html.erb
|
564
627
|
- app/views/layouts/_discussions.html.erb
|
565
628
|
- app/views/layouts/_error.html.erb
|
566
|
-
- app/views/layouts/_exercise_skipped.html.erb
|
567
|
-
- app/views/layouts/_guide.html.erb
|
568
|
-
- app/views/layouts/_guide_container.html.erb
|
569
|
-
- app/views/layouts/_guide_title_icons.html.erb
|
570
629
|
- app/views/layouts/_kids.html.erb
|
571
630
|
- app/views/layouts/_kindergarten.html.erb
|
572
631
|
- app/views/layouts/_main.html.erb
|
@@ -585,6 +644,7 @@ files:
|
|
585
644
|
- app/views/layouts/_terms_acceptance_disclaimer.html.erb
|
586
645
|
- app/views/layouts/_test_results.html.erb
|
587
646
|
- app/views/layouts/_timer.html.erb
|
647
|
+
- app/views/layouts/_user_menu.html.erb
|
588
648
|
- app/views/layouts/application.html.erb
|
589
649
|
- app/views/layouts/embedded.html.erb
|
590
650
|
- app/views/layouts/exercise_inputs/editors/_code.html.erb
|
@@ -638,6 +698,8 @@ files:
|
|
638
698
|
- app/views/user_mailer/2nd_reminder.text.erb
|
639
699
|
- app/views/user_mailer/3rd_reminder.html.erb
|
640
700
|
- app/views/user_mailer/3rd_reminder.text.erb
|
701
|
+
- app/views/user_mailer/certificate.html.erb
|
702
|
+
- app/views/user_mailer/certificate.text.erb
|
641
703
|
- app/views/user_mailer/no_submissions_reminder.html.erb
|
642
704
|
- app/views/user_mailer/no_submissions_reminder.text.erb
|
643
705
|
- app/views/users/_avatar_list.html.erb
|
@@ -645,7 +707,10 @@ files:
|
|
645
707
|
- app/views/users/_profile_fields.html.erb
|
646
708
|
- app/views/users/_term.html.erb
|
647
709
|
- app/views/users/_user_form.html.erb
|
710
|
+
- app/views/users/certificates.html.erb
|
711
|
+
- app/views/users/discussions.html.erb
|
648
712
|
- app/views/users/edit.html.erb
|
713
|
+
- app/views/users/messages.html.erb
|
649
714
|
- app/views/users/show.html.erb
|
650
715
|
- app/views/users/terms.html.erb
|
651
716
|
- config/i18n-tasks.yml
|
@@ -693,6 +758,7 @@ files:
|
|
693
758
|
- spec/api_helper.rb
|
694
759
|
- spec/capybara_helper.rb
|
695
760
|
- spec/controllers/api_clients_controller.rb
|
761
|
+
- spec/controllers/certificates_controller_spec.rb
|
696
762
|
- spec/controllers/chapters_controller_spec.rb
|
697
763
|
- spec/controllers/confirmations_controller_spec.rb
|
698
764
|
- spec/controllers/courses_api_controller_spec.rb
|
@@ -755,6 +821,7 @@ files:
|
|
755
821
|
- spec/dummy/public/error/timeout_3.svg
|
756
822
|
- spec/dummy/public/medal/outline.svg
|
757
823
|
- spec/evaluation_helper.rb
|
824
|
+
- spec/features/certificate_programs_flow_spec.rb
|
758
825
|
- spec/features/chapters_flow_spec.rb
|
759
826
|
- spec/features/complements_flow_spec.rb
|
760
827
|
- spec/features/disable_user_flow_spec.rb
|
@@ -786,6 +853,7 @@ files:
|
|
786
853
|
- spec/helpers/authors_helper_spec.rb
|
787
854
|
- spec/helpers/avatar_helper_spec.rb
|
788
855
|
- spec/helpers/breadcrumbs_helper_spec.rb
|
856
|
+
- spec/helpers/certificate_helper_spec.rb
|
789
857
|
- spec/helpers/email_helper_spec.rb
|
790
858
|
- spec/helpers/exercise_input_helper_spec.rb
|
791
859
|
- spec/helpers/icons_helper_spec.rb
|
@@ -895,6 +963,7 @@ test_files:
|
|
895
963
|
- spec/controllers/discussions_messages_controller_spec.rb
|
896
964
|
- spec/controllers/users_api_controller_spec.rb
|
897
965
|
- spec/controllers/chapters_controller_spec.rb
|
966
|
+
- spec/controllers/certificates_controller_spec.rb
|
898
967
|
- spec/controllers/organizations_api_controller_spec.rb
|
899
968
|
- spec/controllers/users_controller_spec.rb
|
900
969
|
- spec/evaluation_helper.rb
|
@@ -954,6 +1023,7 @@ test_files:
|
|
954
1023
|
- spec/features/not_found_public_flow_spec.rb
|
955
1024
|
- spec/features/home_private_flow_spec.rb
|
956
1025
|
- spec/features/login_flow_spec.rb
|
1026
|
+
- spec/features/certificate_programs_flow_spec.rb
|
957
1027
|
- spec/features/links_flow_spec.rb
|
958
1028
|
- spec/features/complements_flow_spec.rb
|
959
1029
|
- spec/features/notifications_flow_spec.rb
|
@@ -1001,6 +1071,7 @@ test_files:
|
|
1001
1071
|
- spec/helpers/page_title_helper_spec.rb
|
1002
1072
|
- spec/helpers/with_navigation_spec.rb
|
1003
1073
|
- spec/helpers/authors_helper_spec.rb
|
1074
|
+
- spec/helpers/certificate_helper_spec.rb
|
1004
1075
|
- spec/helpers/email_helper_spec.rb
|
1005
1076
|
- spec/helpers/with_choices_spec.rb
|
1006
1077
|
- spec/helpers/avatar_helper_spec.rb
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<%= content_for :breadcrumbs do %>
|
2
|
-
<%= breadcrumbs subject %>
|
3
|
-
<% end %>
|
4
|
-
|
5
|
-
<%= render layout: 'layouts/guide', locals: { subject: subject } do %>
|
6
|
-
|
7
|
-
<div class="row">
|
8
|
-
<div class="mu-inline-block-right">
|
9
|
-
<h1><%= language_icon @guide.language %></h1>
|
10
|
-
</div>
|
11
|
-
<div class="mu-inline-block-left guide-header">
|
12
|
-
<h1 class="pull-left">
|
13
|
-
<span class="pull-left">
|
14
|
-
<%= subject.name %>
|
15
|
-
</span>
|
16
|
-
<%= render partial: 'layouts/guide_title_icons' %>
|
17
|
-
</h1>
|
18
|
-
</div>
|
19
|
-
</div>
|
20
|
-
<div class="row">
|
21
|
-
<div class="col-md-12">
|
22
|
-
<div class="text-box">
|
23
|
-
<%= @guide.description_html %>
|
24
|
-
</div>
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<% end %>
|