Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
authorjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 May 2010 23:12:56 +0000 (23:12 +0000)
committerjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 May 2010 23:12:56 +0000 (23:12 +0000)
Reviewed by Ojan Vafai.

https://bugs.webkit.org/show_bug.cgi?id=39141

* template/en/custom/attachment/list.html.tmpl:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@59501 268f45cc-cd09-0410-ab3c-d52691b4dbfc

BugsSite/ChangeLog
BugsSite/template/en/custom/attachment/list.html.tmpl

index 6a5cf391004a5e06b205a7b8bdec01a324a739c9..3c858f993ba74eee27b7f94ee4c6a29b19797c4c 100644 (file)
@@ -1,3 +1,13 @@
+2010-05-14  Julie Parent  <jparent@chromium.org>
+
+        Reviewed by Ojan Vafai.
+
+        Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
+        
+        https://bugs.webkit.org/show_bug.cgi?id=39141
+
+        * template/en/custom/attachment/list.html.tmpl:
+
 2010-05-13  Julie Parent  <jparent@chromium.org>
 
         Reviewed by David Kilzer.
index 07c592b771985d679023c9408cc6a16a9e93db19..f0048918d22d91984dfabbb6d58cb08b6ec121c6 100644 (file)
 [%# if WEBKIT_CHANGES %]
           [% IF attachment.ispatch %]
             [% FOREACH flag = attachment.flags %]
-              [% IF flag.type.name == 'in-rietveld'  %]
+              [% IF flag.type.name == 'in-rietveld' && flag.status == "+"  %]
                 | <a href="attachment.cgi?id=[% attachment.id %]&amp;action=rietveldreview&amp;GoAheadAndLogIn=1">Rietveld Review</a>
               [% END %]
             [% END %]