Ignore:
Timestamp:
Mar 22, 2020, 12:03:15 PM (7 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
9f5877d
Parents:
a88607b
git-author:
Joachim Langenbach <joachim.langenbach@…> (03/22/20 11:27:40)
git-committer:
Joachim Langenbach <joachim.langenbach@…> (03/22/20 12:03:15)
Message:
  • Renamed gaugeLevel to gaugeHeight (Stage)
  • Fixed missing comment in gauge table view

Signed-off-by: Joachim Langenbach <joachim.langenbach@…>

Location:
src/mapservice-webclient/src/app
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/mapservice-webclient/src/app/logs/logs.component.html

    ra88607b rf601952  
    99        <th>Device</th>
    1010        <th>Gauge</th>
    11         <th>Gauge Level</th>
     11        <th>Gauge Height</th>
    1212        <th>Start</th>
    1313        <th>End</th>
    … …  
    4242      </ng-container>
    4343      <ng-template #noLogs>
    44         <tr><td colspan="8">No Logfiles</td></tr>
     44        <tr><td colspan="9">No Logfiles</td></tr>
    4545      </ng-template>
    4646    </tbody>
  • src/mapservice-webclient/src/app/mygnuboat/logadd.component.html

    ra88607b rf601952  
    1919      </div>
    2020      <div class="pure-control-group">
    21         <label for="gaugeLevel" i18n="@@logEditGaugeLevel">Gauge Level in metre:</label>
    22         <input #logGaugeLevelInput ngModel formControlName='gaugeLevel' type='number' i18n-placeholder placeholder="Level as number with . as decimal seperator" required>
    23         <span *ngIf="logForm.controls['gaugeLevel'].errors" class="pure-form-message-inline" i18n="@@logGaugeLevelRequired">Level of gauge is required.</span>
     21        <label for="gaugeHeight" i18n="@@logEditGaugeHeight">Gauge Height (Stage) in metre:</label>
     22        <input #logGaugeHeightInput ngModel formControlName='gaugeHeight' type='number' i18n-placeholder placeholder="Level as number with . as decimal seperator" required>
     23        <span *ngIf="logForm.controls['gaugeHeight'].errors" class="pure-form-message-inline" i18n="@@logGaugeHeightRequired">Level of gauge is required.</span>
    2424      </div>
    2525      <div class="pure-control-group">
  • src/mapservice-webclient/src/app/mygnuboat/logadd.component.ts

    ra88607b rf601952  
    8888      device: [, Validators.required],
    8989      gauge: [, Validators.required],
    90       gaugeLevel: [, Validators.required],
     90      gaugeHeight: [, Validators.required],
    9191      logfile: [, Validators.required],
    9292      comment: [],
    … …  
    198198    logCreation.device = this.device.id;
    199199    logCreation.gauge = this.gauge.id;
    200     logCreation.gaugeLevel = this.logForm.get('gaugeLevel').value;
     200    logCreation.gaugeHeight = this.logForm.get('gaugeHeight').value;
    201201    logCreation.comment = (this.logForm.get('comment').value == undefined) ? "" : this.logForm.get('comment').value;
    202202
  • src/mapservice-webclient/src/app/water/gauges.component.html

    ra88607b rf601952  
    66      <th>Latitude</th>
    77      <th>Longitude</th>
     8      <th>Comment</th>
    89      <th></th>
    910      <th></th>
    … …  
    1718        <td>{{decimalDegreesToDegreesMinutesSeconds(gauge.location[0], Coordinate.Longitude)}}</td>
    1819        <td>
     20          <ng-container *ngIf="gauge.comment">
     21            {{gauge.comment}}
     22          </ng-container>
     23        </td>
     24        <td>
    1925          <a *ngIf="currentUser" class="pure-button button-add" [routerLink]="['/mygnuboat/log/add']" [queryParams]="logParameter.getAddParameter(water, undefined, gauge)">Add Logfile</a>
    2026        </td>
    … …  
    2531    </ng-container>
    2632    <ng-template #noGauges>
    27       <tr><td colspan="4">No Gauges</td></tr>
     33      <tr><td colspan="6">No Gauges</td></tr>
    2834    </ng-template>
    2935  </tbody>
Note: See TracChangeset for help on using the changeset viewer.