Skip to content

Commit

Permalink
Add publisher to abstract page
Browse files Browse the repository at this point in the history
  • Loading branch information
thostetler committed Jan 2, 2024
1 parent 55e6b75 commit abcabda
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions src/js/widgets/abstract/templates/abstract_template.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ <h2 class="s-abstract-title">
Show affiliations
</button>
<span id="pending-aff" style="display: none;"
><i class="fa fa-spinner fa-spin" aria-hidden="true"></i
><span class="sr-only">Loading affiliations</span></span
><i class="fa fa-spinner fa-spin" aria-hidden="true"></i
><span class="sr-only">Loading affiliations</span></span
>
<span id="fail-aff" class="text-danger" style="display: none;"
><i class="fa fa-times" aria-hidden="true"></i
><span class="sr-only">affiliations loading</span></span
><i class="fa fa-times" aria-hidden="true"></i
><span class="sr-only">affiliations loading</span></span
>
{{#if authorAff.length}} {{#if hasMoreAuthors}}
<button
Expand Down Expand Up @@ -181,7 +181,7 @@ <h4 class="sr-only">Abstract</h4>
</p>
</div>

<br />
<br/>
<dl class="s-abstract-dl-horizontal">
{{#if pub_raw}}
<dt>Publication:</dt>
Expand All @@ -198,7 +198,15 @@ <h4 class="sr-only">Abstract</h4>
{{/if}} {{#if formattedDate}}
<dt>Pub Date:</dt>
<dd>{{formattedDate}}</dd>
{{/if}} {{#if doi}}
{{/if}}
{{#if pub}}
<dt>Publisher:</dt>
<dd>
{{pub}}
</dd>
{{/if}}

{{#if doi}}
<dt>DOI:</dt>
<dd>
{{#each doi}}
Expand All @@ -208,7 +216,7 @@ <h4 class="sr-only">Abstract</h4>
href="{{href}}"
target="_blank"
rel="noreferrer noopener"
>{{doi}}</a
>{{doi}}</a
>
<i class="fa fa-external-link" aria-hidden="true"></i>
</p>
Expand All @@ -223,7 +231,7 @@ <h4 class="sr-only">Abstract</h4>
href="{{arxiv.href}}"
target="_blank"
rel="noreferrer noopener"
>{{arxiv.id}}</a
>{{arxiv.id}}</a
>
<i class="fa fa-external-link" aria-hidden="true"></i>
</span>
Expand All @@ -249,7 +257,7 @@ <h4 class="sr-only">Abstract</h4>
></i>
</button>
<span id="abs-bibcode-copy-msg" class="text-info" style="display: none;"
>Copied!</span
>Copied!</span
>
</dd>

Expand All @@ -276,7 +284,7 @@ <h4 class="sr-only">Abstract</h4>
</dd>
{{/if}}
</dl>
<br />
<br/>
<a
class="small pull-right text-faded"
href="/feedback/correctabstract?bibcode={{bibcode}}"
Expand Down

0 comments on commit abcabda

Please sign in to comment.