diff options
author | lpsolit%gmail.com <> | 2007-10-03 20:38:32 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-10-03 20:38:32 +0200 |
commit | 76e5ced1875498b9f4de15019abcb54a73ed09bc (patch) | |
tree | f094a435d6015e0a0e89ccf786ceef280cb47760 /template/en/default | |
parent | 6ccf771c7533b4bd83d8d43f706256b8613965d4 (diff) | |
download | bugzilla-76e5ced1875498b9f4de15019abcb54a73ed09bc.tar.gz bugzilla-76e5ced1875498b9f4de15019abcb54a73ed09bc.tar.xz |
Bug 324990: The "Bug Activity" page does not display the bug summary in the title of the page - Patch by Frédéric Buclin <LpSolit@gmail.com> r=bkor a=LpSolit
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/bug/activity/show.html.tmpl | 24 | ||||
-rw-r--r-- | template/en/default/filterexceptions.pl | 4 |
2 files changed, 14 insertions, 14 deletions
diff --git a/template/en/default/bug/activity/show.html.tmpl b/template/en/default/bug/activity/show.html.tmpl index c18e04bfd..a457df018 100644 --- a/template/en/default/bug/activity/show.html.tmpl +++ b/template/en/default/bug/activity/show.html.tmpl @@ -19,27 +19,31 @@ #%] [%# INTERFACE: - # bug_id: integer. The bug ID. + # bug: object. The bug whose activity is being displayed. + # operations: array of hashes, see activity/table.html.tmpl. # # This template also needs to be called with the interface to the - # activity.html.tmpl template fulfilled. + # activity/table.html.tmpl template fulfilled. #%] [% PROCESS global/variables.none.tmpl %] +[% filtered_desc = bug.short_desc FILTER html %] [% PROCESS global/header.html.tmpl - title = "Changes made to $terms.bug $bug_id" - header = "Activity log" - subheader = "$terms.Bug <a href=\"show_bug.cgi?id=$bug_id\">$bug_id</a>" + title = "Changes made to $terms.bug $bug.bug_id" + header = "Activity log for $terms.bug $bug.bug_id: $filtered_desc" %] -<br> +<p> + [% "Back to $terms.bug $bug.bug_id" FILTER bug_link(bug.bug_id) FILTER none %] +</p> [% PROCESS bug/activity/table.html.tmpl %] -<p> - <a href="show_bug.cgi?id=[% bug_id %]">Back to [% terms.bug %] - [%+ bug_id %]</a> -</p> +[% IF operations.size > 0 %] + <p> + [% "Back to $terms.bug $bug.bug_id" FILTER bug_link(bug.bug_id) FILTER none %] + </p> +[% END %] [% PROCESS global/footer.html.tmpl %] diff --git a/template/en/default/filterexceptions.pl b/template/en/default/filterexceptions.pl index 93305c1c8..1ae80430a 100644 --- a/template/en/default/filterexceptions.pl +++ b/template/en/default/filterexceptions.pl @@ -389,10 +389,6 @@ 'productstring', ], -'bug/activity/show.html.tmpl' => [ - 'bug_id', -], - 'bug/activity/table.html.tmpl' => [ 'change.attachid', 'change.field', |