Skip to content

Commit

Permalink
*8217* Tweak alt/title tags in catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Apr 30, 2013
1 parent d5433e6 commit 436cf06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/catalog/book/bookFiles.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<li>
<div class="publicationFormatName">{$availableFile->getLocalizedName()|escape}</div>
<div class="publicationFormatLink">
<a href="{url op="download" path=$publishedMonograph->getId()|to_array:$publicationFormatId:$availableFile->getFileIdAndRevision()}"><span class="sprite {$availableFile->getDocumentType()}"></span>{if $availableFile->getDirectSalesPrice()}{translate key="payment.directSales.purchase amount=$availableFile->getDirectSalesPrice() currency=$currency}{else}{translate key="payment.directSales.download"}<span class="sprite openaccess"></span>{/if}</a>
<a href="{url op="download" path=$publishedMonograph->getId()|to_array:$publicationFormatId:$availableFile->getFileIdAndRevision()}"><span title="{$availableFile->getDocumentType()|upper|escape}" class="sprite {$availableFile->getDocumentType()|escape}"></span>{if $availableFile->getDirectSalesPrice()}{translate key="payment.directSales.purchase amount=$availableFile->getDirectSalesPrice() currency=$currency}{else}{translate key="payment.directSales.download"}<span title="{translate key="monograph.accessLogoOpen.altText"}" class="sprite openaccess"></span>{/if}</a>
</div>
</li>
{/foreach}
2 changes: 1 addition & 1 deletion templates/catalog/book/bookSpecs.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<div class="bookSpecs">
{assign var=coverImage value=$publishedMonograph->getCoverImage()}
<a href="{$bookImageLinkUrl}"><img class="pkp_helpers_container_center" alt="{$publishedMonograph->getLocalizedFullTitle()|escape}" src="{url router=$smarty.const.ROUTE_COMPONENT component="submission.CoverHandler" op="catalog" submissionId=$publishedMonograph->getId()}" /></a>
<a title="{$publishedMonograph->getLocalizedFullTitle()|escape}" href="{$bookImageLinkUrl}"><img class="pkp_helpers_container_center" alt="{$publishedMonograph->getLocalizedFullTitle()|escape}" src="{url router=$smarty.const.ROUTE_COMPONENT component="submission.CoverHandler" op="catalog" submissionId=$publishedMonograph->getId()}" /></a>
<div id="bookAccordion">
<h3><a href="#">{translate key="catalog.publicationInfo"}</a></h3>
<div class="publicationInfo">
Expand Down

0 comments on commit 436cf06

Please sign in to comment.