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

Unified Diff: appengine/swarming/templates/user_task.html

Issue 1939343002: swarming: change meaning of inputs_ref (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: fix templates Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/task_runner_test.py ('k') | client/swarming.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/templates/user_task.html
diff --git a/appengine/swarming/templates/user_task.html b/appengine/swarming/templates/user_task.html
index daea2d4f34d1f0275ecae434d5f90b1f6d8e84e7..31d3fc8060dfd19d90bc2a89e79e20ab2ff48714 100644
--- a/appengine/swarming/templates/user_task.html
+++ b/appengine/swarming/templates/user_task.html
@@ -219,7 +219,7 @@
<td>Idempotent</td>
<td>{{request.properties.idempotent}}</td>
</tr>
- {% if request.properties.inputs_ref %}
+ {% if request.properties.inputs_ref and request.properties.inputs_ref.isolated %}
<tr title="Inputs files">
<td>Isolated inputs</td>
<td>
@@ -492,7 +492,7 @@
<br>
<div class=highlight_section>
<h2>Help</h2>
-{% if request.properties.inputs_ref %}
+{% if request.properties.inputs_ref and request.properties.inputs_ref.isolated %}
<div>Download inputs files into directory <i>foo</i>:</div>
<div class=code> python isolateserver.py download -I {{request.properties.inputs_ref.isolatedserver}} --namespace {{request.properties.inputs_ref.namespace}} -s {{request.properties.inputs_ref.isolated}} --target foo</div>
<br>
« no previous file with comments | « appengine/swarming/swarming_bot/bot_code/task_runner_test.py ('k') | client/swarming.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698