Author: sevein
Date: Mon Sep 19 17:12:50 2011
New Revision: 9762

Log:
Tooltips for accession/deaccession edit forms, see issue 2074

Modified:
   trunk/plugins/qtAccessionPlugin/modules/accession/templates/editSuccess.php
   trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/editSuccess.php

Modified: 
trunk/plugins/qtAccessionPlugin/modules/accession/templates/editSuccess.php
==============================================================================
--- trunk/plugins/qtAccessionPlugin/modules/accession/templates/editSuccess.php 
Mon Sep 19 16:38:55 2011        (r9761)
+++ trunk/plugins/qtAccessionPlugin/modules/accession/templates/editSuccess.php 
Mon Sep 19 17:12:50 2011        (r9762)
@@ -13,17 +13,21 @@
   <?php echo $form->renderHiddenFields() ?>
 
   <?php echo $form->identifier
+    ->help(__('Accession number should be a combination of values recorded in 
the field and should be a unique accession number for the repository'))
     ->label(__('Accession number'))
     ->renderRow() ?>
 
   <?php echo $form->date
+    ->help(__('Accession date represents the date of receipt of the materials 
and is added during the donation process.'))
     ->label(__('Acquisition date').' <span class="form-required" 
title="'.__('This is a mandatory element.').'">*</span>')
     ->renderRow(array('class' => 'date-widget', 'icon' => 
image_path('calendar.png'))) ?>
 
   <?php echo render_field($form->sourceOfAcquisition
+    ->help(__('Identify immediate source of acquisition or transfer, and date 
and method of acquisition IF the information is NOT confidential.'))
     ->label(__('Source of acquisition').' <span class="form-required" 
title="'.__('This is a mandatory element.').'">*</span>'), $resource, 
array('class' => 'resizable')) ?>
 
   <?php echo render_field($form->locationInformation
+    ->help(__('A description of the physical location in the repository where 
the accession can be found.'))
     ->label(__('Location information').' <span class="form-required" 
title="'.__('This is a mandatory element.').'">*</span>'), $resource, 
array('class' => 'resizable')) ?>
 
   <fieldset class="collapsible collapsed" id="donorArea">
@@ -38,37 +42,54 @@
 
     <legend><?php echo __('Administrative area') ?></legend>
 
-    <?php echo $form->acquisitionType->renderRow() ?>
+    <?php echo $form->acquisitionType
+      ->help(__('Term describing the type of accession transaction and 
referring to the way in which the accession was acquired.'))
+      ->renderRow() ?>
+
+    <?php echo $form->resourceType
+      ->help(__('Select the type of resource represented in the accession, 
either public or private.'))
+      ->renderRow() ?>
 
-    <?php echo $form->resourceType->renderRow() ?>
-
-    <?php echo render_field($form->title, $resource) ?>
+    <?php echo render_field($form->title
+      ->help(__('The title of the accession, usually the creator name and term 
describing the format of the accession materials.')), $resource) ?>
 
     <div class="form-item">
       <?php echo $form->creators
         ->label(__('Creators'))
         ->renderLabel() ?>
       <?php echo $form->creators->render(array('class' => 
'form-autocomplete')) ?>
+      <?php echo $form->creators
+        ->help(__('The name of the creator of the accession or the name of the 
department that created the accession.'))
+        ->renderHelp() ?>
       <?php if (QubitAcl::check(QubitActor::getRoot(), 'create')): ?>
         <input class="add" type="hidden" value="<?php echo 
url_for(array('module' => 'actor', 'action' => 'add')) ?> 
#authorizedFormOfName"/>
       <?php endif; ?>
       <input class="list" type="hidden" value="<?php echo 
url_for(array('module' => 'actor', 'action' => 'autocomplete', 'showOnlyActors' 
=> 'true')) ?>"/>
     </div>
 
-    <?php echo render_field($form->archivalHistory, $resource, array('class' 
=> 'resizable')) ?>
+    <?php echo render_field($form->archivalHistory
+      ->help(__('Information on the history of the accession. When the the 
accession is acquired directly from the creator, do not record an archival 
history but record the information as the Immediate Source of Acquisition.')), 
$resource, array('class' => 'resizable')) ?>
 
-    <?php echo render_field($form->scopeAndContent, $resource, array('class' 
=> 'resizable')) ?>
+    <?php echo render_field($form->scopeAndContent
+      ->help(__('A description of the intellectual content and document types 
represented in the accession.')), $resource, array('class' => 'resizable')) ?>
 
     <?php echo render_field($form->physicalCharacteristics
+      ->help(__('A description of the physical condition of the accession and 
if any preservation or special handling is required.'))
       ->label(__('Physical condition')), $resource, array('class' => 
'resizable')) ?>
 
-    <?php echo render_field($form->receivedExtentUnits, $resource) ?>
-
-    <?php echo $form->processingStatus->renderRow() ?>
+    <?php echo render_field($form->receivedExtentUnits
+      ->help(__('The number of units as a whole number and the measurement of 
the received volume of records in the accession.')), $resource) ?>
 
-    <?php echo $form->processingPriority->renderRow() ?>
+    <?php echo $form->processingStatus
+      ->help(__('An indicator of the accessioning process.'))
+      ->renderRow() ?>
+
+    <?php echo $form->processingPriority
+      ->help(__('Indicates the priority the repository assigns to completing 
the processing of the accession.'))
+      ->renderRow() ?>
 
-    <?php echo render_field($form->processingNotes, $resource, array('class' 
=> 'resizable')) ?>
+    <?php echo render_field($form->processingNotes
+      ->help(__('Notes about the processing plan, describing what needs to be 
done for the accession to be processed completely.')), $resource, array('class' 
=> 'resizable')) ?>
 
   </fieldset>
 

Modified: 
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/editSuccess.php
==============================================================================
--- 
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/editSuccess.php   
    Mon Sep 19 16:38:55 2011        (r9761)
+++ 
trunk/plugins/qtAccessionPlugin/modules/deaccession/templates/editSuccess.php   
    Mon Sep 19 17:12:50 2011        (r9762)
@@ -17,19 +17,24 @@
     ->renderRow() ?>
 
   <?php echo $form->scope
+    ->help(__('Identify if the whole accession is being deaccessioned or if 
only a part of the accession is being deaccessioned.'))
     ->label(__('Scope').' <span class="form-required" title="'.__('This is a 
mandatory element.').'">*</span>')
     ->renderRow() ?>
 
   <?php echo $form->date
+    ->help(__('Date of deaccession'))
     ->label(__('Date').' <span class="form-required" title="'.__('This is a 
mandatory element.').'">*</span>')
     ->renderRow(array('class' => 'date-widget', 'icon' => 
image_path('calendar.png'))) ?>
 
   <?php echo render_field($form->description
+    ->help(__('Identify what materials are being deaccessioned.'))
     ->label(__('Description').' <span class="form-required" title="'.__('This 
is a mandatory element.').'">*</span>'), $resource, array('class' => 
'resizable')) ?>
 
-  <?php echo render_field($form->extent, $resource, array('class' => 
'resizable')) ?>
+  <?php echo render_field($form->extent
+    ->help(__('The number of units as a whole number and the measurement of 
the records to be deaccessioned.')), $resource, array('class' => 'resizable')) 
?>
 
-  <?php echo render_field($form->reason, $resource, array('class' => 
'resizable')) ?>
+  <?php echo render_field($form->reason
+    ->help(__('Provide a reason why the records are being deaccessioned.')), 
$resource, array('class' => 'resizable')) ?>
 
   <div class="actions section">
 

-- 
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.

Reply via email to