quantity acronyms

tracerhand - March 27, 2009 - 00:56
Project:Recipe
Version:6.x-1.x-dev
Component:User interface
Category:feature request
Priority:minor
Assigned:Unassigned
Status:active
Description

Does anyone besides me find these confusing sometimes? It might be nice to have the option of turning these on or off.

#1

tlogan - September 9, 2009 - 03:22

I'd like to see an option to turn them off as well. As a quick fix modify line 1461 to not display the abbreviations on the view page.

before:

        $ingredients[] = $ingredient->quantity .' <acronym title="'. recipe_unit_name($ingredient->unit_id) .'">'. $ingredient->abbreviation .'</acronym> '. $ingredient->name;

after:

        $ingredients[] = $ingredient->quantity . ' ' . recipe_unit_name($ingredient->unit_id) . ' '. $ingredient->name;

 
 

Drupal is a registered trademark of Dries Buytaert.