Skip to content

Commit

Permalink
Fix #5 Remove journal title from current issue label
Browse files Browse the repository at this point in the history
  • Loading branch information
NateWr committed Feb 12, 2018
1 parent 6c91556 commit da573a8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion locale/en_US/locale.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

<message key="plugins.themes.healthSciences.nav.toggle">Toggle Navigation</message>
<message key="plugins.themes.healthSciences.language.toggle">Change the language. The current language is:</message>
<message key="plugins.themes.healthSciences.currentIssueOf">Current Issue of {$journal}</message>
<message key="plugins.themes.healthSciences.currentIssuePublished">Published {$date}</message>
<message key="plugins.themes.healthSciences.issueDescription">Issue Description</message>
<message key="plugins.themes.healthSciences.issuePubId">{$pubIdType}: {$pubId}</message>
Expand Down
4 changes: 0 additions & 4 deletions styles/pages/page-home.less
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,6 @@
font-family: @font-sans;
}

.homepage-issue-current span {
font-style: italic;
}

.homepage-issue-cover {
display: block;
max-width: 210px;
Expand Down
3 changes: 1 addition & 2 deletions templates/frontend/pages/indexJournal.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@

{if $issue}
<h2 class="h5 homepage-issue-current">
{capture assign="journalTitleWithSpan"}<span>{$currentContext->getLocalizedName()}</span>{/capture}
{translate key="plugins.themes.healthSciences.currentIssueOf" journal=$journalTitleWithSpan}
{translate key="journal.currentIssue"}
</h2>
<div class="h1 homepage-issue-identifier">
{$issue->getIssueSeries()}
Expand Down

0 comments on commit da573a8

Please sign in to comment.