]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Oops - adding INTERFACE comments accidentally included some code from another patch...
authorgerv%gerv.net <>
Tue, 7 May 2002 04:49:51 +0000 (04:49 +0000)
committergerv%gerv.net <>
Tue, 7 May 2002 04:49:51 +0000 (04:49 +0000)
template/en/default/bug/votes/list-for-user.html.tmpl
template/en/default/list/edit-multiple.html.tmpl

index 4797d71b7592e45bf2e83b7e3e99f2d609375953..261e0f86438379692db1918dc66afcf1424a6d5f 100644 (file)
 
 [% PROCESS global/header.html.tmpl
            title = "Show Votes"
-           h2 = voting_user.name
+           h2 = user.name
  %]
 
-[% canedit = 1 IF voting_user.login == user.login %]
-
 [% IF votes_recorded %]
   <p>
     <font color="red">
@@ -78,7 +76,7 @@
               </a>
             </td>
             <td align="right">
-              [% IF canedit %]
+              [% IF user.canedit %]
                 [% IF product.onevoteonly %]
                   <input type="checkbox" name="[% bug.id %]" value="1"
                     [% " checked" IF bug.count %]>
       [% END %]
     </table>
 
-    [% IF canedit %]
+    [% IF user.canedit %]
       <input type="submit" value="Change My Votes">
       <br>
       <br>
   </form>
 [% ELSE %]
   <p>
-    [% IF canedit %]
+    [% IF user.canedit %]
     You are
     [% ELSE %]
     This user is
index fb28845c519f5e3e8b5a17778fa1a9ea2436fb96..c7c8d00bf7eec4be90f740cb643580697d84bc6d 100644 (file)
   Reassign</A> bugs to
 </label>
 <input name="assigned_to" 
-       value="[% user.login FILTER html %]"
+       value="[% user FILTER html %]"
        onchange="document.forms.changeform.knob[[% knum %]].checked = true;"
        size="32"><br />