Skip to content

Commit 162f4cd

Browse files
committed
Add ship programme to brief
1 parent c606140 commit 162f4cd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

brief.css

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ h2 {
1313
margin:0px;
1414
padding:0px;
1515
font-size:1.1em;
16+
display: inline;
1617
}
1718

1819
h3 {

templates/brief.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[% IF task.ships %]
1717
<h1>[% task.name | html_entity %]</h1>
1818
[% FOREACH ship IN task.ships %]
19-
<h2>[% ship.name | html_entity %]</h2>
19+
<h2>[% ship.name | html_entity %]</h2> [% IF ship.programme %]([% ship.programme | html_entity %])[% END %]
2020
[% FOREACH opdef IN ship.opdefs %]
2121
[% IF opdef.modified.epoch > time - 86400 * period OR (opdef.comments.first.time.epoch AND opdef.comments.first.time.epoch > time - 86400 * period) %]
2222
[% IF opdef.rectified %]

0 commit comments

Comments
 (0)