Author: david
Date: 2008-11-10 17:39:45 -0800 (Mon, 10 Nov 2008)
New Revision: 1553
Modified:
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
Log:
Move style information for "add new" link for subject and place access points
to template from js. Alter column widths for ActorEvents table to make room
for "pencil.png" image for editing actorEvents.
Modified:
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
===================================================================
---
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
2008-11-11 01:04:10 UTC (rev 1552)
+++
trunk/qubit/apps/qubit/modules/informationobject/templates/editIsadSuccess.php
2008-11-11 01:39:45 UTC (rev 1553)
@@ -85,10 +85,10 @@
<table id="actorEvents" class="inline" style="margin-top: 25px;">
<tr style="border-top: 1px solid #999999;">
- <td style="width: 40%; color: #999999; font-weight: bold"><?php echo
__('Name') ?></td>
+ <td style="width: 35%; color: #999999; font-weight: bold"><?php echo
__('Name') ?></td>
<td style="width: 25%; color: #999999; font-weight: bold"><?php echo
__('Role/Event') ?></td>
- <td style= "width: 30%; color: #999999; font-weight: bold"><?php
echo __('Date(s)') ?></td>
- <td style="width:5%"></td>
+ <td style="width: 30%; color: #999999; font-weight: bold"><?php echo
__('Date(s)') ?></td>
+ <td style="width: 10%"></td>
</tr>
<?php if(count($actorEvents)): ?>
<?php foreach ($actorEvents as $actorEvent): ?>
@@ -108,7 +108,8 @@
<td><?php echo $actorEvent->getType() ?></td>
<?php endif; ?>
<td><?php echo $actorEvent->getDateDisplay(array('cultureFallback'
=> 'true')) ?></td>
- <td style="text-align: center;">
+ <td style="text-align: right">
+ <!-- <a href="javascript:editActorEventDialog(<?php echo
$actorEvent->getId()?>)"><?php echo image_tag('pencil', 'align=top') ?></a> -->
<?php echo link_to(image_tag('delete', 'align=top'),
'informationobject/deleteEvent?eventId='.$actorEvent->getId().'&returnTemplate=isad')
?>
</td>
</tr>
@@ -116,11 +117,9 @@
<?php endif; ?>
</table>
-
<!-- add new creation event yui dialog object -->
<?php echo include_partial('newActorEventDialog') ?>
-
<div class="form-item">
<fieldset id="newActorEventFields" style="border: 1px solid #cccccc;
padding: 1px; background: #fff">
<label for="newActorEvent"><?php echo __('new event'); ?></label>
@@ -371,7 +370,7 @@
<?php include_partial('addAccessPointTermDialog') ?>
<div class="form-item" id="subjectAccessPoints">
- <label for="subject_id"><?php echo __('subject access points'); ?><span
id="addSubjectAccessPointLink"></span></label>
+ <label for="subject_id"><?php echo __('subject access points'); ?><span
id="addSubjectAccessPointLink" style="font-weight:normal"></span></label>
<?php if ($subjectAccessPoints): ?>
<?php foreach ($subjectAccessPoints as $subject): ?>
<?php echo $subject->getTerm() ?> <?php echo
link_to(image_tag('delete', 'align=top'),
'informationobject/deleteTermRelation?TermRelationId='.$subject->getId().'&returnTemplate=isad')
?><br/>
@@ -381,7 +380,7 @@
</div>
<div class="form-item" id="placeAccessPoints">
- <label for="place_id"><?php echo __('place access points'); ?><span
id="addPlaceAccessPointLink"></span></label>
+ <label for="place_id"><?php echo __('place access points'); ?><span
id="addPlaceAccessPointLink" style="font-weight:normal"></span></label>
<?php if ($placeAccessPoints): ?>
<?php foreach ($placeAccessPoints as $place): ?>
<?php echo $place->getTerm() ?> <?php echo
link_to(image_tag('delete', 'align=top'),
'informationobject/deleteTermRelation?TermRelationId='.$place->getId().'&returnTemplate=isad')
?><br/>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.ca/group/qubit-commits?hl=en
-~----------~----~----~----~------~----~------~--~---