summaryrefslogtreecommitdiffstats
path: root/extensions/BugModal/template/en
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-07-17 05:26:46 +0200
committerDylan William Hardison <dylan@hardison.net>2018-07-17 05:26:46 +0200
commit03450656e24abb848f6ef8b4f599e876522120fb (patch)
treeed42e87215040221c0095ece21457f50e2ff83b0 /extensions/BugModal/template/en
parentac995e4ebf84924b6be9dba3fe8358f0a5857ad1 (diff)
downloadbugzilla-03450656e24abb848f6ef8b4f599e876522120fb.tar.gz
bugzilla-03450656e24abb848f6ef8b4f599e876522120fb.tar.xz
Bug 1472961 - Copy Summary button should copy link as well
Diffstat (limited to 'extensions/BugModal/template/en')
-rw-r--r--extensions/BugModal/template/en/default/bug_modal/header.html.tmpl3
1 files changed, 3 insertions, 0 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
index b9a42caf3..47d97fb32 100644
--- a/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
+++ b/extensions/BugModal/template/en/default/bug_modal/header.html.tmpl
@@ -8,6 +8,7 @@
[%
PROCESS global/variables.none.tmpl;
+ USE Bugzilla;
# <title>
IF bugs.defined;
@@ -89,6 +90,8 @@
[%# expose useful data to js %]
BUGZILLA.bug_id = [% bug.id FILTER none %];
BUGZILLA.bug_title = '[% unfiltered_title FILTER js %]';
+ BUGZILLA.bug_summary = '[% bug.short_desc FILTER js %]';
+ BUGZILLA.bug_url = '[% Bugzilla.cgi.self_url FILTER js %]';
BUGZILLA.user = {
id: [% user.id FILTER none %],
login: '[% user.login FILTER js %]',