]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1545330 - Add bug type to open graph data on bug detail page.
authorKohei Yoshino <kohei.yoshino@gmail.com>
Fri, 10 May 2019 20:48:57 +0000 (16:48 -0400)
committerGitHub <noreply@github.com>
Fri, 10 May 2019 20:48:57 +0000 (16:48 -0400)
extensions/OpenGraph/template/en/default/hook/global/header-start.html.tmpl

index 52633172bf64a2e3f9116ffdf62eb551a6f68bfc..a8024caba17c8ebb53ddeaecde3c500e50ec99ef 100644 (file)
 <meta property="og:url" content="[% Bugzilla.localconfig.canonical_urlbase FILTER none %]show_bug.cgi?id=[% bug.bug_id FILTER uri %]">
 <meta property="og:description"
       content="[% bug.bug_status FILTER html %] ([% bug.assigned_to.login FILTER email FILTER html %]) in [% bug.product FILTER html %] - [% bug.component FILTER html %]. Last updated [% bug.delta_ts FILTER time('%Y-%m-%d') %].">
+<meta name="twitter:label1" value="Type">
+<meta name="twitter:data1" value="[% bug.bug_type FILTER html %]">
+<meta name="twitter:label2" value="Priority">
+<meta name="twitter:data2" value="[% bug.priority FILTER html %]">
 [% ELSIF error_message %]
 <meta property="og:description" content="[% error_message FILTER txt FILTER html %]">
 [% END %]