Skip to content

Commit

Permalink
Rename "lockfile" to "unified lockfile"
Browse files Browse the repository at this point in the history
  • Loading branch information
nkaretnikov committed Apr 30, 2024
1 parent dcb36f8 commit 6bb3ae8
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<label for="inputType">Input type</label>
<select class="form-select" name="inputType" id="inputType" aria-label="input type">
<option {% if not is_lockfile %}selected{% endif %} value="specification">specification</option>
<option {% if is_lockfile %}selected{% endif %} value="lockfile">lockfile</option>
<option {% if is_lockfile %}selected{% endif %} value="lockfile">unified lockfile</option>
</select>
</div>

Expand Down Expand Up @@ -50,7 +50,7 @@
<input type="file" class="custom-file-input" id="customFile">
<label class="custom-file-label" for="customFile" id="customFileLabel">
{% if is_lockfile %}
Upload lockfile
Upload unified lockfile
{% else %}
Upload specification
{% endif %}
Expand All @@ -60,7 +60,7 @@
<div class="form-group">
<label for="specification" id="specificationLabel">
{% if is_lockfile %}
Lockfile:
Unified lockfile:
{% else %}
Specification:
{% endif %}
Expand All @@ -79,8 +79,8 @@

if(selectedValue === "lockfile") {
$("#collapseDiv").collapse("show");
$("#specificationLabel").text("Lockfile:");
$("#customFileLabel").text("Upload lockfile");
$("#specificationLabel").text("Unified lockfile:");
$("#customFileLabel").text("Upload unified lockfile");
} else {
$("#collapseDiv").collapse("hide");
$("#specificationLabel").text("Specification:");
Expand Down

0 comments on commit 6bb3ae8

Please sign in to comment.