• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

RoundingWell / care-ops-frontend / 8b61514d-90b5-45fb-b81d-e60b440f5d22

09 Apr 2026 07:39PM UTC coverage: 92.417% (-7.6%) from 99.976%
8b61514d-90b5-45fb-b81d-e60b440f5d22

push

circleci

nmajor25
On incoming call ringing, show 'Incoming Call' in UI panel header

1735 of 1923 branches covered (90.22%)

Branch coverage included in aggregate %.

5919 of 6359 relevant lines covered (93.08%)

195.4 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

80.0
/src/js/views/programs/program/program_views.js
1
import Radio from 'backbone.radio';
2
import hbs from 'handlebars-inline-precompile';
3
import { View } from 'marionette';
4

5
import PreloadRegion from 'js/regions/preload_region';
6

7
import './program.scss';
8

9
const ContextTrailView = View.extend({
151✔
10
  modelEvents: {
11
    'change:name': 'render',
12
  },
13
  className: 'program__context-trail',
14
  template: hbs`
15
    {{#if hasLatestList}}
16
      <a class="js-back program__context-link">
17
        {{fas "chevron-left"}}{{ @intl.programs.program.programViews.contextBackBtn }}
18
      </a>
19
      {{fas "chevron-right"}}
20
    {{/if}}{{ name }}
21
  `,
22
  triggers: {
23
    'click .js-back': 'click:back',
24
  },
25
  onClickBack() {
26
    Radio.request('history', 'go:latestList');
×
27
  },
28
  templateContext() {
29
    return {
11✔
30
      hasLatestList: Radio.request('history', 'has:latestList'),
31
    };
32
  },
33
});
34

35
const LayoutView = View.extend({
151✔
36
  className: 'program__frame',
37
  template: hbs`
38
    <div class="program__layout">
39
        <div data-context-trail-region></div>
40
        <div data-content-region></div>
41
    </div>
42
    <div class="program__sidebar" data-sidebar-region></div>
43
  `,
44
  regions: {
45
    contextTrail: {
46
      el: '[data-context-trail-region]',
47
      replaceElement: true,
48
    },
49
    sidebar: '[data-sidebar-region]',
50
    content: {
51
      el: '[data-content-region]',
52
      regionClass: PreloadRegion,
53
      replaceElement: true,
54
    },
55
  },
56
  onRender() {
57
    this.showChildView('contextTrail', new ContextTrailView({ model: this.model }));
10✔
58
  },
59
});
60

61
export {
62
  LayoutView,
63
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc