Skip to content
Snippets Groups Projects
Commit 1af6c94b authored by Philip ABBET's avatar Philip ABBET
Browse files

[website] Hide one of the sharing options for binary algorithms

parent 7c69a9c9
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,7 @@
algorithm</p>
</label>
</div>
{% if not object.is_binary %}
<div class="radio">
<label class="control-label">
<input id="shared-radio" type="radio" name="sharing" value="shared"/> Shared
......@@ -143,6 +144,15 @@
code).</p>
</label>
</div>
{% else %}
<div class="radio">
<label class="control-label">
<input id="usable-radio" type="radio" name="sharing" value="usable"/> Usable
<p class="help">The users <b>and</b> teams indicated below will
be able to use this algorithm.</p>
</label>
</div>
{% endif %}
</div>
</fieldset>
<fieldset id="sharing-options" disabled>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment