fix original publication year
This commit is contained in:
parent
2750ca91ef
commit
b2dcf3dfd9
1 changed files with 15 additions and 7 deletions
|
@ -23,8 +23,10 @@
|
|||
</td>
|
||||
<td>
|
||||
<p class="year">{{- index . "Year Published" -}}
|
||||
{{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ( ne ( index . "Original Publication Year" ) nil ) ) -}}
|
||||
<span class="year--original">(orig. {{ index . "Original Publication Year" }})</span>
|
||||
{{- if ( index . "Original Publication Year" ) -}}
|
||||
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</td>
|
||||
<td>
|
||||
|
@ -62,8 +64,10 @@
|
|||
</td>
|
||||
<td>
|
||||
<p class="year">{{- index . "Year Published" -}}
|
||||
{{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ) -}}
|
||||
<span class="year--original">(orig. {{ index . "Original Publication Year" }})</span>
|
||||
{{- if ( index . "Original Publication Year" ) -}}
|
||||
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</td>
|
||||
<td>
|
||||
|
@ -106,8 +110,10 @@
|
|||
</td>
|
||||
<td>
|
||||
<p class="year">{{- index . "Year Published" -}}
|
||||
{{- if ( and ( ne ( index . "Original Publication Year" ) "" ) ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) ) -}}
|
||||
<span class="year--original">(orig. {{ index . "Original Publication Year" }})</span>
|
||||
{{- if ( index . "Original Publication Year" ) -}}
|
||||
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</td>
|
||||
<td>
|
||||
|
@ -149,7 +155,9 @@
|
|||
<td>
|
||||
<p class="year">{{- index . "Year Published" -}}
|
||||
{{- if ( index . "Original Publication Year" ) -}}
|
||||
<span class="year--original">(orig. {{ index . "Orginal Publication Year" }})</span>
|
||||
{{- if ( ne ( index . "Original Publication Year" ) ( index . "Year Published" ) ) -}}
|
||||
<span class="year--original">(<abbr title="original publication year">orig.</abbr> {{ index . "Original Publication Year" }})</span>
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
</td>
|
||||
<td>n/a</td>
|
||||
|
|
Loading…
Reference in a new issue