projects
/
pgcommitfest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79cc52b
)
Bug fix: Don't display non-functional cancel button.
author
Robert Haas
<robertmhaas@gmail.com>
Sat, 4 Jul 2009 03:05:11 +0000
(23:05 -0400)
committer
Robert Haas
<robertmhaas@gmail.com>
Sat, 4 Jul 2009 03:05:11 +0000
(23:05 -0400)
template/patch_comment_form.tt2
patch
|
blob
|
blame
|
history
diff --git
a/template/patch_comment_form.tt2
b/template/patch_comment_form.tt2
index 18fb56ffb2b595f0f0efdf2ddbdf01c58b72e82a..f3e3e52053dd43cec2519bf300c3bd556745efbf 100644
(file)
--- a/
template/patch_comment_form.tt2
+++ b/
template/patch_comment_form.tt2
@@
-20,6
+20,6
@@
provided.</p>
</div>
<div><input type='submit' value='Submit'>
-<input name='cancel' type='submit' value='Cancel'>
+[% IF !is_included %]<input name='cancel' type='submit' value='Cancel'>[% END %]
<input name='go' type='hidden' value='1'>
[% IF is_included %]<input name='id' type='hidden' value='[% d.id %]'>[% ELSIF id %]<input name='id' type='hidden' value='[% id %]'>[% ELSE %]<input name='patch' type='hidden' value='[% d.patch_id %]'>[% END %]</div>