chiark
/
gitweb
/
~ian
/
nj-awaymsg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa7b7b6
)
wip fix edit
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 12 Sep 2012 18:02:30 +0000
(19:02 +0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 12 Sep 2012 18:02:30 +0000
(19:02 +0100)
mason/edit
patch
|
blob
|
history
diff --git
a/mason/edit
b/mason/edit
index 9fc7a22d28d72f07a094871d97132436dca7ec94..651cb3e64f85da6ecc77534c4853daf174d0d4e2 100755
(executable)
--- a/
mason/edit
+++ b/
mason/edit
@@
-59,7
+59,7
@@
if (!$tx) { die "no such text $textid"; }
% while (my $row = $usedq->fetchrow_hashref()) {
<tr><td>Use for <% $row->{'emailaddr'} |h %></td>
<td><input type="checkbox"
-% if ($row->{'textid'} eq $textid) {
+% if (
!$create &&
$row->{'textid'} eq $textid) {
checked></td><td>(currently using this message)
% } elsif (defined $row->{'textid'}) {
></td><td>(currently using another message "<% $row->{'desc'} |h %>")