Skip to content

Commit

Permalink
correctly display r09 meta-information in the vehicle popup
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Nov 8, 2023
1 parent 78dc63f commit ca98a06
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
<span i18n>Source</span>
<span>{{getSourceDisplayName(vehicle.source)}}</span>
</div>
<div *ngIf="vehicle.r09_destination_number">
<div *ngIf="vehicle.r09_destination_number !== null">
<span i18n>R09 Reporting Point</span>
<span><a
[routerLink]="'/region/' + vehicle.region + '/reporting_point/' + vehicle.r09_reporting_point">{{vehicle.r09_reporting_point}}</a>
</span>
</div>
<div *ngIf="vehicle.r09_destination_number">
<div *ngIf="vehicle.r09_destination_number !== null">
<span i18n>R09 Destination</span>
<span>{{vehicle.r09_destination_number}}</span>
</div>
Expand Down
17 changes: 16 additions & 1 deletion src/locales/en-US.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -875,6 +875,10 @@
<context context-type="sourcefile">src/app/pages/region/region-list/region-list.component.html</context>
<context context-type="linenumber">11</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/region/region-map-reporting-point-info/region-map-reporting-point-info.component.html</context>
<context context-type="linenumber">11</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/region/region-reporting-point-info/region-reporting-point-info.component.html</context>
<context context-type="linenumber">3</context>
Expand All @@ -898,6 +902,10 @@
<context context-type="sourcefile">src/app/pages/region/region-list/region-list.component.html</context>
<context context-type="linenumber">12</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/region/region-map-reporting-point-info/region-map-reporting-point-info.component.html</context>
<context context-type="linenumber">15</context>
</context-group>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/region/region-reporting-point-info/region-reporting-point-info.component.html</context>
<context context-type="linenumber">7</context>
Expand Down Expand Up @@ -1012,6 +1020,13 @@
<context context-type="linenumber">27</context>
</context-group>
</trans-unit>
<trans-unit id="3912795977127385572" datatype="html">
<source>Reporting Point</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/region/region-map-reporting-point-info/region-map-reporting-point-info.component.html</context>
<context context-type="linenumber">3</context>
</context-group>
</trans-unit>
<trans-unit id="7554537083897958068" datatype="html">
<source>Run Owner</source>
<context-group purpose="location">
Expand Down Expand Up @@ -1442,7 +1457,7 @@
<source>Track was successfully deleted.</source>
<context-group purpose="location">
<context context-type="sourcefile">src/app/pages/track/track-view/track-view.component.ts</context>
<context context-type="linenumber">96</context>
<context context-type="linenumber">104</context>
</context-group>
</trans-unit>
</body>
Expand Down

0 comments on commit ca98a06

Please sign in to comment.