All files / app/component/mod mod.component.html

23.25% Statements 10/43
28.57% Branches 10/35
100% Functions 0/0
35.71% Lines 10/28

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 432x 1x               2x 1x               2x 1x               2x 1x               2x 1x          
@if (mod?.ref?.length) {
  <h5 i18n>Refs</h5>
  @for (ref of mod?.ref || []; track ref) {
    <app-ref [ref]="ref"></app-ref>
  }
  @if (mod?.ext?.length || mod?.user?.length || mod?.plugin?.length || mod?.template?.length) {
    <hr>
  }
}
@if (mod?.ext?.length) {
  <h5 i18n>Exts</h5>
  @for (ext of mod?.ext || []; track ext) {
    <app-ext [ext]="ext"></app-ext>
  }
  @if (mod?.user?.length || mod?.plugin?.length || mod?.template?.length) {
    <hr>
  }
}
@if (mod?.user?.length) {
  <h5 i18n>Users</h5>
  @for (user of mod?.user || []; track user) {
    <app-user [user]="user"></app-user>
  }
  @if (mod?.plugin?.length || mod?.template?.length) {
    <hr>
  }
}
@if (mod?.plugin?.length) {
  <h5 i18n>Plugins</h5>
  @for (plugin of mod?.plugin || []; track plugin.tag) {
    <app-plugin [plugin]="plugin"></app-plugin>
  }
  @if (mod?.template?.length) {
    <hr>
  }
}
@if (mod?.template?.length) {
  <h5 i18n>Templates</h5>
  @for (template of mod?.template || []; track template.tag) {
    <app-template [template]="template"></app-template>
  }
}