Commit 02cf526e authored by Jon Phillips's avatar Jon Phillips
Browse files

added in more nuances

parent 6f349a90
This diff is collapsed.
......@@ -83,7 +83,7 @@
<label for="beneficiary-name" id="beneficiary-name-label" data-toggle="popover" data-trigger="hover" data-title="Entity" data-content="Enter the name of the entity hosting your project. If you don't have an entity that can be listed here, try to set up an entity or find a trustee.">
Entity</label>
<input type='text' name='beneficiary-name'
id='project-family-name'
id='beneficiary-name'
placeholder='Enter your entity name.'
class="input-block-level">
......@@ -341,8 +341,8 @@ class="input-block-level" placeholder="If one or more of your preferred licenses
</tr>
<tr>
<td>Project Family Name</td>
<td id="review-project-family-name"></td>
<td>Entity Name</td>
<td id="review-beneficiary-name"></td>
</tr>
<tr>
......
......@@ -228,6 +228,10 @@ function testReviewPage ()
} else {
$("#review-project-email").html(
$("#project-email").val() );
$("#tmp-project-email-1").html(
$("#project-email").val() );
$("#tmp-project-email-2").html(
$("#project-email").val() );
}
if ( !$("#contributor-process-url").val() ) {
......@@ -280,11 +284,15 @@ function testReviewPage ()
if ( !outboundCopyrightLicenses ) {
$("#review-outbound-licenses").html( emptyField );
$("#tmp-licenses").html( emptyField );
$("#tmp-licenses-2").html( emptyField );
} else {
$("#review-outbound-licenses").html(
outboundCopyrightLicenses );
$("#tmp-licenses").html(
outboundCopyrightLicenses );
$("#tmp-licenses-2").html(
outboundCopyrightLicenses );
}
......@@ -293,6 +301,16 @@ function testReviewPage ()
$("#review-outbound-license-options").html(
$("#outbound-option-same").val() );
$("#outbound-section-all").show();
$("#outbound-section-all").removeClass("nuke");
$("#tmp-term-special").show();
$("#tmp-term-special").removeClass("nuke");
$("#tmp-licenses-2").hide();
$("#tmp-licenses-2").addClass("nuke");
$("#outbound-option-1").show();
$("#outbound-option-1").removeClass("nuke");
$("#outbound-option-2").hide();
......@@ -306,6 +324,19 @@ function testReviewPage ()
$("#review-outbound-license-options").html(
$("#outbound-option-same-licenses").val() );
$("#outbound-section-all").show();
$("#outbound-section-all").removeClass("nuke");
$("#tmp-term-special").show();
$("#tmp-term-special").removeClass("nuke");
$("#tmp-licenses-2").show();
$("#tmp-licenses-2").removeClass("nuke");
/* @TODO: make sure licenses showing in section four in
* both places, and also add custom license too */
$("#outbound-option-1").hide();
$("#outbound-option-1").addClass("nuke");
$("#outbound-option-2").show();
......@@ -319,6 +350,18 @@ function testReviewPage ()
$("#review-outbound-license-options").html(
$("#outbound-option-fsf").val() );
$("#outbound-section-all").show();
$("#outbound-section-all").removeClass("nuke");
$("#tmp-term-special").show();
$("#tmp-term-special").removeClass("nuke");
$("#tmp-licenses-2").hide();
$("#tmp-licenses-2").addClass("nuke");
/* @TODO: reorder sections now that section 4 gone */
$("#outbound-option-1").hide();
$("#outbound-option-1").addClass("nuke");
$("#outbound-option-2").hide();
......@@ -340,6 +383,30 @@ function testReviewPage ()
$("#tmp-media-licenses").html(
mediaLicenses );
// outbound-option-no-commitment
if ( $("#outbound-option-no-commitment").prop("checked") )
{
$("#review-outbound-license-options").html(
$("#outbound-option-fsf").val() );
$("#outbound-option-1").hide();
$("#outbound-option-1").addClass("nuke");
$("#outbound-option-2").hide();
$("#outbound-option-2").addClass("nuke");
$("#outbound-option-3").hide();
$("#outbound-option-3").addClass("nuke");
$("#outbound-section-all").hide();
$("#outbound-section-all").addClass("nuke");
$("#tmp-term-special").hide();
$("#tmp-term-special").addClass("nuke");
}
$("#review-patent-type").html(
$("#patent-type").val() );
......@@ -413,8 +480,8 @@ function testAllPages()
$(document).ready(function() {
//if ( doDebug )
// setFakeData();
if ( doDebug )
setFakeData();
$("#outboundlist").show();
$("#outboundlist-2").hide();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment