Project

General

Profile

« Previous | Next » 

Revision 58412

added Terms of Use functionality - follow 'ToU' comments to enable

View differences:

register-existing-datasource.component.html
42 42
                      </a>
43 43
                    </li>
44 44
                    <li role="tab" class="last {{ (currentStep < 3) ? 'disabled' : '' }} {{ (currentStep == 3) ? 'current' : '' }}" aria-disabled="true">
45
                    <!-- ToU: replace above line with below line -->
46
                    <!--<li role="tab" class=" {{ (currentStep < 3) ? 'disabled' : '' }} {{ (currentStep == 3) ? 'current' : '' }}" aria-disabled="true">-->
45 47
                      <a id="wizard_advanced-t-3" href="#wizard_advanced-h-3" aria-controls="wizard_advanced-p-3">
46 48
                        <span class="number">4</span>
49
                        <!-- ToU: uncomment this section -->
50
                        <!--<span class="title">Terms of Use</span>
51
                      </a>
52
                    </li>
53
                    <li role="tab" class="last {{ (currentStep < 4) ? 'disabled' : '' }} {{ (currentStep == 4) ? 'current' : '' }}" aria-disabled="true">
54
                      <a id="wizard_advanced-t-4" href="#wizard_advanced-h-4" aria-controls="wizard_advanced-p-4">
55
                        <span class="number">5</span>-->
47 56
                        <span class="title">Finish</span>
48 57
                      </a>
49 58
                    </li>
......
123 132

  
124 133
                  <!-- fourth section -->
125 134
                  <h3 id="wizard_advanced-h-3" tabindex="-1" class="title {{ (currentStep == 3) ? 'current' : '' }}">Finish</h3>
135
                  <!-- ToU: replace line above with line below -->
136
                  <!--<h3 id="wizard_advanced-h-3" tabindex="-1" class="title {{ (currentStep == 3) ? 'current' : '' }}">Terms of Use</h3>-->
126 137
                  <section id="wizard_advanced-p-3" role="tabpanel" aria-labelledby="wizard_advanced-h-3"
127 138
                           class="body step-3 {{ (currentStep == 3) ? 'current' : '' }}" data-step="2"  aria-hidden="true">
128 139

  
129 140
                    <div *ngIf="(currentStep === 3) && !loadingMessage" class="row openAIRECompliantLogoDownload">
141
                  <!-- ToU: replace above 3 lines (starting at class="body step-3) with commented section below -->
142
                  <!--class="body step-3 {{ (currentStep == 3) ? 'current' : '' }}" data-step="3"  aria-hidden="true">
143
                    <div *ngIf="(currentStep === 3) && !loadingMessage" class="uk-grid uk-grid-match">
144
                      <datasource-update-terms-form #updateTermsForm
145
                                                    [selectedRepo]="repo"
146
                                                    [showButton]=false></datasource-update-terms-form>
147
                    </div>
148
                  </section>
149

  
150
                  &lt;!&ndash; fifth section &ndash;&gt;
151
                  <h3 id="wizard_advanced-h-4" tabindex="-1" class="title {{ (currentStep == 4) ? 'current' : '' }}">Finish</h3>
152
                  <section id="wizard_advanced-p-4" role="tabpanel" aria-labelledby="wizard_advanced-h-4"
153
                           class="body step-4 {{ (currentStep == 4) ? 'current' : '' }}" data-step="3"  aria-hidden="true">
154

  
155
                    <div *ngIf="(currentStep === 4) && !loadingMessage" class="row openAIRECompliantLogoDownload">-->
130 156
                      <div class="col-lg-12">
131 157
                        <div class="col-md-12">
132 158
                          <div>
......
158 184
                    </li>
159 185
                  </ul>
160 186
                </div>
187
                <!-- ToU: replace above <div> with commented section below -->
188
                <!--<div *ngIf="currentStep != 4" class="actions clearfix">
189
                  <ul role="menu" aria-label="Pagination">
190
                    <li class="button_previous {{ (currentStep < 1) ? 'disabled' : '' }}" aria-disabled="true">
191
                      <a (click)="moveBackAStep()" role="menuitem"><i class="material-icons"></i> Previous</a>
192
                    </li>
193
                    <li *ngIf="currentStep < 3" class="button_next" aria-hidden="false" aria-disabled="false">
194
                      <a (click)="moveAStep()" role="menuitem">Next<i class="material-icons"></i></a>
195
                    </li>
196
                    <li *ngIf="currentStep == 3" class="button_finish" aria-hidden="true">
197
                      <a (click)="moveAStep()" role="menuitem">Finish</a>
198
                    </li>
199
                  </ul>
200
                </div>-->
161 201
              </div>
162 202
            </form>
163 203
          </div>

Also available in: Unified diff