Skip to content

Commit

Permalink
printing: replace dive master by dive guide in templates
Browse files Browse the repository at this point in the history
This does not rename the variables, only the user-visible output.
Case "Dive guide" vs. "Dive Guide" is according to the rest of
the templates.

Signed-off-by: Berthold Stoeger <[email protected]>
  • Loading branch information
bstoeger authored and dirkhh committed Dec 17, 2020
1 parent 0310eb3 commit bdf990d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion printing_templates/Flowlayout.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ <h1> Buddy </h1>
</tr>
<tr>
<td class="fieldTitle">
<h1> Divemaster </h1>
<h1> Dive guide </h1>
</td>
<td class="fieldData">
<p> {{ dive.divemaster }} </p>
Expand Down
2 changes: 1 addition & 1 deletion printing_templates/One Dive.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
<p> {{ dive.duration }} </p>
</td>
<td class="fieldTitle">
<b> Dive Master </b>
<b> Dive Guide </b>
</td>
<td class="fieldData">
<p> {{ dive.divemaster }} </p>
Expand Down
2 changes: 1 addition & 1 deletion printing_templates/Six Dives.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h1> Dive # {{ dive.number }} - {{ dive.date }} {{ dive.time }}</h1>
<td> SAC: {{ dive.sac }}</td>
</tr>
<tr>
<td> Divemaster: {{ dive.divemaster }}</td>
<td> Dive guide: {{ dive.divemaster }}</td>
<td> Buddy: {{ dive.buddy }}</td>
<td> Rating: {{ dive.rating }}/5</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion printing_templates/Table.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<th>Time</th>
<th>Depth</th>
<th>Duration</th>
<th>Master</th>
<th>Guide</th>
<th>Location</th>
</tr>
{% block main_rows %}
Expand Down
2 changes: 1 addition & 1 deletion printing_templates/Two Dives.html
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ <h1> Buddy </h1>
</tr>
<tr>
<td class="fieldTitle">
<h1> Divemaster </h1>
<h1> Dive Guide </h1>
</td>
<td class="fieldData">
<p> {{ dive.divemaster }} </p>
Expand Down

0 comments on commit bdf990d

Please sign in to comment.