Author: sevein
Date: Fri Jul 29 12:43:46 2011
New Revision: 9415
Log:
Move contactInformation component to actor module, the upper object linked to
QubitContactInformation entity
Added:
trunk/apps/qubit/modules/actor/templates/_contactInformation.php
- copied unchanged from r9408,
trunk/apps/qubit/modules/repository/templates/_contactInformation.php
Deleted:
trunk/apps/qubit/modules/repository/templates/_contactInformation.php
Copied: trunk/apps/qubit/modules/actor/templates/_contactInformation.php (from
r9408, trunk/apps/qubit/modules/repository/templates/_contactInformation.php)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ trunk/apps/qubit/modules/actor/templates/_contactInformation.php Fri Jul
29 12:43:46 2011 (r9415, copy of r9408,
trunk/apps/qubit/modules/repository/templates/_contactInformation.php)
@@ -0,0 +1,74 @@
+<div class="adr">
+
+ <div class="field">
+ <h3><?php echo __('Street address') ?></h3>
+ <div class="street-address">
+ <?php echo render_value($contactInformation->streetAddress) ?>
+ </div>
+ </div>
+
+ <div class="field">
+ <h3><?php echo __('Locality') ?></h3>
+ <div class="locality">
+ <?php echo
render_value($contactInformation->getCity(array('cultureFallback' => true))) ?>
+ </div>
+ </div>
+
+ <div class="field">
+ <h3><?php echo __('Region') ?></h3>
+ <div class="region">
+ <?php echo
render_value($contactInformation->getRegion(array('cultureFallback' => true)))
?>
+ </div>
+ </div>
+
+ <div class="field">
+ <h3><?php echo __('Country name') ?></h3>
+ <div class="country-name">
+ <?php echo format_country($contactInformation->countryCode) ?>
+ </div>
+ </div>
+
+ <div class="field">
+ <h3><?php echo __('Postal code') ?></h3>
+ <div class="postal-code">
+ <?php echo render_value($contactInformation->postalCode) ?>
+ </div>
+ </div>
+
+</div>
+
+<div class="field">
+ <h3><?php echo __('Telephone') ?></h3>
+ <div class="tel">
+ <?php echo render_value($contactInformation->telephone) ?>
+ </div>
+</div>
+
+<div class="field tel">
+ <h3 class="type"><?php echo __('Fax') ?></h3>
+ <div>
+ <?php echo render_value($contactInformation->fax) ?>
+ </div>
+</div>
+
+<div class="field">
+ <h3><?php echo __('Email') ?></h3>
+ <div class="email">
+ <?php echo render_value($contactInformation->email) ?>
+ </div>
+</div>
+
+<div class="field">
+ <h3><?php echo __('URL') ?></h3>
+ <div class="url">
+ <?php echo render_value($contactInformation->website) ?>
+ </div>
+</div>
+
+<div class="agent">
+ <?php echo render_value($contactInformation->contactPerson) ?>
+</div>
+
+<div class="note">
+ <?php echo render_value($contactInformation->getNote(array('cultureFallback'
=> true))) ?>
+</div>
--
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.com/group/qubit-commits?hl=en.