Project

General

Profile

« Previous | Next » 

Revision 477

Added by berkley about 24 years ago

changed the look of relations

View differences:

lib/marine/marine.xsl
305 305
           <th><font size="2"><xsl:text>Contacts</xsl:text></font></th>
306 306
           <th><font size="2"><xsl:text>Organization</xsl:text></font></th>
307 307
           <th><font size="2"><xsl:text>Keywords</xsl:text></font></th>
308
           <th><font size="2"><xsl:text>Related Documents</xsl:text></font></th>
308
           <!--<th><font size="2"><xsl:text>Related Documents</xsl:text></font></th>-->
309 309
          </tr>
310 310

  
311 311
	
......
351 351
              </input>
352 352
              </form>
353 353
          </td>
354
          <td><font size="2">
355
               <xsl:value-of select="./param[@name='resource/dataset/title']"/>
356
              </font>
357
              <xsl:text>&nbsp;</xsl:text>
354
          <td>
355
            <font size="2">
356
              <xsl:value-of select="./param[@name='resource/dataset/title']"/>
357
              <br/>
358
              <b>Related Documents:</b><br/>
359
            </font>
360
            <xsl:if test="count(./relation) &gt; 0">
361
              <xsl:for-each select="./relation">
362
              <xsl:text>&nbsp;</xsl:text><xsl:text>&nbsp;</xsl:text>
363
              <xsl:text>&nbsp;</xsl:text><xsl:text>&nbsp;</xsl:text>
364
              <xsl:text>&nbsp;</xsl:text><xsl:text>&nbsp;</xsl:text>
365
                <a>
366
                  <xsl:attribute name="href">
367
                    <xsl:text>http://dev.nceas.ucsb.edu/@html-path@/servlet/marine/?action=getrelateddocument&amp;qformat=html&amp;url=</xsl:text>
368
                    <xsl:value-of select="./relationdoc" />
369
                  </xsl:attribute>
370
                  <xsl:value-of select="./relationdoc" />
371
                </a>
372
                <br/>
373
              </xsl:for-each>
374
            </xsl:if>
358 375
          </td>
359 376
          <td>
360
          <xsl:text>&nbsp;</xsl:text>
361
          <xsl:for-each 
377
            <xsl:for-each 
362 378
               select="./param[@name='resource/dataset/originator/individualName/surName']" >  
363 379
              <font size="2">
364 380
              <xsl:value-of 
......
371 387
                select="./param[@name='resource/dataset/originator/individualName/surName']" />
372 388
              </font><br/>
373 389
      -->
374
            </xsl:for-each> 
390
            </xsl:for-each>
391
            <xsl:text>&nbsp;</xsl:text>
375 392
          </td>
376 393
          <td>
377 394
              <font size="2">
......
392 409
            </xsl:for-each>
393 410
            <xsl:text>&nbsp;</xsl:text>
394 411
          </td>
395
          
412
          <!--
396 413
          <td>
397 414
            <xsl:text>&nbsp;</xsl:text>
398 415
            <xsl:if test="count(./relation) &gt; 0">
......
414 431
             </form>
415 432
            </xsl:if>
416 433
          </td>
417
          
434
          -->
418 435
          </tr>
419 436
        </xsl:for-each>
420 437
        </font>

Also available in: Unified diff