Bugzilla – Attachment 59817 Details for
Bug 17937
Adding item description to Twitter Summary
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17937 deleting space around TwitterSummary in OPAC details template and add twitter image in metatag
Bug-17937-deleting-space-around-TwitterSummary-in-.patch (text/plain), 2.07 KB, created by
Baptiste
on 2017-02-02 14:48:04 UTC
(
hide
)
Description:
Bug 17937 deleting space around TwitterSummary in OPAC details template and add twitter image in metatag
Filename:
MIME Type:
Creator:
Baptiste
Created:
2017-02-02 14:48:04 UTC
Size:
2.07 KB
patch
obsolete
>From ffa02bd36ab3b9fb2f678ebe4a68c97ff32065e9 Mon Sep 17 00:00:00 2001 >From: Baptiste Wojtkowski <baptiste.wojtkowski@biblibre.com> >Date: Thu, 2 Feb 2017 13:31:57 +0000 >Subject: [PATCH] Bug 17937 deleting space around TwitterSummary in OPAC > details template and add twitter image in metatag > >--- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 15 ++++++++++----- > 1 file changed, 10 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >index 0f75a12..8d0d203 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt >@@ -26,11 +26,16 @@ > [% END %] > [% INCLUDE 'doc-head-open.inc' %] > <title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle %][% ELSE %]Koha online[% END %] catalog › Details for: [% title |html %][% FOREACH subtitl IN subtitle %][% IF Koha.Preference('marcflavour')=='UNIMARC' %],[% END %] [% subtitl.subfield |html %][% END %]</title> >-[% IF Koha.Preference(' TwitterSummary ') %] >-<meta name="twitter:card" content="summary" /> >-<meta name="twitter:site" content="[% Koha.Preference('TwitterAccount') %]" /> >-<meta name="twitter:title" content="[% title |html %]" /> >-<meta name="twitter:description" content="View it at [% LibraryNameTitle %]" /> >+[% IF Koha.Preference('TwitterSummary') %] >+ <meta name="twitter:card" content="summary" /> >+ <meta name="twitter:site" content="[% Koha.Preference('TwitterAccount') %]" /> >+ <meta name="twitter:title" content="[% title |html %]" /> >+ <meta name="twitter:description" content="View it at [% LibraryNameTitle %]" /> >+ [% IF ( OPACLocalCoverImages ) %] >+ <meta name="twitter:image" content="/cgi-bin/koha/opac-image.pl?thumbnail=1&imagenumber=[% image %]" /> >+ [% ELSIF ( OPACAmazonCoverImages ) %] >+ <meta name="twitter:image" content="https://images-na.ssl-images-amazon.com/images/P/[% normalized_isbn %].01.MZZZZZZZ.jpg" /> >+ [% END %] > [% END %] > [% INCLUDE 'doc-head-close.inc' %] > [% IF ( bidi ) %] >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 17937
:
59192
|
59200
|
59816
| 59817