Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: appengine/chromium_rietveld/templates/patchset.html

Issue 2148743002: Rietveld: don't show (dry run) after commit box is unchecked. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 {%if patchset.url%} 1 {%if patchset.url%}
2 <div> 2 <div>
3 Downloaded from: <a href="{{patchset.url}}">{{patchset.url}}</a> 3 Downloaded from: <a href="{{patchset.url}}">{{patchset.url}}</a>
4 </div> 4 </div>
5 {%endif%} 5 {%endif%}
6 <div class="issue-list"> 6 <div class="issue-list">
7 7
8 <div class="pagination"> 8 <div class="pagination">
9 <div style="float: left;"> 9 <div style="float: left;">
10 <i>Created:</i> {{patchset.created|timesince}} ago 10 <i>Created:</i> {{patchset.created|timesince}} ago
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 Commit: <input type="checkbox" id="commit" name="commit" 157 Commit: <input type="checkbox" id="commit" name="commit"
158 {%if issue.commit%}checked{%endif%} 158 {%if issue.commit%}checked{%endif%}
159 {%if not request.user or issue.closed or issue.private%}disabled{%endi f%} 159 {%if not request.user or issue.closed or issue.private%}disabled{%endi f%}
160 onchange="document.commitform.cq_dry_run.value=false; M_editFlags('{{i ssue.key.id}}')" /> 160 onchange="document.commitform.cq_dry_run.value=false; M_editFlags('{{i ssue.key.id}}')" />
161 {%if not request.user%} 161 {%if not request.user%}
162 (user is not authenticated) 162 (user is not authenticated)
163 {%elif issue.closed%} 163 {%elif issue.closed%}
164 (issue is closed) 164 (issue is closed)
165 {%elif issue.private%} 165 {%elif issue.private%}
166 (issue is private) 166 (issue is private)
167 {%elif issue.cq_dry_run %} 167 {%elif issue.commit and issue.cq_dry_run %}
168 (dry run) 168 (dry run)
169 {% endif %} 169 {% endif %}
170 {%if patchset.cq_status_url%} 170 {%if patchset.cq_status_url%}
171 <a style="margin-left:10px" href="{{patchset.cq_status_url}}">CQ Statu s</a> 171 <a style="margin-left:10px" href="{{patchset.cq_status_url}}">CQ Statu s</a>
172 {% endif %} 172 {% endif %}
173 <a style="margin-left:10px" href="https://bugs.chromium.org/p/chromium/i ssues/entry?template=Build%20Infrastructure&labels=Restrict-View-Google&componen ts=Infra%3ECQ&summary=Please%20enter%20CQ%20issue%20summary%20here&comment=Pleas e%20explain%20below%20why%20you%20believe%20CQ%20is%20not%20working.%0A%0AThis%2 0issue%20was%20created%20with%20help%20of%20the%20%22CQ%20not%20working?%22%20li nk%20on%20Rietveld.">CQ not working?</a> 173 <a style="margin-left:10px" href="https://bugs.chromium.org/p/chromium/i ssues/entry?template=Build%20Infrastructure&labels=Restrict-View-Google&componen ts=Infra%3ECQ&summary=Please%20enter%20CQ%20issue%20summary%20here&comment=Pleas e%20explain%20below%20why%20you%20believe%20CQ%20is%20not%20working.%0A%0AThis%2 0issue%20was%20created%20with%20help%20of%20the%20%22CQ%20not%20working?%22%20li nk%20on%20Rietveld.">CQ not working?</a>
174 </form> 174 </form>
175 <br/> 175 <br/>
176 <form action="{%url codereview.revert_patchset.revert_patchset issue.key.i d,patchset.key.id%}" 176 <form action="{%url codereview.revert_patchset.revert_patchset issue.key.i d,patchset.key.id%}"
177 method="post" enctype="multipart/form-data" id="revert-form" name="r evert_form" 177 method="post" enctype="multipart/form-data" id="revert-form" name="r evert_form"
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 {%for dependent_tokens in patchset.dependent_tokens%} 227 {%for dependent_tokens in patchset.dependent_tokens%}
228 <div {%if dependent_tokens.0.closed%}class="linethrough"{%endif%}> 228 <div {%if dependent_tokens.0.closed%}class="linethrough"{%endif%}>
229 <a href="/{{dependent_tokens.0.key.id}}#ps{{dependent_tokens.1.key.id} }"> 229 <a href="/{{dependent_tokens.0.key.id}}#ps{{dependent_tokens.1.key.id} }">
230 Issue {{dependent_tokens.0.key.id}} Patch {{dependent_tokens.1.key.i d}} 230 Issue {{dependent_tokens.0.key.id}} Patch {{dependent_tokens.1.key.i d}}
231 </a> 231 </a>
232 </div> 232 </div>
233 {%endfor%} 233 {%endfor%}
234 </p> 234 </p>
235 {%endif%} 235 {%endif%}
236 </div> 236 </div>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698