This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

disabled the findings dropdown and added some hover text.

  • Loading branch information...
Mark Wadham
Mark Wadham committed May 18, 2012
1 parent b69aba0 commit 934cddd1abf59c78a881a54011db10dd8ac24eb3
Showing with 10 additions and 2 deletions.
  1. +5 −1 views/default/create_ElementLetter.php
  2. +5 −1 views/default/update_ElementLetter.php
@@ -75,7 +75,11 @@
<div class="row">
<span class="left">
<?php foreach ($element->stringgroups as $string_group) {?>
- <?php echo $form->dropDownListNoPost(strtolower($string_group->name), $string_group->strings, '', array('empty' => '- '.$string_group->name.' -', 'nowrapper' => true, 'class' => 'stringgroup'))?>
+ <?php if ($string_group->name == 'Findings') {?>
+ <?php echo $form->dropDownListNoPost(strtolower($string_group->name), $string_group->strings, '', array('empty' => '- '.$string_group->name.' -', 'nowrapper' => true, 'class' => 'stringgroup', 'title' => 'Findings will be available with the upcoming Examination module', 'disabled' => true))?>
+ <?php }else{?>
+ <?php echo $form->dropDownListNoPost(strtolower($string_group->name), $string_group->strings, '', array('empty' => '- '.$string_group->name.' -', 'nowrapper' => true, 'class' => 'stringgroup'))?>
+ <?php }?>
<?php }?>
</span>
<span class="right">
@@ -75,7 +75,11 @@
<div class="row">
<span class="left">
<?php foreach ($element->stringgroups as $string_group) {?>
- <?php echo $form->dropDownListNoPost(strtolower($string_group->name), $string_group->strings, '', array('empty' => '- '.$string_group->name.' -', 'nowrapper' => true, 'class' => 'stringgroup'))?>
+ <?php if ($string_group->name == 'Findings') {?>
+ <?php echo $form->dropDownListNoPost(strtolower($string_group->name), $string_group->strings, '', array('empty' => '- '.$string_group->name.' -', 'nowrapper' => true, 'class' => 'stringgroup', 'title' => 'Findings will be available with the upcoming Examination module', 'disabled' => true))?>
+ <?php }else{?>
+ <?php echo $form->dropDownListNoPost(strtolower($string_group->name), $string_group->strings, '', array('empty' => '- '.$string_group->name.' -', 'nowrapper' => true, 'class' => 'stringgroup'))?>
+ <?php }?>
<?php }?>
</span>
<span class="right">

0 comments on commit 934cddd

Please sign in to comment.